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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x14c
mov eax, dword [0x6a1b80]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xffffffff
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x1c], 0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
lea eax, [ecx + 0x5c]
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0xffffffff
mov dword [ecx + 0x28], 0xffffffff
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0xffffffff
mov dword [ecx + 0x38], 0xffffffff
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0xffffffff
mov dword [ecx + 0x48], 0xffffffff
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0xffffffff
mov dword [ecx + 0x58], 0xffffffff
mov ecx, eax
mov dword [ebp - 0x128], eax
mov esi, dword [0x6a1f14]
call esi
lea eax, [ebx + 0x64]
mov dword [ebp - 0x120], eax
mov ecx, eax
call esi
mov eax, dword [ebp + 8]
cmp byte [eax + 0x84], 0
je 0x415104
mov esi, 0x65
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov word [esp], si
mov ecx, dword [ebp + 0x10]
call dword [0x6a1de4]
sub esp, 0xc
test eax, eax
mov dword [ebp - 0x12c], eax
jle 0x4150f6
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
mov edi, dword [esi + 0xc]
lea eax, [esi + eax*2 - 2]
movzx eax, word [eax + edi]
lea edx, [eax - 0x30]
cmp edx, 9
jbe 0x415700
cmp eax, 0x7f
jbe 0x4150f6
call dword [0x6a1bfc]
cmp eax, 3
je 0x415700
mov dword [ebp - 0x130], 0xffffffff
xor edi, edi
jmp 0x41511a
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x12c], 0xffffffff
xor edi, edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x128]
mov dword [esp], eax
mov eax, dword [0x6a1f1c]
mov ecx, esi
mov dword [ebp - 0x124], eax
call eax
mov ecx, esi
sub esp, 4
mov esi, dword [0x6a20b0]
call esi
fldz
fxch st(1)
fucompi st(1)
fstp st(0)
jbe 0x41516c
mov ecx, dword [ebp - 0x128]
call esi
fadd qword [0x4b0f60]
mov ecx, dword [ebp - 0x128]
fstp qword [esp]
call dword [0x6a1f00]
sub esp, 8
mov eax, edi
test al, al
je 0x415532
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0xfc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call dword [0x6a1ddc]
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebx]
lea ecx, [ebp - 0xfc]
sub esp, 8
mov dword [ebx], edx
mov dword [ebp - 0xfc], eax
call fcn.0048a490
mov eax, dword [ebp - 0x130]
mov dword [esp + 8], 0xffffffff
lea ecx, [ebp - 0xf8]
mov edi, dword [0x6a1dd8]
add eax, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0xf8]
sub esp, 0xc
mov dword [ebx + 8], edx
mov dword [ebp - 0xf8], eax
call fcn.0048a490
mov eax, dword [ebp + 8]
cmp byte [eax + 0xe0], 0
jne 0x4157b0
mov dword [esp + 4], 2
mov dword [esp], 0x4aadeb
call dword [0x6a1c84]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x85], 0
je 0x4158f2
lea eax, [ebp - 0xf4]
mov ecx, 0xd7
mov word [esp], cx
mov dword [ebp - 0x134], eax
mov ecx, eax
call dword [0x6a1cb4]
mov ecx, dword [ebp - 0xf4]
sub esp, 4
lea esi, [ebp - 0x68]
mov dword [ebp - 0xf0], ecx
call fcn.00492860
mov eax, dword [0x6a1c94]
mov dword [esp], esi
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x138], eax
call eax
lea edx, [ebp - 0xf0]
sub esp, 4
mov ecx, ebx
mov dword [esp], edx
call dword [ebp - 0x138]
lea ecx, [ebp - 0xf0]
sub esp, 4
call fcn.0048a490
mov ecx, dword [ebp - 0x134]
call fcn.0048a490
mov ecx, esi
call fcn.0048a490
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0xec]
sub eax, edx
mov dword [esp + 8], eax
lea eax, [edx + 1]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0xec]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0xec]
sub esp, 0xc
lea esi, [ebx + 4]
mov dword [ebx + 4], edx
mov dword [ebp - 0xec], eax
call fcn.0048a490
mov eax, dword [ebx + 4]
mov edi, dword [0x6a1ca8]
mov edx, dword [eax + 4]
cmp edx, 2
jle 0x415675
nop
mov edx, dword [eax + 0xc]
cmp word [eax + edx + 2], 0x30
je 0x415650
cmp word [eax + edx], 0x2b
je 0x41562f
lea esi, [esi]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x120]
mov dword [esp], eax
mov ecx, edi
call dword [ebp - 0x124]
sub esp, 4
mov ecx, edi
mov esi, dword [0x6a20c0]
call esi
test eax, eax
jle 0x4158a0
mov ecx, edi
call esi
mov dword [ebp - 0x124], eax
fnstcw word [ebp - 0x11a]
movzx eax, word [ebp - 0x11a]
fild dword [ebp - 0x124]
mov ecx, edi
fmul dword [0x4b0f68]
mov ah, 0xc
mov word [ebp - 0x11c], ax
fldcw word [ebp - 0x11c]
fistp dword [esp]
fldcw word [ebp - 0x11a]
call dword [0x6a1efc]
mov eax, dword [ebp - 0x128]
sub esp, 4
lea esi, [ebp - 0xe8]
mov ecx, esi
mov dword [esp], eax
mov eax, dword [0x6a1ea0]
mov dword [ebp - 0x12c], eax
call eax
lea eax, [ebp - 0xc8]
sub esp, 4
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xffffffff
lea ecx, [ebp - 0xd8]
mov dword [esp + 4], eax
mov eax, dword [0x6a2088]
mov dword [ebp - 0xbc], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x200
mov dword [esp], esi
mov dword [ebp - 0x124], eax
call eax
mov eax, dword [ebp - 0xd8]
mov ecx, esi
sub esp, 0x18
mov edi, dword [0x6a1ea4]
lea esi, [ebp - 0xe4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 0x18], eax
call edi
mov edx, dword [ebp - 0x120]
lea eax, [ebx + 4]
mov ecx, esi
mov dword [ebp - 0x130], eax
mov dword [esp], edx
call dword [ebp - 0x12c]
lea eax, [ebx + 4]
sub esp, 4
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xffffffff
lea ecx, [ebp - 0xb8]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x9c], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x200
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [ebp - 0x124]
mov eax, dword [ebp - 0xb8]
sub esp, 0x18
mov ecx, esi
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0xac]
mov dword [ebx + 0x28], eax
call edi
mov eax, dword [ebx + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4157f1
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x24]
sub ecx, dword [ebx + 0x2c]
sub eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
lea eax, [ecx + eax + 4]
mov ecx, dword [ebx + 0x10]
add eax, dword [ebx + 0x14]
jmp 0x4155d7
mov eax, dword [ebp + 0x10]
mov ecx, ebx
lea esi, [ebp - 0xdc]
mov dword [esp], eax
call dword [0x6a1cbc]
mov eax, dword [ebp - 0x128]
sub esp, 4
mov ecx, esi
mov dword [esp], eax
call dword [0x6a1ea0]
lea eax, [ebp - 0x68]
sub esp, 4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x5c], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x204
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [0x6a2088]
mov eax, dword [ebp - 0x78]
mov ecx, esi
sub esp, 0x18
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x70]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebx + 0x48], eax
call dword [0x6a1ea4]
mov eax, dword [ebx + 0x44]
mov esi, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x40]
sub eax, esi
sub edx, ecx
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x58], edx
fld qword [eax + 0x78]
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jb 0x4156f5
fld qword [0x4b0ec0]
fucompi st(1)
fstp st(0)
jb 0x415685
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
lea ecx, [ebx + 4]
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [0x6a1ca8]
sub esp, 8
jmp 0x415330
mov dword [esp + 4], 1
mov dword [esp], 1
mov ecx, esi
call edi
mov eax, dword [ebx + 4]
sub esp, 8
mov edx, dword [eax + 4]
cmp edx, 2
jg 0x415310
test edx, edx
je 0x415330
mov edx, dword [eax + 0xc]
jmp 0x41531f
lea esi, [ebp - 0x68]
mov ecx, esi
call dword [0x6a1e84]
mov eax, dword [ebp + 8]
mov dword [esp + 8], 2
mov ecx, esi
fld qword [eax + 0x78]
fstp qword [esp]
call dword [0x6a1e7c]
lea eax, [ebx + 0x4c]
sub esp, 0xc
lea ecx, [ebp - 0x118]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [0x6a2084]
mov eax, dword [ebp - 0x118]
sub esp, 8
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 0x110]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0x58], eax
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
fchs
jmp 0x415617
add edi, esi
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x120]
mov dword [ebp - 0x134], ebx
mov ebx, edi
mov dword [ebp - 0x120], eax
mov edi, ecx
mov dword [ebp - 0x124], esi
mov esi, esi
lea edi, [edi]
mov eax, dword [ebp - 0x120]
lea esi, [eax + 1]
cmp esi, edi
jge 0x415758
movzx eax, word [ebx + esi*2]
lea ecx, [eax - 0x2b]
test cx, 0xfffd
je 0x4157a0
lea ecx, [eax - 0x30]
cmp ecx, 9
jbe 0x4157a0
cmp eax, 0x7f
ja 0x415790
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x12c]
mov edi, dword [ebp - 0x124]
mov ebx, dword [ebp - 0x134]
mov dword [ebp - 0x130], eax
setg al
mov dword [ebp - 0x120], edi
mov edi, eax
jmp 0x41511a
call dword [0x6a1bfc]
cmp eax, 3
jne 0x415758
nop
lea esi, [esi]
mov dword [ebp - 0x120], esi
jmp 0x415730
mov dword [esp], 1
mov dword [esp + 4], 0x4aade9
mov ecx, ebx
call dword [0x6a1df0]
sub esp, 8
test al, al
je 0x415209
mov dword [esp], 2
mov dword [esp + 4], 0x4aadeb
mov ecx, ebx
call dword [0x6a1cb8]
sub esp, 8
jmp 0x4152af
mov edx, dword [ebp - 0x128]
lea eax, [ebx + 8]
lea esi, [ebp - 0xe0]
mov dword [ebp - 0x120], eax
mov ecx, esi
mov dword [esp], edx
call dword [ebp - 0x12c]
lea eax, [ebx + 8]
sub esp, 4
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xffffffff
lea ecx, [ebp - 0x98]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x7c], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x200
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [ebp - 0x124]
mov eax, dword [ebp - 0x98]
sub esp, 0x18
mov ecx, esi
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x90]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebx + 0x38], eax
call edi
jmp 0x415511
mov edi, dword [ebp - 0x120]
mov ecx, edi
call dword [0x6a20bc]
mov dword [ebp - 0x124], eax
fnstcw word [ebp - 0x11a]
movzx eax, word [ebp - 0x11a]
fild dword [ebp - 0x124]
mov ecx, edi
fmul dword [0x4b0f68]
mov ah, 0xc
mov word [ebp - 0x11c], ax
fldcw word [ebp - 0x11c]
fistp dword [esp]
fldcw word [ebp - 0x11a]
call dword [0x6a1ef8]
jmp 0x41539c
lea eax, [ebp - 0xf4]
mov edx, 0xb7
mov word [esp], dx
mov dword [ebp - 0x134], eax
mov ecx, eax
call dword [0x6a1cb4]
jmp 0x41524e