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

Disassembly:
push 0x14
mov eax, 0x47fe60
call fcn.004026ff
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 8]
lea ebx, [esi + 0x24]
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
add eax, ecx
xor edi, edi
push eax
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.004069d9
test al, al
je 0x432844
cmp dword [ebx], edi
jbe 0x4128d0
lea eax, [esi + 0x5c]
cmp dword [eax], edi
jne 0x4128d0
push eax
push 0x4029a8
lea eax, [esi + 0x14]
push eax
call fcn.00402fa0
cmp eax, edi
mov dword [ebp - 0x14], eax
jl 0x432851
call fcn.0040ff35
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], edi
jbe 0x412a68
push 0x184
call fcn.00402845
pop ecx
cmp eax, edi
je 0x412a7d
mov ecx, eax
call fcn.0040ff42
mov ebx, eax
cmp ebx, edi
je 0x432859
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add eax, ecx
push eax
lea ecx, [esi + 0x24]
mov dword [ebp - 0x20], eax
call fcn.00402770
mov dword [eax], ebx
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 4], 0x8000000a
mov dword [ebx + 0x110], edi
mov eax, dword [esi + 0x5c]
or dword [ebx + 0x114], 0xffffffff
or dword [ebx + 8], 0xffffffff
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x10c]
and eax, 0xffffffc6
or eax, 6
mov dword [ebx + 0x10c], eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov word [ebx + 0x108], ax
mov word [ebx + 0x10a], ax
mov eax, dword [ebp - 0x20]
mov dword [ebx], eax
lea eax, [esi + 0x4c]
push eax
lea ecx, [ebx + 0x1c]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x64], edi
mov dword [ebx + 0xbc], edi
mov dword [ebx + 0xe0], edi
mov dword [ebx + 0x104], edi
call fcn.0040856d
lea eax, [esi + 0x50]
push eax
lea ecx, [ebx + 0x30]
call fcn.0040856d
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x118], edi
mov dword [ebp - 0x20], edi
call fcn.0040eaa2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 0x18]
mov dword [ebp - 0x20], edi
call fcn.0040eaa2
mov eax, dword [esi + 0x60]
and dword [ebx + 0x10c], 0xfffffe3f
mov dword [ebx + 0x11c], eax
mov eax, 0x408558
lea edi, [ebx + 0x68]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x78]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebx + 0x38], 0
and dword [ebx + 0x3c], 0
lea edi, [ebx + 0x40]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x88]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x120]
call fcn.0040616e
xor edi, edi
push 0x10
mov dword [ebx + 0x17c], edi
mov dword [ebx + 0x50], edi
call fcn.00402845
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x412a84
mov ecx, esi
call fcn.00412a8d
mov dword [esi], 0x4027a0
mov eax, esi
or dword [ebp - 4], 0xffffffff
lea esi, [ebx + 0x178]
mov dword [esi], eax
cmp eax, edi
je 0x432866
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [esi]
push ebx
call fcn.004127d1
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jb 0x412a73
mov eax, dword [ebp - 0x14]
call fcn.00402739
ret 4
mov esi, dword [ebp - 0x1c]
xor edi, edi
jmp 0x4128dc
xor ebx, ebx
jmp 0x4128f8
xor eax, eax
jmp 0x412a3b
mov eax, 0x8007000e
push eax
push 0x432a20
jmp 0x432871
push eax
push 0x432998
jmp 0x432874
mov eax, 0x8007000e
push eax
push 0x432910
jmp 0x432871
mov eax, 0x8007000e
push eax
push 0x432888
mov dword [ebp - 0x14], eax
push 0x43baf0
push 1
call fcn.004015a0
add esp, 0x10
jmp 0x412a68