Function at 0x404e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [0x41e5d0], esi
mov dword [0x41e5d4], esi
mov dword [0x41e5d8], esi
call fcn.00410290
push 0x800
mov dword [0x41e5c0], 0x80
call fcn.00410f41
add esp, 4
mov dword [0x41e5c8], eax
mov dword [0x41e5c4], esi
call fcn.0040ae90
mov eax, dword [0x41e54c]
mov dword [0x41e30c], eax
mov eax, dword [0x41e34c]
mov word [eax + 0x30], 0x3001
mov word [eax + 0x32], 0x20
mov dword [eax + 0x34], 0x41e5f0
mov ecx, dword [eax + 0x338]
mov dword [eax + 0x38], ecx
mov edx, dword [eax + 0x318]
lea ecx, [eax + 0x314]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x50], ecx
mov edx, dword [eax + 0x318]
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], 0x404db0
mov dword [eax + 0x6c], 0x404e20
mov dword [eax + 0x70], fcn.004016a0
mov dword [eax + 0x74], fcn.004017e0
mov dword [eax + 0x48], 0x41e308
mov dword [eax + 0x4c], 0x41e348
mov dword [eax + 0x40], 0x41e30c
mov dword [eax + 0x5c], fcn.00402d70
mov dword [eax + 0x60], fcn.00402de0
mov dword [eax + 0x64], fcn.00402ca0
mov dword [eax + 0x68], fcn.00402cf0
mov dword [eax + 0x78], esi
mov dword [eax + 0x8c], esi
mov dword [eax + 0x88], eax
mov dword [eax + 0x84], 0x41e334
mov dword [eax + 0x80], esi
mov dword [eax + 0x90], fcn.00401ff0
mov dword [eax + 0x94], 0x404d20
mov dword [eax + 0x98], fcn.0040b620
mov dword [eax + 0x9c], fcn.00401f90
mov dword [eax + 0xa0], 0x404d90
mov dword [eax + 0xac], fcn.00403210
mov dword [eax + 0xb0], fcn.004031a0
mov dword [eax + 0xb4], fcn.00403110
mov dword [eax + 0xb8], fcn.004032e0
mov dword [eax + 0xa4], fcn.00402e30
mov dword [eax + 0xa8], fcn.00402e90
mov dword [eax + 0xbc], fcn.004105c0
mov dword [eax + 0xc0], fcn.004105e0
mov dword [eax + 0xc4], fcn.00410620
mov dword [eax + 0xc8], fcn.00405a60
mov dword [eax + 0xcc], fcn.00405670
mov dword [eax + 0xd0], 0x40b1e0
mov dword [eax + 0xd4], fcn.00404d40
mov dword [eax + 0xd8], fcn.00404d60
mov dword [eax + 0xe0], fcn.0040b400
mov dword [eax + 0xe4], fcn.0040b4b0
mov dword [eax + 0xe8], fcn.0040b690
mov eax, 0x240
mov dword [0x41e318], esi
call fcn.00410400
mov edx, dword [0x41e34c]
mov dword [0x41e344], eax
mov dword [0x41e2f0], 0x12
xor edi, edi
lea ebx, [edx + 0x30]
lea ecx, [eax + 4]
mov ebp, 0x403bb0
mov word [ecx - 4], di
mov word [ecx - 2], si
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x18], esi
inc edi
add ecx, 0x20
cmp edi, 0x12
jl 0x405064
mov ecx, 0x403da0
mov dword [eax + 0x2c], ecx
mov dword [eax + 0xac], ecx
mov dword [eax + 0x1ec], 0x4041d0
mov dword [eax + 0x16c], 0x4040f0
mov dword [eax + 0x1d0], 0x404b40
mov ecx, dword [eax + 0x104]
mov dword [0x41e508], ecx
mov ecx, dword [eax + 0x108]
mov edi, dword [ecx + 0x18]
mov dword [0x41e50c], ecx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x10c], 0x409240
mov dword [eax + 0x114], 0x40a5b0
mov dword [0x41e51c], ecx
mov ecx, 0x409d20
mov dword [eax + 0x1b0], ecx
mov dword [eax + 0x1b0], ecx
mov dword [0x41e504], edi
mov dword [eax + 0x18c], 0x403c20
mov dword [eax + 0x190], 0x403c60
lea edi, [edx + 0x18]
mov dword [edi], esi
mov dword [edx + 0x1c], esi
mov ebp, 4
jmp 0x405130
mov edx, dword [0x41e34c]
lea ebx, [ebx]
mov ebx, dword [edx + 0x1c]
mov edi, dword [edi]
cmp edi, esi
lea eax, [ebx + 1]
mov dword [edx + 0x1c], eax
jne 0x40514e
mov eax, 0x40
lea edi, [edx + 0x18]
call fcn.00410400
jmp 0x405163
lea ecx, [eax + eax*2]
shl ecx, 3
lea eax, [edi - 0x18]
push ecx
lea edi, [edx + 0x18]
call fcn.00410490
add esp, 4
dec ebp
mov dword [edi], eax
lea edx, [ebx + ebx*2]
lea eax, [eax + edx*8]
mov word [eax], 1
mov word [eax + 2], si
mov dword [eax + 4], 0xffffffff
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
jne 0x405124
mov eax, 0x1000
mov dword [0x41e2f0], 0x12
call fcn.00410400
mov ecx, dword [0x41e34c]
mov dword [ecx + 0x318], eax
mov eax, 0x104
call fcn.00410400
mov edx, dword [0x41e34c]
mov dword [edx + 0x31c], eax
mov eax, 0x1000
call fcn.00410400
mov ecx, dword [0x41e34c]
mov dword [ecx + 0x338], eax
mov eax, 0x400
call fcn.00410400
mov edx, dword [0x41e34c]
pop edi
pop esi
pop ebp
mov dword [edx + 0x368], eax
pop ebx
ret