Function at 0x43fe70
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5dc
mov eax, dword [0x50d080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x5c4], eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x5dc], ebx
cmp dword [ebx + 0x14], 0
je 0x43feb6
pop edi
mov eax, 0x40000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebx + 0x2c], 0
je 0x43fed3
pop edi
mov eax, 0x50000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov dword [ebp - 0x5d8], eax
cmp dword [ebx], eax
je 0x43fef0
cmp edi, 4
mov ecx, 0xc
cmovne eax, ecx
mov dword [ebp - 0x5d8], eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x238]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x43ff00
mov ax, word [ebp - 0x238]
push esi
test ax, ax
je 0x440b01
lea ecx, [ebp - 0x238]
movzx edx, ax
mov esi, 0x2f
nop
cmp dx, 0x5c
jne 0x43ff39
mov word [ecx], si
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43ff30
cmp edi, 4
jne 0x43ff75
lea ecx, [ebp - 0x238]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ff55
sub ecx, edx
mov byte [ebp - 0x5b9], 1
sar ecx, 1
cmp word [ebp + ecx*2 - 0x23a], si
jne 0x43ff7c
mov byte [ebp - 0x5b9], 0
mov dword [ebp - 0x5d4], 8
cmp edi, 4
je 0x440079
lea ecx, [ebp - 0x238]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ffa0
sub ecx, edx
lea esi, [ebp - 0x238]
sar ecx, 1
lea eax, [ebp - 0x238]
lea esi, [esi + ecx*2]
cmp esi, eax
jbe 0x43ffd5
cmp word [esi], 0x2e
je 0x43ffd5
sub esi, 2
lea eax, [ebp - 0x238]
cmp esi, eax
ja 0x43ffc2
lea eax, [ebp - 0x238]
cmp esi, eax
jne 0x43ffe9
cmp word [esi], 0x2e
jne 0x440081
push 0x4fbf58
push esi
call fcn.0048b1ae
add esp, 8
test eax, eax
je 0x440079
push str..zip
push esi
call fcn.0048b1ae
add esp, 8
test eax, eax
je 0x440079
push str..zoo
push esi
call fcn.0048b1ae
add esp, 8
test eax, eax
je 0x440079
push str..arc
push esi
call fcn.0048b1ae
add esp, 8
test eax, eax
je 0x440079
push str..lzh
push esi
call fcn.0048b1ae
add esp, 8
test eax, eax
je 0x440079
push str..arj
push esi
call fcn.0048b1ae
add esp, 8
test eax, eax
je 0x440079
push 0x4fbf9c
push esi
call fcn.0048b1ae
add esp, 8
test eax, eax
je 0x440079
push str..tgz
push esi
call fcn.0048b1ae
add esp, 8
test eax, eax
jne 0x440081
xor eax, eax
mov dword [ebp - 0x5d4], eax
cmp edi, 2
jne 0x44012b
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 0x4401c1
push 0
push 0
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x440106
mov esi, 0x200
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
mov esp, ebp
pop ebp
ret 0x10
push 0
push edi
mov ecx, ebx
call fcn.0043f490
mov esi, eax
test esi, esi
je 0x44011f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x440142
mov byte [ebx + 0x80], 1
jmp 0x440303
cmp edi, 1
jne 0x44015f
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x5c4]
call fcn.0043f490
mov esi, eax
test esi, esi
je 0x440303
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 3
jne 0x4401db
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 0x4401c1
test ecx, ecx
je 0x4401c1
mov dword [ebx + 0x4c], SysStringLen
mov dword [ebx + 0x70], ecx
mov byte [ebx + 0x6c], 1
jmp 0x440226
mov esi, 0x10000
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 4
jne 0x440b01
mov dword [ebx + 0x7c], 0
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
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x5d0]
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x5c8], eax
mov eax, dword [ebp - 0x5cc]
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 - 0x248]
mov eax, dword [ebp - 0x246]
and eax, 0xf
push 0
lea ecx, [ecx - 0x3c]
shl ecx, 4
or ecx, eax
mov eax, dword [ebp - 0x242]
and eax, 0x1f
shl ecx, 5
or ecx, eax
mov eax, dword [ebp - 0x240]
movzx edi, cx
mov ecx, dword [ebp - 0x23e]
shl eax, 6
and ecx, 0x3f
or ecx, eax
mov eax, dword [ebp - 0x23c]
add eax, eax
shl ecx, 5
and eax, 0x1f
or ecx, eax
mov eax, dword [ebp - 0x5cc]
movzx esi, cx
mov ecx, dword [ebp - 0x5d0]
sub ecx, 0xd53e8000
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.004d82d0
mov ecx, edi
mov dword [ebx + 0x64], edx
shl ecx, 0x10
or ecx, esi
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x50], eax
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 0xfde9
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 0x440343
sub ecx, edx
mov dword [ebp - 0x5a0], ecx
cmp byte [ebp - 0x5b9], al
je 0x44037a
lea edi, [ebp - 0x470]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x440361
mov ax, word [0x4fbfb0]
mov word [edi], ax
inc dword [ebp - 0x5a0]
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 0x4403f2
cmp dword [ebp + 0x14], 4
je 0x4403f2
mov eax, 9
mov word [ebp - 0x5b4], ax
mov word [ebp - 0x58c], ax
mov eax, dword [ebp - 0x5d4]
movzx ecx, ax
mov dword [ebp - 0x5cc], ecx
mov word [ebp - 0x5b2], cx
mov ecx, dword [ebx + 0x70]
test eax, eax
jne 0x44042a
test ecx, ecx
js 0x44042a
mov eax, dword [ebp - 0x5d8]
add eax, ecx
mov dword [ebp - 0x5a8], eax
jmp 0x440434
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 + 0x18]
add eax, dword [ebx + 0x10]
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
mov dword [ebp - 0x18], 0xd5455
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 byte [ebp - 0x14], 7
mov byte [ebp - 0xe], cl
mov ecx, dword [ebx + 0x50]
shrd ecx, eax, 0x10
mov eax, dword [ebx + 0x50]
movq xmm0, qword [ebp - 0x18]
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
movq qword [ebp - 0x24], xmm0
mov byte [ebp - 0xa], cl
mov ecx, dword [ebx + 0x60]
shrd ecx, eax, 0x10
mov eax, dword [ebx + 0x60]
shrd eax, edx, 0x18
mov byte [ebp - 9], cl
lea ecx, [ebp - 0x5b8]
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x5c4]
push ebx
mov dword [ebp - 0x59c], 0x11
mov dword [ebp - 0x598], 9
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x22], 5
call fcn.0043df10
add esp, 4
test eax, eax
je 0x440553
mov ecx, ebx
call fcn.0043f930
pop esi
pop edi
mov eax, 0x400
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
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
cmp dword [ebx + 0x14], 0
je 0x440588
mov ecx, ebx
call fcn.0043f930
mov eax, dword [ebx + 0x14]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
mov esp, ebp
pop ebp
ret 0x10
lea edi, [ebx + 0x30]
mov dword [ebx + 0x34], 0x23456789
mov dword [edi], 0x12345678
mov dword [ebx + 0x38], 0x34567890
mov esi, dword [ebx]
test esi, esi
je 0x4405b7
mov dl, byte [esi]
test dl, dl
je 0x4405b7
mov ecx, edi
call fcn.0043e9f0
add esi, 1
jne 0x4405a5
cmp byte [0x510503], 0
jne 0x4405d9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
push esi
call fcn.004afee9
add esp, 4
xor esi, esi
nop dword [eax + eax]
call fcn.004afec8
sar eax, 7
mov byte [ebp + esi - 0x30], al
inc esi
cmp esi, 0xc
jl 0x4405e0
mov eax, dword [ebp - 0x5b0]
shr eax, 8
xor ebx, ebx
mov byte [ebp - 0x25], al
mov al, byte [ebp + ebx - 0x30]
mov ecx, dword [edi]
mov byte [ebp - 0x5b9], al
movsx eax, al
xor eax, ecx
mov edx, dword [edi + 8]
movzx eax, al
mov esi, edx
shr ecx, 8
and esi, 0xfffd
or esi, 2
mov eax, dword [eax*4 + 0x4f8050]
xor eax, ecx
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x4f8050]
mov eax, esi
xor eax, 1
mov dword [edi + 8], edx
imul eax, esi
shr eax, 8
xor al, byte [ebp - 0x5b9]
mov byte [ebp + ebx - 0x30], al
inc ebx
cmp ebx, 0xc
jl 0x440600
mov ebx, dword [ebp - 0x5dc]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x440697
cmp esi, 4
je 0x440697
push 0xc
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0043f170
add dword [ebx + 0x18], 0xc
mov eax, dword [ebx]
xor edi, edi
test eax, eax
je 0x4406a6
cmp esi, 4
je 0x4406a6
mov al, 1
jmp 0x4406a8
xor al, al
mov byte [ebx + 0x2d], al
cmp esi, 4
je 0x44073c
mov eax, dword [ebp - 0x5d4]
cmp eax, 8
jne 0x4406d1
lea eax, [ebp - 0x5b8]
mov ecx, ebx
push eax
call fcn.0043f990
mov edi, eax
jmp 0x440742
test eax, eax
jne 0x440742
mov dword [ebp - 0x5c4], edi
mov ecx, ebx
push 0x4000
lea edi, [ebx + 0x94]
push edi
call fcn.0043f870
mov esi, eax
test esi, esi
je 0x44071f
cmp esi, 0xffffffff
je 0x44071f
push esi
push edi
mov ecx, ebx
call fcn.0043f170
cmp eax, esi
jne 0x440732
add dword [ebp - 0x5c4], esi
mov ecx, ebx
push 0x4000
push edi
call fcn.0043f870
mov esi, eax
test esi, esi
jne 0x4406f4
mov eax, dword [ebp - 0x5c4]
xor edi, edi
mov esi, dword [ebp + 0x14]
mov dword [ebx + 0x90], eax
jmp 0x440742
mov esi, dword [ebp + 0x14]
mov edi, 0x60000
jmp 0x440742
mov dword [ebx + 0x90], edi
cmp byte [ebx + 0x80], 0
mov byte [ebx + 0x2d], 0
je 0x44075d
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x44075d
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 0x440b06
test edi, edi
jne 0x44053b
add ecx, dword [ebp - 0x5d8]
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 0x440849
cmp dword [ebx], edi
je 0x4407c5
cmp esi, 4
jne 0x440849
mov eax, dword [ebp - 0x5cc]
mov word [ebp - 0x5b2], ax
mov ax, word [ebp - 0x5b4]
test al, 1
jne 0x4407ec
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.0043f2c0
test al, al
je 0x440831
push ebx
lea ecx, [ebp - 0x5b8]
call fcn.0043df10
add esp, 4
test eax, eax
jne 0x44053b
push dword [ebx + 0x18]
mov ecx, ebx
call fcn.0043f2c0
test al, al
jne 0x440a4b
pop esi
pop edi
mov eax, 0x2000000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x5cc]
cmp word [ebp - 0x5b2], ax
jne 0x440ae9
cmp dword [ebp - 0x5d4], 0
jne 0x440872
cmp byte [ebp - 0x5b9], 0
je 0x440ae9
push 1
lea eax, [ebp - 0x5ba]
mov byte [ebp - 0x5ba], 0x50
push eax
mov ecx, ebx
call fcn.0043f170
push 1
lea eax, [ebp - 0x5ba]
mov byte [ebp - 0x5ba], 0x4b
push eax
mov ecx, ebx
call fcn.0043f170
push 1
lea eax, [ebp - 0x5bb]
mov byte [ebp - 0x5bb], 7
push eax
mov ecx, ebx
call fcn.0043f170
push 1
lea eax, [ebp - 0x5bb]
mov byte [ebp - 0x5bb], 8
push eax
mov ecx, ebx
call fcn.0043f170
mov al, byte [ebp - 0x5ac]
mov ecx, ebx
mov byte [ebp - 0x5bc], al
lea eax, [ebp - 0x5bc]
push 1
push eax
call fcn.0043f170
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.0043f170
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.0043f170
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.0043f170
mov al, byte [ebp - 0x5a8]
mov ecx, ebx
mov byte [ebp - 0x5be], al
lea eax, [ebp - 0x5be]
push 1
push eax
call fcn.0043f170
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.0043f170
mov eax, dword [ebp - 0x5a8]
mov ecx, ebx
shr eax, 0x10
mov byte [ebp - 0x5bf], al
lea eax, [ebp - 0x5bf]
push 1
push eax
call fcn.0043f170
mov eax, dword [ebp - 0x5a8]
shr eax, 0x18
mov byte [ebp - 0x5bf], al
push 1
lea eax, [ebp - 0x5bf]
mov ecx, ebx
push eax
call fcn.0043f170
mov al, byte [ebp - 0x5a4]
mov ecx, ebx
mov byte [ebp - 0x5c0], al
lea eax, [ebp - 0x5c0]
push 1
push eax
call fcn.0043f170
mov eax, dword [ebp - 0x5a4]
mov ecx, ebx
shr eax, 8
mov byte [ebp - 0x5c0], al
lea eax, [ebp - 0x5c0]
push 1
push eax
call fcn.0043f170
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.0043f170
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.0043f170
mov ax, word [ebp - 0x58c]
add dword [ebx + 0x18], 0x10
mov word [ebp - 0x5b4], ax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x440b06
push dword [ebp - 0x598]
call fcn.0047d896
push dword [ebp - 0x598]
mov esi, eax
push dword [ebp - 0x478]
push esi
call fcn.0047e880
push 0x360
mov dword [ebp - 0x478], esi
call fcn.0047cf41
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 0x440ab8
pop esi
pop edi
mov dword [ebx + 0x44], edx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx + 0x35c]
test eax, eax
je 0x440ace
mov ecx, eax
mov eax, dword [ecx + 0x35c]
test eax, eax
jne 0x440ac2
pop esi
pop edi
mov dword [ecx + 0x35c], edx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cf84
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.0047cf84
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.0047cf84
mov esp, ebp
pop ebp
ret 0x10