Function at 0x41eba0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5dc
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x5c4], eax
cmp dword [ebx + 0x14], 0
je 0x41ebdb
mov eax, 0x40000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebx + 0x2c], 0
je 0x41ebf7
mov eax, 0x50000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x5dc], eax
cmp dword [ebx], eax
je 0x41ec18
cmp edi, 4
mov ecx, 0xc
cmovne eax, ecx
mov dword [ebp - 0x5dc], eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x238]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x41ec23
mov ax, word [ebp - 0x238]
push esi
test ax, ax
je 0x41f9cf
lea ecx, [ebp - 0x238]
movzx edx, ax
mov esi, 0x2f
cmp dx, 0x5c
jne 0x41ec5b
mov word [ecx], si
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x41ec52
cmp edi, 4
jne 0x41ec9c
lea ecx, [ebp - 0x238]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ec77
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x23a], si
je 0x41ec9c
mov byte [ebp - 0x5b9], 1
jmp 0x41ed99
mov byte [ebp - 0x5b9], 0
mov dword [ebp - 0x5d8], 8
cmp edi, 4
je 0x41ed99
lea ecx, [ebp - 0x238]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ecc0
sub ecx, edx
lea esi, [ebp - 0x238]
sar ecx, 1
lea eax, [ebp - 0x238]
lea esi, [esi + ecx*2]
cmp esi, eax
jbe 0x41ecf5
cmp word [esi], 0x2e
je 0x41ed09
sub esi, 2
lea eax, [ebp - 0x238]
cmp esi, eax
ja 0x41ece2
lea eax, [ebp - 0x238]
cmp esi, eax
jne 0x41ed09
cmp word [esi], 0x2e
jne 0x41eda1
push 0x53e56c
push esi
call fcn.004fe0bb
add esp, 8
test eax, eax
je 0x41ed99
push str..zip
push esi
call fcn.004fe0bb
add esp, 8
test eax, eax
je 0x41ed99
push str..zoo
push esi
call fcn.004fe0bb
add esp, 8
test eax, eax
je 0x41ed99
push str..arc
push esi
call fcn.004fe0bb
add esp, 8
test eax, eax
je 0x41ed99
push str..lzh
push esi
call fcn.004fe0bb
add esp, 8
test eax, eax
je 0x41ed99
push str..arj
push esi
call fcn.004fe0bb
add esp, 8
test eax, eax
je 0x41ed99
push 0x53e5b0
push esi
call fcn.004fe0bb
add esp, 8
test eax, eax
je 0x41ed99
push str..tgz
push esi
call fcn.004fe0bb
add esp, 8
test eax, eax
jne 0x41eda1
xor eax, eax
mov dword [ebp - 0x5d8], eax
cmp edi, 2
jne 0x41ee67
mov eax, dword [ebp - 0x5c4]
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x84], 0
mov byte [ebx + 0x80], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x74], 0
test eax, eax
je 0x41ef9a
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x5c4], eax
cmp eax, 0xffffffff
jne 0x41ee2a
mov esi, 0x200
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
push 0
push eax
mov ecx, ebx
call fcn.0041ddb0
mov esi, eax
test esi, esi
je 0x41ee5b
push dword [ebp - 0x5c4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebx + 0x80], 1
jmp 0x41f0da
cmp edi, 1
jne 0x41ee99
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x5c4]
call fcn.0041ddb0
mov esi, eax
test esi, esi
je 0x41f0da
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 3
jne 0x41efb4
mov eax, dword [ebp - 0x5c4]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x84], eax
mov byte [ebx + 0x80], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x88], ecx
mov dword [ebx + 0x8c], 0
test eax, eax
je 0x41ef9a
test ecx, ecx
je 0x41ef9a
lea eax, [ebp - 0x248]
mov dword [ebx + 0x4c], SysReAllocStringLen
push eax
mov dword [ebx + 0x70], ecx
mov byte [ebx + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x5d4]
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x5c4]
push eax
push dword [ebp - 0x5d0]
push dword [ebp - 0x5d4]
call fcn.0041d620
mov ecx, dword [ebp - 0x5d4]
add esp, 0x10
mov eax, dword [ebp - 0x5d0]
sub ecx, 0xd53e8000
sbb eax, 0x19db1de
push 0
push 0x989680
push eax
push ecx
call fcn.004604a0
movzx ecx, word [ebp - 0x5c4]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], eax
movzx eax, word [ebp - 0x5cc]
shl ecx, 0x10
or ecx, eax
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x68], ecx
jmp 0x41f0da
mov esi, 0x10000
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 4
jne 0x41f9cf
lea eax, [ebp - 0x258]
mov dword [ebx + 0x7c], 0
push eax
mov dword [ebx + 0x84], 0
mov byte [ebx + 0x80], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x4c], 0x41c00010
mov dword [ebx + 0x70], 0
mov byte [ebx + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x5d4]
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x5d4]
mov dword [ebp - 0x5c8], eax
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x5c4], eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x5c8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [ebp - 0x5d4]
mov eax, dword [ebp - 0x5d0]
sub ecx, 0xd53e8000
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.004604a0
mov ecx, dword [ebp - 0x248]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x246]
lea ecx, [ecx - 0x3c]
and eax, 0xf
shl ecx, 4
or ecx, eax
mov dword [ebx + 0x54], edx
mov eax, dword [ebp - 0x242]
shl ecx, 5
and eax, 0x1f
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x64], edx
movzx edx, cx
mov ecx, dword [ebp - 0x23e]
or edx, eax
mov eax, dword [ebp - 0x240]
and ecx, 0x3f
shl eax, 6
or ecx, eax
shl edx, 0x10
shl ecx, 5
movzx eax, cx
or edx, eax
mov eax, dword [ebp - 0x23c]
add eax, eax
and eax, 0x1f
or edx, eax
mov dword [ebx + 0x68], edx
push 0
push 0
push 0x104
lea eax, [ebp - 0x470]
mov dword [ebp - 0x25c], 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x238]
mov byte [ebp - 0x580], 0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x470]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f117
sub ecx, edx
mov dword [ebp - 0x5a0], ecx
cmp byte [ebp - 0x5b9], al
je 0x41f151
lea edi, [ebp - 0x470]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x41f135
mov ax, word [0x53dc88]
mov word [edi], ax
inc dword [ebp - 0x5a0]
mov edi, dword [ebp + 0x14]
xor eax, eax
mov byte [ebp - 0x36c], 0
cmp dword [ebx], 0
mov word [ebp - 0x58e], ax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x5b0], eax
mov eax, 8
mov dword [ebp - 0x474], 0
mov dword [ebp - 0x594], 0
mov dword [ebp - 0x268], 1
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x5b8], 0x140b17
mov dword [ebp - 0x5ac], 0
mov word [ebp - 0x5b4], ax
je 0x41f1c8
cmp edi, 4
je 0x41f1c8
mov eax, 9
mov word [ebp - 0x5b4], ax
mov word [ebp - 0x58c], ax
mov eax, dword [ebp - 0x5d8]
movzx ecx, ax
mov dword [ebp - 0x5cc], ecx
mov word [ebp - 0x5b2], cx
test eax, eax
jne 0x41f200
mov ecx, dword [ebx + 0x70]
test ecx, ecx
js 0x41f200
mov eax, dword [ebp - 0x5dc]
add eax, ecx
mov dword [ebp - 0x5a8], eax
jmp 0x41f20d
mov ecx, dword [ebx + 0x70]
mov dword [ebp - 0x5a8], 0
xor eax, eax
mov edx, dword [ebx + 0x5c]
mov word [ebp - 0x590], ax
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x588], eax
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x18]
mov dword [ebp - 0x584], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x478], eax
mov al, byte [ebx + 0x58]
mov byte [ebp - 0x13], al
mov eax, edx
mov dword [ebp - 0x5a4], ecx
mov ecx, dword [ebx + 0x58]
shrd ecx, eax, 8
push ebx
mov byte [ebp - 0x12], cl
mov ecx, dword [ebx + 0x58]
shrd ecx, eax, 0x10
mov eax, dword [ebx + 0x58]
shrd eax, edx, 0x18
mov edx, dword [ebx + 0x54]
mov dword [ebp - 0x5c4], eax
mov byte [ebp - 0x10], al
mov al, byte [ebx + 0x50]
mov byte [ebp - 0xf], al
mov eax, edx
mov byte [ebp - 0x11], cl
mov ecx, dword [ebx + 0x50]
shrd ecx, eax, 8
mov dword [ebp - 0x18], 0xd5455
mov byte [ebp - 0xe], cl
mov ecx, dword [ebx + 0x50]
shrd ecx, eax, 0x10
mov eax, dword [ebx + 0x50]
shrd eax, edx, 0x18
mov edx, dword [ebx + 0x64]
mov byte [ebp - 0xc], al
mov al, byte [ebx + 0x60]
mov byte [ebp - 0xb], al
mov eax, edx
mov byte [ebp - 0xd], cl
mov ecx, dword [ebx + 0x60]
shrd ecx, eax, 8
mov byte [ebp - 0x14], 7
movq xmm0, qword [ebp - 0x18]
mov byte [ebp - 0xa], cl
mov ecx, dword [ebx + 0x60]
shrd ecx, eax, 0x10
mov eax, dword [ebx + 0x60]
shrd eax, edx, 0x18
push 0x41da70
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x5c4]
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x5b8]
movq qword [ebp - 0x24], xmm0
push eax
mov dword [ebp - 0x59c], 0x11
mov dword [ebp - 0x598], 9
mov byte [ebp - 9], cl
mov byte [ebp - 0x22], 5
call fcn.0041cad0
add esp, 0xc
test eax, eax
je 0x41f34f
cmp byte [ebx + 0x80], 0
je 0x41f32a
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x41f32a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x70], eax
pop esi
pop edi
mov eax, 0x400
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x59c]
add eax, 0x1e
add eax, dword [ebp - 0x5a0]
add dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41f3a2
cmp byte [ebx + 0x80], 0
je 0x41f382
mov ecx, dword [ebx + 0x7c]
test ecx, ecx
je 0x41f382
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x74]
pop esi
pop edi
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x70], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebx + 0x30], 0x12345678
mov dword [ebx + 0x34], 0x23456789
mov dword [ebx + 0x38], 0x34567890
mov edx, dword [ebx]
test edx, edx
je 0x41f40d
nop dword [eax]
mov al, byte [edx]
test al, al
je 0x41f40d
mov ecx, dword [ebx + 0x30]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x53e018]
xor eax, ecx
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x30], eax
movzx eax, al
add eax, dword [ebx + 0x34]
imul eax, eax, 0x8088405
inc eax
mov dword [ebx + 0x34], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x53e018]
mov dword [ebx + 0x38], ecx
add edx, 1
jne 0x41f3c0
cmp byte [0x57f3f0], 0
jne 0x41f42f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
push esi
call fcn.004fe305
add esp, 4
xor esi, esi
call fcn.004fe2e4
sar eax, 7
mov byte [ebp + esi - 0x30], al
inc esi
cmp esi, 0xc
jl 0x41f431
mov eax, dword [ebp - 0x5b0]
shr eax, 8
xor edi, edi
mov byte [ebp - 0x25], al
mov al, byte [ebp + edi - 0x30]
mov ecx, dword [ebx + 0x30]
mov byte [ebp - 0x5b9], al
movsx eax, al
xor eax, ecx
mov edx, dword [ebx + 0x38]
movzx eax, al
mov esi, edx
shr ecx, 8
and esi, 0xfffd
or esi, 2
mov eax, dword [eax*4 + 0x53e018]
xor eax, ecx
mov dword [ebx + 0x30], eax
movzx eax, al
add eax, dword [ebx + 0x34]
imul eax, eax, 0x8088405
inc eax
mov dword [ebx + 0x34], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x53e018]
mov eax, esi
xor eax, 1
mov dword [ebx + 0x38], edx
imul eax, esi
shr eax, 8
xor al, byte [ebp - 0x5b9]
mov byte [ebp + edi - 0x30], al
inc edi
cmp edi, 0xc
jl 0x41f451
mov eax, dword [ebx]
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x41f4e4
cmp edi, 4
je 0x41f4e4
push 0xc
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0041da90
add dword [ebx + 0x18], 0xc
mov eax, dword [ebx]
xor esi, esi
test eax, eax
je 0x41f4f5
cmp edi, 4
je 0x41f4f5
mov byte [ebx + 0x2d], 1
jmp 0x41f502
mov byte [ebx + 0x2d], 0
cmp edi, 4
je 0x41f601
mov eax, dword [ebp - 0x5d8]
cmp eax, 8
jne 0x41f522
lea eax, [ebp - 0x5b8]
mov ecx, ebx
push eax
call fcn.0041e260
mov esi, eax
jmp 0x41f607
test eax, eax
jne 0x41f607
mov dword [ebp - 0x5c4], eax
lea edi, [ebx + 0x94]
mov ecx, dword [ebx + 0x84]
mov edx, 0x4000
test ecx, ecx
je 0x41f582
mov eax, dword [ebx + 0x8c]
mov esi, dword [ebx + 0x88]
cmp eax, esi
jae 0x41f5ee
sub esi, eax
cmp esi, edx
cmova esi, edx
add eax, ecx
push esi
push eax
push edi
call fcn.004ebfd0
add dword [ebx + 0x8c], esi
add dword [ebx + 0x74], esi
push esi
push edi
push dword [ebx + 0x78]
call fcn.0041d340
add esp, 0x18
jmp 0x41f5b9
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x41f5e7
push 0
lea ecx, [ebp - 0x5d0]
push ecx
push 0x4000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f5ee
mov esi, dword [ebp - 0x5d0]
add dword [ebx + 0x74], esi
push esi
push edi
push dword [ebx + 0x78]
call fcn.0041d340
add esp, 0xc
mov dword [ebx + 0x78], eax
test esi, esi
je 0x41f5ee
cmp esi, 0xffffffff
je 0x41f5ee
push esi
push edi
mov ecx, ebx
call fcn.0041da90
cmp eax, esi
jne 0x41f5dd
add dword [ebp - 0x5c4], esi
jmp 0x41f536
mov edi, dword [ebp + 0x14]
mov esi, 0x60000
jmp 0x41f607
mov dword [ebx + 0x14], 0x1000000
mov eax, dword [ebp - 0x5c4]
xor esi, esi
mov edi, dword [ebp + 0x14]
mov dword [ebx + 0x90], eax
jmp 0x41f607
mov dword [ebx + 0x90], esi
cmp byte [ebx + 0x80], 0
mov byte [ebx + 0x2d], 0
je 0x41f622
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x41f622
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx + 0x90]
add dword [ebx + 0x18], ecx
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x74]
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x70], edx
test eax, eax
jne 0x41f9d4
test esi, esi
jne 0x41f337
add ecx, dword [ebp - 0x5dc]
cmp dword [ebp - 0x5a8], ecx
mov eax, dword [ebx + 0x78]
sete byte [ebp - 0x5b9]
mov dword [ebp - 0x5ac], eax
cmp byte [ebx + 0x1c], 0
mov dword [ebp - 0x5a8], ecx
mov dword [ebp - 0x5a4], edx
je 0x41f714
cmp dword [ebx], esi
je 0x41f68a
cmp edi, 4
jne 0x41f714
mov eax, dword [ebp - 0x5cc]
mov word [ebp - 0x5b2], ax
mov ax, word [ebp - 0x5b4]
test al, 1
jne 0x41f6b1
mov ecx, 0xfff7
and ax, cx
mov word [ebp - 0x5b4], ax
mov word [ebp - 0x58c], ax
mov ecx, ebx
mov eax, dword [ebp - 0x584]
sub eax, dword [ebx + 0x10]
push eax
call fcn.0041dbe0
test al, al
je 0x41f6fc
push ebx
lea eax, [ebp - 0x5b8]
push 0x41da70
push eax
call fcn.0041cad0
add esp, 0xc
test eax, eax
jne 0x41f337
push dword [ebx + 0x18]
mov ecx, ebx
call fcn.0041dbe0
test al, al
jne 0x41f916
pop esi
pop edi
mov eax, 0x2000000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x5cc]
cmp word [ebp - 0x5b2], ax
jne 0x41f9b7
cmp dword [ebp - 0x5d8], 0
jne 0x41f73d
cmp byte [ebp - 0x5b9], 0
je 0x41f9b7
push 1
lea eax, [ebp - 0x5ba]
mov byte [ebp - 0x5ba], 0x50
push eax
mov ecx, ebx
call fcn.0041da90
push 1
lea eax, [ebp - 0x5ba]
mov byte [ebp - 0x5ba], 0x4b
push eax
mov ecx, ebx
call fcn.0041da90
push 1
lea eax, [ebp - 0x5bb]
mov byte [ebp - 0x5bb], 7
push eax
mov ecx, ebx
call fcn.0041da90
push 1
lea eax, [ebp - 0x5bb]
mov byte [ebp - 0x5bb], 8
push eax
mov ecx, ebx
call fcn.0041da90
mov al, byte [ebp - 0x5ac]
mov ecx, ebx
mov byte [ebp - 0x5bc], al
lea eax, [ebp - 0x5bc]
push 1
push eax
call fcn.0041da90
mov eax, dword [ebp - 0x5ac]
mov ecx, ebx
shr eax, 8
mov byte [ebp - 0x5bc], al
lea eax, [ebp - 0x5bc]
push 1
push eax
call fcn.0041da90
mov eax, dword [ebp - 0x5ac]
mov ecx, ebx
shr eax, 0x10
mov byte [ebp - 0x5bd], al
lea eax, [ebp - 0x5bd]
push 1
push eax
call fcn.0041da90
mov eax, dword [ebp - 0x5ac]
mov ecx, ebx
shr eax, 0x18
mov byte [ebp - 0x5bd], al
lea eax, [ebp - 0x5bd]
push 1
push eax
call fcn.0041da90
mov al, byte [ebp - 0x5a8]
mov ecx, ebx
mov byte [ebp - 0x5be], al
lea eax, [ebp - 0x5be]
push 1
push eax
call fcn.0041da90
mov eax, dword [ebp - 0x5a8]
mov ecx, ebx
shr eax, 8
mov byte [ebp - 0x5be], al
lea eax, [ebp - 0x5be]
push 1
push eax
call fcn.0041da90
mov eax, dword [ebp - 0x5a8]
mov ecx, ebx
shr eax, 0x10
mov byte [ebp - 0x5c9], al
lea eax, [ebp - 0x5c9]
push 1
push eax
call fcn.0041da90
mov eax, dword [ebp - 0x5a8]
shr eax, 0x18
mov byte [ebp - 0x5c9], al
push 1
lea eax, [ebp - 0x5c9]
mov ecx, ebx
push eax
call fcn.0041da90
mov al, byte [ebp - 0x5a4]
mov ecx, ebx
mov byte [ebp - 0x5c1], al
lea eax, [ebp - 0x5c1]
push 1
push eax
call fcn.0041da90
mov eax, dword [ebp - 0x5a4]
mov ecx, ebx
shr eax, 8
mov byte [ebp - 0x5c1], al
lea eax, [ebp - 0x5c1]
push 1
push eax
call fcn.0041da90
mov eax, dword [ebp - 0x5a4]
mov ecx, ebx
shr eax, 0x10
mov byte [ebp - 0x5b9], al
lea eax, [ebp - 0x5b9]
push 1
push eax
call fcn.0041da90
mov eax, dword [ebp - 0x5a4]
mov ecx, ebx
shr eax, 0x18
mov byte [ebp - 0x5b9], al
lea eax, [ebp - 0x5b9]
push 1
push eax
call fcn.0041da90
mov ax, word [ebp - 0x58c]
add dword [ebx + 0x18], 0x10
mov word [ebp - 0x5b4], ax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x41f9d4
push dword [ebp - 0x598]
call fcn.0046048d
push dword [ebp - 0x598]
mov esi, eax
push dword [ebp - 0x478]
push esi
call fcn.004ebfd0
push 0x360
mov dword [ebp - 0x478], esi
call fcn.004603d4
mov edx, eax
lea esi, [ebp - 0x5b8]
mov ecx, 0xd8
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x44]
add esp, 0x14
test ecx, ecx
jne 0x41f983
pop esi
pop edi
mov dword [ebx + 0x44], edx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx + 0x35c]
test eax, eax
je 0x41f99c
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x35c]
test eax, eax
jne 0x41f990
pop esi
pop edi
mov dword [ecx + 0x35c], edx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
pop esi
pop edi
mov eax, 0x4000000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x10000
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00460412
mov esp, ebp
pop ebp
ret 0x10