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

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, 0x482e08
xor ebp, ebp
mov esi, dword [eax]
cmp esi, ebp
je 0x412e0a
cmp dword [esi], ebp
je 0x412e1d
add eax, 4
jmp 0x412dfb
push 0x3f
push 0x3f
push 0x3f
call fcn.00426340
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.00412c30
mov edi, eax
mov eax, dword [0x4c1fac]
mov ebx, 1
add esp, 8
cmp eax, ebx
jne 0x412e50
mov eax, dword [esi + 0xa0]
cmp eax, ebx
jle 0x412e50
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0xa0], eax
fild dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x58], eax
fstp qword [esi + 8]
mov eax, dword [esi + 0x74]
mov dword [esi + 0x3c], ecx
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x2c]
cmp eax, ebp
fstp qword [esi + 0x10]
mov dword [esi], 3
mov dword [esi + 0x34], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x80], ebp
mov word [esi + 0x98], 0xc
mov word [esi + 0x9a], 4
mov dword [esi + 0x9c], edx
je 0x412eba
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x64], ecx
cmp edi, ebp
mov word [esi + 0xb4], bx
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], ebp
je 0x412eea
mov eax, edi
push esi
push eax
call fcn.00413100
mov ecx, dword [edi + 0x1c]
add edi, 0x1c
add esp, 8
cmp ecx, 0xffffffff
mov eax, edi
jne 0x412ed3
mov ax, word [esi + 0x84]
mov edi, 0xa
cmp ax, 2
jne 0x412f15
mov word [0x4c2004], bx
mov word [0x4c359c], bx
mov dword [0x4c3598], esi
jmp 0x4130c1
cmp ax, 5
jne 0x412f2d
mov word [0x4c359c], bx
mov dword [0x4c3598], esi
jmp 0x4130c1
cmp ax, 0xc
jne 0x412f42
mov dword [esi + 0xb8], 0x3c
jmp 0x4130c1
cmp ax, bx
jne 0x412fbb
mov dword [esi + 0xb8], ebp
mov dword [esi + 0x34], 8
cmp dword [0x4c3984], ebp
jge 0x412f64
mov ecx, dword [0x4c38c8]
jmp 0x412f88
cmp dword [0x4c3904], ebp
jge 0x412f74
mov ecx, dword [0x4c3948]
jmp 0x412f88
mov edx, dword [0x4c38c8]
mov eax, dword [0x4c3948]
add eax, edx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
cmp dword [esp + 0x1c], 0x4872b0
jne 0x4130c1
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx - 0x10]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fsubr qword [esi + 0x10]
fstp qword [esi + 0x10]
jmp 0x4130c1
cmp ax, 9
je 0x4130ac
cmp ax, 8
je 0x4130ac
cmp ax, 0xf
jne 0x4130c1
push esi
push 0x485d30
mov dword [0x4c6700], esi
call fcn.00413100
add esp, 8
mov dword [0x4c6704], eax
push eax
push 0x485d30
call fcn.00413100
add esp, 8
mov dword [0x4c6708], eax
push eax
push 0x485d30
call fcn.00413100
add esp, 8
mov dword [0x4c670c], eax
push eax
push 0x485d30
call fcn.00413100
add esp, 8
mov dword [0x4c6710], eax
push eax
push 0x485d30
call fcn.00413100
add esp, 8
mov dword [0x4c6714], eax
push eax
push 0x485d30
call fcn.00413100
mov dword [0x4c6718], eax
mov eax, dword [0x4c6700]
add esp, 8
mov dword [eax + 0x34], 0x19
mov ecx, dword [0x4c6704]
mov dword [ecx + 0x34], 0x16
mov edx, dword [0x4c6708]
mov dword [edx + 0x34], 0x13
mov eax, dword [0x4c670c]
mov dword [eax + 0x34], 0x10
mov ecx, dword [0x4c6710]
mov dword [ecx + 0x34], 0xd
mov edx, dword [0x4c6714]
mov dword [edx + 0x34], edi
mov eax, dword [0x4c6718]
mov dword [eax + 0x34], 7
call fcn.00403120
jmp 0x4130c1
fld qword [esi + 0x10]
call fcn.00426390
mov dword [esi + 0xb8], eax
mov dword [esi + 0x64], 0x32
cmp word [esi + 0x84], di
jne 0x4130e1
cmp dword [esi + 0x9c], 0x472408
je 0x4130f0
inc dword [0x4c81a0]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp dword [esi + 0x74], 0x8000
je 0x4130f0
inc dword [0x4c8404]
pop edi
pop esi
pop ebp
pop ebx
ret