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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.00412430
call fcn.00412050
call fcn.00410100
mov eax, 0x30
imul ecx, eax, 0
add ecx, dword [0x46a5a0]
mov dword [0x46a2d0], ecx
mov dword [0x46a304], 0
mov dword [0x46a3f8], 0
mov dword [ebp - 4], 0x46a320
mov edx, 0x3607
mov eax, dword [ebp - 4]
mov word [eax], dx
mov ecx, 7
mov edx, dword [ebp - 4]
mov word [edx + 2], cx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x46a414
mov ecx, dword [ebp - 4]
mov edx, dword [0x46a2e8]
mov eax, dword [edx + 0x338]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x46a2e8]
mov eax, dword [edx + 0x318]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x46a2e8]
add ecx, 0x314
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [0x46a2e8]
mov edx, dword [ecx + 0x318]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0x408600
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], 0x408630
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], fcn.00401640
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], fcn.004017e0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0x46a2f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0x46a2f4
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x46a2d0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], fcn.00403c10
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], fcn.00403c90
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 0x406650
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x38], 0x4066e0
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 4]
mov ecx, dword [0x46a2e8]
mov dword [eax + 0x58], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], 0x46a2fc
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], fcn.004033d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], 0x4085c0
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], fcn.004103d0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], fcn.00403410
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], 0x4085e0
mov eax, dword [ebp - 4]
mov dword [eax + 0x7c], fcn.00404070
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x80], fcn.00403df0
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], fcn.00403e90
mov eax, dword [ebp - 4]
mov dword [eax + 0x88], fcn.00403f30
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x74], fcn.00403d00
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], fcn.00403d80
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], fcn.004124f0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x90], fcn.00412550
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], fcn.00412590
mov eax, dword [ebp - 4]
mov dword [eax + 0x98], fcn.00404e10
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x9c], fcn.00404a50
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], fcn.00410340
mov eax, dword [ebp - 4]
mov dword [eax + 0xa4], fcn.00402ee0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa8], fcn.00402f50
mov edx, dword [ebp - 4]
mov dword [edx + 0xb0], fcn.00410720
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], fcn.00410830
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb8], fcn.00410920
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], 0x4049e0
mov eax, dword [ebp - 4]
mov dword [eax + 0xc0], 0x404930
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc4], fcn.00403b10
mov edx, dword [ebp - 4]
mov dword [edx + 0xc8], fcn.00403b70
push 0xbc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x46a2e8]
add ecx, 0x30
push ecx
call fcn.00435930
add esp, 0xc
mov edx, dword [0x46a2e8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x36c], eax
push 0x240
call fcn.004124f0
add esp, 4
mov dword [0x46a2e0], eax
mov dword [0x46a2e4], 0x12
mov dword [ebp - 8], 0
jmp 0x402b45
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [0x46a2e4]
jge 0x402b5e
mov eax, dword [ebp - 8]
push eax
call fcn.00408530
add esp, 4
jmp 0x402b3c
mov ecx, 0x20
shl ecx, 0
add ecx, dword [0x46a2e0]
push ecx
call fcn.004084d0
add esp, 4
mov edx, 0x20
imul eax, edx, 5
add eax, dword [0x46a2e0]
push eax
call fcn.004084d0
add esp, 4
mov ecx, 0x20
imul edx, ecx, 0xf
add edx, dword [0x46a2e0]
push edx
call fcn.004084e0
add esp, 4
mov eax, 0x20
imul ecx, eax, 0xb
add ecx, dword [0x46a2e0]
push ecx
call fcn.004084f0
add esp, 4
mov edx, 0x20
imul eax, edx, 0xe
add eax, dword [0x46a2e0]
push eax
call fcn.00408500
add esp, 4
mov ecx, 0x20
shl ecx, 3
add ecx, dword [0x46a2e0]
push ecx
call fcn.0040b600
add esp, 4
mov edx, 0x20
imul eax, edx, 0xd
add eax, dword [0x46a2e0]
push eax
call fcn.0040b660
add esp, 4
mov ecx, 0x20
imul edx, ecx, 0xd
add edx, dword [0x46a2e0]
push edx
call fcn.0040b660
add esp, 4
mov eax, 0x20
imul ecx, eax, 0xc
add ecx, dword [0x46a2e0]
push ecx
call fcn.00408510
add esp, 4
mov edx, dword [0x46a2e8]
mov dword [edx + 0x18], 0
mov eax, dword [0x46a2e8]
mov dword [eax + 0x1c], 0
mov dword [ebp - 8], 0
jmp 0x402c58
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 5
jge 0x402c65
call fcn.00404e10
jmp 0x402c4f
push 1
push 4
call fcn.00405190
add esp, 8
mov dword [0x46a2e4], 0x12
mov esp, ebp
pop ebp
ret