Function at 0x4142d0
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 0x4145f0
mov eax, dword [ebx + 0x20]
cmp eax, edi
je 0x4145f0
cmp dword [eax + 0x20], edi
je 0x4145f0
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x41430a
mov eax, dword [eax + 4]
jmp 0x41430c
xor eax, eax
push eax
lea ecx, [esp + 0x1c]
call fcn.0041b7c0
mov ebp, dword [ebx + 0x338]
cmp ebp, edi
je 0x4145e1
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x414340
lea eax, [esp + 0x18]
push eax
call fcn.0041bba0
test al, al
je 0x414340
mov al, byte [ebp + 8]
test al, al
jne 0x41434c
mov ebp, dword [ebp + 0x44]
cmp ebp, edi
jne 0x414324
jmp 0x4145e1
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 0x414376
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x414376
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x41438e
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.0041ec00
add esp, 4
cmp eax, edi
je 0x4143b0
push esi
mov ecx, eax
call fcn.00446590
jmp 0x4143b2
xor eax, eax
push edi
push edi
mov ecx, eax
mov dword [esi + 0xb8], eax
call fcn.00446620
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb8]
push 1
push edi
push edx
call fcn.00446650
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 1
push eax
push ecx
mov ecx, dword [esi + 0xb8]
call fcn.00446650
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0xb8]
push 1
push edx
push edi
call fcn.00446650
mov ecx, dword [esi + 0xb8]
push 1
push edi
push edi
call fcn.00446650
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.0041e4a0
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.00431e30
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 0x41452b
cmp dword [ebp + 0x10], edi
je 0x41452b
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.00413d40
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.00459c60
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.00459c60
jmp 0x4145d1
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.004190d0
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.00413d40
mov ecx, ebx
mov dword [ebp + 0x3c], eax
call fcn.00414600
mov eax, dword [ebx + 0x338]
xor ebp, ebp
cmp eax, ebp
je 0x414581
mov dword [eax + 0x34], ebp
mov eax, dword [eax + 0x44]
cmp eax, ebp
jne 0x414577
push ebp
push ebp
mov ecx, ebx
call fcn.00412c90
mov ecx, ebx
call fcn.0040f400
mov ecx, ebx
mov dword [ebx + 0x320], eax
call fcn.00414650
mov esi, dword [ebx + 0x338]
mov edi, eax
cmp esi, ebp
je 0x4145c2
push esi
mov ecx, ebx
call fcn.00414060
push edi
push esi
mov ecx, ebx
call fcn.00413fa0
mov esi, dword [esi + 0x44]
cmp esi, ebp
jne 0x4145aa
cmp dword [ebx + 0x338], ebp
je 0x4145d1
mov ecx, ebx
call fcn.00414150
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4145e1
call fcn.0043d8f0
mov edx, dword [esp + 0x18]
mov ecx, 0x4da3e8
push edx
call fcn.0041e810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0xc