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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
push edi
xor edi, edi
cmp esi, edi
mov ebx, ecx
je 0x414670
mov eax, dword [ebx + 0x20]
cmp eax, edi
je 0x414670
cmp dword [eax + 0x20], edi
je 0x414670
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x41438a
mov eax, dword [eax + 4]
jmp 0x41438c
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.0041b920
mov ebp, dword [ebx + 0x338]
cmp ebp, edi
je 0x414661
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x4143c0
lea eax, [esp + 0x18]
push eax
call fcn.0041bd00
test al, al
je 0x4143c0
mov al, byte [ebp + 8]
test al, al
jne 0x4143cc
mov ebp, dword [ebp + 0x44]
cmp ebp, edi
jne 0x4143a4
jmp 0x414661
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x38], esi
mov byte [ebp + 9], 1
mov ecx, dword [esi + 0x20]
cmp eax, edi
mov esi, dword [ecx + 0x74]
je 0x4143f6
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x4143f6
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x41440e
mov eax, dword [esp + 0x8c]
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x90]
lea eax, [eax + eax*4]
push 0x30
shl eax, 2
mov dword [esp + 0x18], eax
call fcn.0041ed90
add esp, 4
cmp eax, edi
je 0x414430
push esi
mov ecx, eax
call fcn.00446db0
jmp 0x414432
xor eax, eax
push edi
push edi
mov ecx, eax
mov dword [esi + 0xb8], eax
call fcn.00446e40
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb8]
push 1
push edi
push edx
call fcn.00446e70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 1
push eax
push ecx
mov ecx, dword [esi + 0xb8]
call fcn.00446e70
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0xb8]
push 1
push edx
push edi
call fcn.00446e70
mov ecx, dword [esi + 0xb8]
push 1
push edi
push edi
call fcn.00446e70
mov esi, dword [esp + 0x88]
lea ecx, [esp + 0x24]
push ecx
mov word [esp + 0x66], di
mov eax, dword [esi + 0x14]
mov word [esp + 0x64], di
mov byte [esp + 0x68], 0
mov dword [esp + 0x6c], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], edi
mov byte [esp + 0x80], 0
mov dword [esp + 0x54], 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], edi
call fcn.0041e630
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.00432130
mov ecx, dword [esp + 0x50]
mov eax, dword [ebp + 0xc]
or ecx, 0x20
cmp eax, edi
mov word [esp + 0x60], 0xffff
mov dword [esp + 0x68], edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x74], edi
mov word [esp + 0x62], di
je 0x4145ab
cmp dword [ebp + 0x10], edi
je 0x4145ab
push esi
mov ecx, 0x18
sub esp, 0x60
lea esi, [esp + 0x88]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00413dc0
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x28]
sub esp, 8
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [esp + 0x94]
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x20]
fild dword [esp + 0x1c]
fstp qword [esp]
push 2
push eax
call fcn.0045a560
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x38]
sub esp, 8
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 2
cdq
idiv dword [esp + 0x98]
mov edx, dword [ecx + 0x20]
mov ecx, dword [ebx + 0x28]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fstp qword [esp]
push 3
push edx
call fcn.0045a560
jmp 0x414651
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov dword [ebp + 0x10], ecx
mov ecx, ebx
mov dword [ebp + 0xc], eax
call fcn.004191c0
push esi
mov ecx, 0x18
sub esp, 0x60
lea esi, [esp + 0x88]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00413dc0
mov ecx, ebx
mov dword [ebp + 0x3c], eax
call fcn.00414680
mov eax, dword [ebx + 0x338]
xor ebp, ebp
cmp eax, ebp
je 0x414601
mov dword [eax + 0x34], ebp
mov eax, dword [eax + 0x44]
cmp eax, ebp
jne 0x4145f7
push ebp
push ebp
mov ecx, ebx
call fcn.00412d10
mov ecx, ebx
call fcn.0040f480
mov ecx, ebx
mov dword [ebx + 0x320], eax
call fcn.004146d0
mov esi, dword [ebx + 0x338]
mov edi, eax
cmp esi, ebp
je 0x414642
push esi
mov ecx, ebx
call fcn.004140e0
push edi
push esi
mov ecx, ebx
call fcn.00414020
mov esi, dword [esi + 0x44]
cmp esi, ebp
jne 0x41462a
cmp dword [ebx + 0x338], ebp
je 0x414651
mov ecx, ebx
call fcn.004141d0
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x414661
call fcn.0043dbf0
mov edx, dword [esp + 0x18]
mov ecx, 0x4de568
push edx
call fcn.0041e9a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0xc