Function at 0x43fc90
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 0x43fcd6
pop edi
mov eax, 0x40000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebx + 0x2c], 0
je 0x43fcf3
pop edi
mov eax, 0x50000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov dword [ebp - 0x5d8], eax
cmp dword [ebx], eax
je 0x43fd10
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 0x43fd20
mov ax, word [ebp - 0x238]
push esi
test ax, ax
je 0x440921
lea ecx, [ebp - 0x238]
movzx edx, ax
mov esi, 0x2f
nop
cmp dx, 0x5c
jne 0x43fd59
mov word [ecx], si
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x43fd50
cmp edi, 4
jne 0x43fd95
lea ecx, [ebp - 0x238]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fd75
sub ecx, edx
mov byte [ebp - 0x5b9], 1
sar ecx, 1
cmp word [ebp + ecx*2 - 0x23a], si
jne 0x43fd9c
mov byte [ebp - 0x5b9], 0
mov dword [ebp - 0x5d4], 8
cmp edi, 4
je 0x43fe99
lea ecx, [ebp - 0x238]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fdc0
sub ecx, edx
lea esi, [ebp - 0x238]
sar ecx, 1
lea eax, [ebp - 0x238]
lea esi, [esi + ecx*2]
cmp esi, eax
jbe 0x43fdf5
cmp word [esi], 0x2e
je 0x43fdf5
sub esi, 2
lea eax, [ebp - 0x238]
cmp esi, eax
ja 0x43fde2
lea eax, [ebp - 0x238]
cmp esi, eax
jne 0x43fe09
cmp word [esi], 0x2e
jne 0x43fea1
push 0x4fc018
push esi
call fcn.0048affe
add esp, 8
test eax, eax
je 0x43fe99
push str..zip
push esi
call fcn.0048affe
add esp, 8
test eax, eax
je 0x43fe99
push str..zoo
push esi
call fcn.0048affe
add esp, 8
test eax, eax
je 0x43fe99
push str..arc
push esi
call fcn.0048affe
add esp, 8
test eax, eax
je 0x43fe99
push str..lzh
push esi
call fcn.0048affe
add esp, 8
test eax, eax
je 0x43fe99
push str..arj
push esi
call fcn.0048affe
add esp, 8
test eax, eax
je 0x43fe99
push 0x4fc05c
push esi
call fcn.0048affe
add esp, 8
test eax, eax
je 0x43fe99
push str..tgz
push esi
call fcn.0048affe
add esp, 8
test eax, eax
jne 0x43fea1
xor eax, eax
mov dword [ebp - 0x5d4], eax
cmp edi, 2
jne 0x43ff4b
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 0x43ffe1
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 0x43ff26
mov esi, 0x200
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret 0x10
push 0
push edi
mov ecx, ebx
call fcn.0043f2b0
mov esi, eax
test esi, esi
je 0x43ff3f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43ff62
mov byte [ebx + 0x80], 1
jmp 0x440123
cmp edi, 1
jne 0x43ff7f
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x5c4]
call fcn.0043f2b0
mov esi, eax
test esi, esi
je 0x440123
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 3
jne 0x43fffb
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 0x43ffe1
test ecx, ecx
je 0x43ffe1
mov dword [ebx + 0x4c], SysStringLen
mov dword [ebx + 0x70], ecx
mov byte [ebx + 0x6c], 1
jmp 0x440046
mov esi, 0x10000
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 4
jne 0x440921
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.004d8110
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 0x440163
sub ecx, edx
mov dword [ebp - 0x5a0], ecx
cmp byte [ebp - 0x5b9], al
je 0x44019a
lea edi, [ebp - 0x470]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x440181
mov ax, word [0x4fc070]
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 0x440212
cmp dword [ebp + 0x14], 4
je 0x440212
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 0x44024a
test ecx, ecx
js 0x44024a
mov eax, dword [ebp - 0x5d8]
add eax, ecx
mov dword [ebp - 0x5a8], eax
jmp 0x440254
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.0043dd30
add esp, 4
test eax, eax
je 0x440373
mov ecx, ebx
call fcn.0043f750
pop esi
pop edi
mov eax, 0x400
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
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 0x4403a8
mov ecx, ebx
call fcn.0043f750
mov eax, dword [ebx + 0x14]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
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 0x4403d7
mov dl, byte [esi]
test dl, dl
je 0x4403d7
mov ecx, edi
call fcn.0043e810
add esi, 1
jne 0x4403c5
cmp byte [0x510503], 0
jne 0x4403f9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
push esi
call fcn.004afd39
add esp, 4
xor esi, esi
nop dword [eax + eax]
call fcn.004afd18
sar eax, 7
mov byte [ebp + esi - 0x30], al
inc esi
cmp esi, 0xc
jl 0x440400
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 + 0x4f8110]
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 + 0x4f8110]
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 0x440420
mov ebx, dword [ebp - 0x5dc]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x4404b7
cmp esi, 4
je 0x4404b7
push 0xc
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0043ef90
add dword [ebx + 0x18], 0xc
mov eax, dword [ebx]
xor edi, edi
test eax, eax
je 0x4404c6
cmp esi, 4
je 0x4404c6
mov al, 1
jmp 0x4404c8
xor al, al
mov byte [ebx + 0x2d], al
cmp esi, 4
je 0x44055c
mov eax, dword [ebp - 0x5d4]
cmp eax, 8
jne 0x4404f1
lea eax, [ebp - 0x5b8]
mov ecx, ebx
push eax
call fcn.0043f7b0
mov edi, eax
jmp 0x440562
test eax, eax
jne 0x440562
mov dword [ebp - 0x5c4], edi
mov ecx, ebx
push 0x4000
lea edi, [ebx + 0x94]
push edi
call fcn.0043f690
mov esi, eax
test esi, esi
je 0x44053f
cmp esi, 0xffffffff
je 0x44053f
push esi
push edi
mov ecx, ebx
call fcn.0043ef90
cmp eax, esi
jne 0x440552
add dword [ebp - 0x5c4], esi
mov ecx, ebx
push 0x4000
push edi
call fcn.0043f690
mov esi, eax
test esi, esi
jne 0x440514
mov eax, dword [ebp - 0x5c4]
xor edi, edi
mov esi, dword [ebp + 0x14]
mov dword [ebx + 0x90], eax
jmp 0x440562
mov esi, dword [ebp + 0x14]
mov edi, 0x60000
jmp 0x440562
mov dword [ebx + 0x90], edi
cmp byte [ebx + 0x80], 0
mov byte [ebx + 0x2d], 0
je 0x44057d
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x44057d
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 0x440926
test edi, edi
jne 0x44035b
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 0x440669
cmp dword [ebx], edi
je 0x4405e5
cmp esi, 4
jne 0x440669
mov eax, dword [ebp - 0x5cc]
mov word [ebp - 0x5b2], ax
mov ax, word [ebp - 0x5b4]
test al, 1
jne 0x44060c
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.0043f0e0
test al, al
je 0x440651
push ebx
lea ecx, [ebp - 0x5b8]
call fcn.0043dd30
add esp, 4
test eax, eax
jne 0x44035b
push dword [ebx + 0x18]
mov ecx, ebx
call fcn.0043f0e0
test al, al
jne 0x44086b
pop esi
pop edi
mov eax, 0x2000000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x5cc]
cmp word [ebp - 0x5b2], ax
jne 0x440909
cmp dword [ebp - 0x5d4], 0
jne 0x440692
cmp byte [ebp - 0x5b9], 0
je 0x440909
push 1
lea eax, [ebp - 0x5ba]
mov byte [ebp - 0x5ba], 0x50
push eax
mov ecx, ebx
call fcn.0043ef90
push 1
lea eax, [ebp - 0x5ba]
mov byte [ebp - 0x5ba], 0x4b
push eax
mov ecx, ebx
call fcn.0043ef90
push 1
lea eax, [ebp - 0x5bb]
mov byte [ebp - 0x5bb], 7
push eax
mov ecx, ebx
call fcn.0043ef90
push 1
lea eax, [ebp - 0x5bb]
mov byte [ebp - 0x5bb], 8
push eax
mov ecx, ebx
call fcn.0043ef90
mov al, byte [ebp - 0x5ac]
mov ecx, ebx
mov byte [ebp - 0x5bc], al
lea eax, [ebp - 0x5bc]
push 1
push eax
call fcn.0043ef90
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.0043ef90
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.0043ef90
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.0043ef90
mov al, byte [ebp - 0x5a8]
mov ecx, ebx
mov byte [ebp - 0x5be], al
lea eax, [ebp - 0x5be]
push 1
push eax
call fcn.0043ef90
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.0043ef90
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.0043ef90
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.0043ef90
mov al, byte [ebp - 0x5a4]
mov ecx, ebx
mov byte [ebp - 0x5c0], al
lea eax, [ebp - 0x5c0]
push 1
push eax
call fcn.0043ef90
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.0043ef90
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.0043ef90
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.0043ef90
mov ax, word [ebp - 0x58c]
add dword [ebx + 0x18], 0x10
mov word [ebp - 0x5b4], ax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x440926
push dword [ebp - 0x598]
call fcn.0047d6e4
push dword [ebp - 0x598]
mov esi, eax
push dword [ebp - 0x478]
push esi
call fcn.0047e6d0
push 0x360
mov dword [ebp - 0x478], esi
call fcn.0047cd8f
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 0x4408d8
pop esi
pop edi
mov dword [ebx + 0x44], edx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ecx + 0x35c]
test eax, eax
je 0x4408ee
mov ecx, eax
mov eax, dword [ecx + 0x35c]
test eax, eax
jne 0x4408e2
pop esi
pop edi
mov dword [ecx + 0x35c], edx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047cdd2
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.0047cdd2
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.0047cdd2
mov esp, ebp
pop ebp
ret 0x10