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

Disassembly:
push 0xffffffffffffffff
push 0x5efb45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x48], edi
xor esi, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x290], esi
call fcn.005df190
lea ecx, [esp + 0x10]
mov byte [esp + 0x290], 1
call fcn.005df190
lea ecx, [esp + 0x14]
mov byte [esp + 0x290], 2
call fcn.005df190
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 3
call fcn.005df190
mov eax, dword [esp + 0x298]
mov ebx, 4
push 0x62afd4
push eax
mov byte [esp + 0x298], bl
call dword [0x5fca64]
mov ebp, eax
add esp, 8
cmp ebp, esi
mov dword [esp + 0x44], ebp
je 0x4fcc40
lea ecx, [esp + 0x24]
push ebp
push ecx
call fcn.00545e70
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x294], 5
call fcn.005df274
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], bl
call fcn.005df184
mov edx, dword [esp + 0x10]
push 0x635508
push edx
call dword [0x5fca74]
add esp, 8
cmp eax, esi
je 0x4fcc36
xor eax, eax
push eax
push 0x629308
lea ecx, [esp + 0x18]
call fcn.005df310
test eax, eax
jle 0x4fc271
inc eax
inc esi
cmp esi, 0xa
jl 0x4fc257
cmp esi, 2
jl 0x4fcc1a
cmp esi, 9
jg 0x4fcc1a
dec esi
push 0
push 0x629308
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], esi
call fcn.005df310
inc eax
lea ecx, [esp + 0x10]
push eax
push 0x629308
call fcn.005df310
test esi, esi
mov ebp, eax
mov dword [esp + 0x20], 0
jle 0x4fc503
lea esi, [ebp + 1]
lea ecx, [esp + 0x10]
push esi
push 0x629308
call fcn.005df310
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
dec eax
cmp ecx, eax
jne 0x4fc2e8
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov dword [esp + 0x18], eax
cmp ecx, 7
ja case.default.0x4fc2f1
jmp dword [ecx*4 + 0x4fccb8]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
sub ecx, ebp
dec ecx
push ecx
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.005df30a
lea esi, [edi + 0x454]
push eax
mov ecx, esi
mov byte [esp + 0x294], 6
call fcn.005df274
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x24]
jmp 0x4fc4d5
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
sub eax, ebp
dec eax
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.005df30a
lea esi, [edi + 0x458]
push eax
mov ecx, esi
mov byte [esp + 0x294], 7
call fcn.005df274
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x28]
jmp 0x4fc4d5
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x54]
sub edx, ebp
lea ecx, [esp + 0x10]
dec edx
push edx
push esi
push eax
call fcn.005df30a
lea esi, [edi + 0x45c]
push eax
mov ecx, esi
mov byte [esp + 0x294], 8
call fcn.005df274
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x54]
jmp 0x4fc4d5
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x60]
sub ecx, ebp
dec ecx
push ecx
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.005df30a
lea esi, [edi + 0x460]
push eax
mov ecx, esi
mov byte [esp + 0x294], 9
call fcn.005df274
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x60]
jmp 0x4fc4d5
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
sub eax, ebp
dec eax
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.005df30a
lea esi, [edi + 0x464]
push eax
mov ecx, esi
mov byte [esp + 0x294], 0xa
call fcn.005df274
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x4c]
jmp 0x4fc4d5
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x58]
sub edx, ebp
lea ecx, [esp + 0x10]
dec edx
push edx
push esi
push eax
call fcn.005df30a
lea esi, [edi + 0x468]
push eax
mov ecx, esi
mov byte [esp + 0x294], 0xb
call fcn.005df274
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x58]
jmp 0x4fc4d5
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x5c]
sub ecx, ebp
dec ecx
push ecx
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.005df30a
lea esi, [edi + 0x46c]
push eax
mov ecx, esi
mov byte [esp + 0x294], 0xc
call fcn.005df274
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x5c]
jmp 0x4fc4d5
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x50]
sub eax, ebp
dec eax
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.005df30a
lea esi, [edi + 0x470]
push eax
mov ecx, esi
mov byte [esp + 0x294], 0xd
call fcn.005df274
mov byte [esp + 0x290], bl
lea ecx, [esp + 0x50]
call fcn.005df184
mov ecx, esi
call fcn.005df382
mov ecx, esi
call fcn.005df40c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4fc2ba
mov esi, ecx
push esi
mov ecx, edi
call fcn.004f7d50
mov ecx, edi
call fcn.004f7fe0
mov edx, dword [esp + 0x44]
xor ebp, ebp
mov dword [esp + 0x20], ebp
test byte [edx + 0xc], 0x10
jne 0x4fca25
mov esi, dword [0x5fca78]
cmp ebp, dword [edi + 0x4c0]
jge 0x4fca25
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.00545e70
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x294], 0xe
call fcn.005df274
lea ecx, [esp + 0x50]
mov byte [esp + 0x290], bl
call fcn.005df184
mov edx, dword [esp + 0x10]
push 0x635508
push edx
call dword [0x5fca74]
add esp, 8
test eax, eax
je 0x4fca25
push 0
push 0x629308
lea ecx, [esp + 0x18]
call fcn.005df310
mov edi, eax
lea ecx, [esp + 0x10]
lea ebp, [edi + 1]
push ebp
push 0x629308
call fcn.005df310
mov dword [esp + 0x28], eax
sub eax, edi
dec eax
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x60]
push ebp
push eax
call fcn.005df30a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 0xf
call fcn.005df274
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], bl
call fcn.005df184
lea ecx, [esp + 0x14]
call fcn.005df382
lea ecx, [esp + 0x14]
call fcn.005df40c
push 0
push 0x62a880
lea ecx, [esp + 0x1c]
call fcn.005df310
mov edi, eax
lea ecx, [esp + 0x58]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.005df364
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 0x10
call fcn.005df274
lea ecx, [esp + 0x58]
mov byte [esp + 0x290], bl
call fcn.005df184
mov edx, dword [esp + 0x1c]
push edx
call esi
add esp, 4
mov dword [esp + 0x30], eax
lea eax, [edi + 1]
lea ecx, [esp + 0x14]
push eax
push 0x62a880
mov dword [esp + 0x20], eax
call fcn.005df310
mov ecx, dword [esp + 0x18]
mov ebp, eax
sub eax, edi
lea edx, [esp + 0x4c]
dec eax
push eax
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.005df30a
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 0x11
call fcn.005df274
lea ecx, [esp + 0x4c]
mov byte [esp + 0x290], bl
call fcn.005df184
mov eax, dword [esp + 0x1c]
push eax
call esi
add esp, 4
mov dword [esp + 0x3c], eax
lea eax, [ebp + 1]
lea ecx, [esp + 0x14]
push eax
push 0x62a960
mov dword [esp + 0x20], eax
call fcn.005df310
mov edx, dword [esp + 0x18]
mov edi, eax
mov ecx, edi
lea eax, [esp + 0x60]
sub ecx, ebp
dec ecx
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.005df30a
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 0x12
call fcn.005df274
lea ecx, [esp + 0x60]
mov byte [esp + 0x290], bl
call fcn.005df184
mov ecx, dword [esp + 0x1c]
push ecx
call esi
add esp, 4
mov dword [esp + 0x6c], eax
lea eax, [edi + 1]
lea ecx, [esp + 0x14]
push eax
push 0x62b5e4
mov dword [esp + 0x20], eax
call fcn.005df310
mov ebp, eax
mov eax, dword [esp + 0x18]
mov edx, ebp
lea ecx, [esp + 0x54]
sub edx, edi
dec edx
push edx
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.005df30a
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 0x13
call fcn.005df274
lea ecx, [esp + 0x54]
mov byte [esp + 0x290], bl
call fcn.005df184
mov edx, dword [esp + 0x1c]
push edx
call esi
add esp, 4
mov dword [esp + 0x64], eax
lea eax, [ebp + 1]
lea ecx, [esp + 0x14]
push eax
push 0x62b5e4
mov dword [esp + 0x20], eax
call fcn.005df310
mov ecx, dword [esp + 0x18]
mov edi, eax
sub eax, ebp
lea edx, [esp + 0x84]
dec eax
push eax
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.005df30a
mov byte [esp + 0x290], 0x14
push eax
lea ecx, [esp + 0x20]
call fcn.005df274
lea ecx, [esp + 0x84]
mov byte [esp + 0x290], bl
call fcn.005df184
mov eax, dword [esp + 0x1c]
push eax
call esi
add esp, 4
lea ebp, [edi + 1]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
push ebp
push 0x62b5e4
call fcn.005df310
mov dword [esp + 0x18], eax
sub eax, edi
dec eax
lea ecx, [esp + 0x7c]
push eax
push ebp
push ecx
lea ecx, [esp + 0x20]
call fcn.005df30a
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 0x15
call fcn.005df274
lea ecx, [esp + 0x7c]
mov byte [esp + 0x290], bl
call fcn.005df184
mov edx, dword [esp + 0x1c]
push edx
call esi
mov edx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x74]
mov eax, dword [eax - 8]
sub eax, edx
dec eax
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005df388
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 0x16
call fcn.005df274
lea ecx, [esp + 0x74]
mov byte [esp + 0x290], bl
call fcn.005df184
mov edx, dword [esp + 0x1c]
push edx
call esi
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push edi
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
lea ecx, [esp + 0x94]
call fcn.005df9be
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x48]
test edx, edx
jne 0x4fc8b4
mov dword [ecx + 0x210], eax
mov word [ecx + 0x214], bp
sub eax, dword [ecx + 0x210]
mov dword [esp + 0x18], eax
xor eax, eax
mov ax, word [ecx + 0x214]
cmp ebp, eax
jge 0x4fc8e2
sub ebp, eax
mov eax, dword [esp + 0x18]
add ebp, 0x3e8
dec eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], eax
jmp 0x4fc8e8
sub ebp, eax
mov dword [esp + 0x24], ebp
fild dword [esp + 0x24]
lea eax, [edx*8]
mov edx, dword [ecx + 0x1c8]
xor ebp, ebp
fmul qword [0x5fe948]
fiadd dword [esp + 0x18]
fstp qword [edx + eax]
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x4fca06
add ecx, 0x1cc
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
inc eax
push eax
push 0x629308
mov dword [esp + 0x38], eax
call fcn.005df310
mov ecx, dword [esp + 0x38]
mov edi, eax
lea eax, [ecx - 1]
cmp ebp, eax
jne 0x4fc94a
mov edx, dword [esp + 0x10]
mov edi, dword [edx - 8]
mov ecx, dword [esp + 0x28]
mov eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x30]
dec eax
lea edx, [esp + 0x80]
push eax
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.005df30a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 0x17
call fcn.005df274
lea ecx, [esp + 0x80]
mov byte [esp + 0x290], bl
call fcn.005df184
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], edi
call fcn.005df382
lea ecx, [esp + 0x14]
call fcn.005df40c
mov ecx, dword [esp + 0x14]
push 0
push 0
mov eax, dword [ecx - 8]
lea edx, [eax + eax + 2]
inc eax
push edx
lea edx, [esp + 0x94]
push edx
push eax
push ecx
push 0
push 0
call dword [0x5fc13c]
lea eax, [esp + 0x88]
push eax
call dword [0x5fca30]
mov ecx, dword [esp + 0x24]
add esp, 4
lea eax, [ecx*8]
mov edx, eax
mov eax, dword [esp + 0x24]
mov edi, dword [eax]
add eax, ebx
fstp qword [edx + edi]
add edx, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
inc ebp
cmp ebp, eax
jl 0x4fc91e
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
inc edx
mov cl, byte [eax + 0xc]
mov dword [esp + 0x20], edx
test cl, 0x10
mov ebp, edx
je 0x4fc52c
mov ecx, dword [esp + 0x44]
push ecx
call dword [0x5fca70]
add esp, 4
mov ecx, edi
mov dword [edi + 0x1ec], ebp
call fcn.004f82d0
mov edx, dword [edi + 0x1c8]
fld qword [edx + ebp*8 - 8]
fst qword [edi + 0x260]
fld st(0)
call fcn.005dfdf0
mov ecx, eax
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fstp qword [esp + 0x30]
fsub qword [esp + 0x30]
fcomp qword [0x5fd8b0]
fnstsw ax
test ah, 0x41
jne 0x4fca87
inc ecx
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fstp qword [edi + 0x260]
jmp 0x4fca9b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x260], eax
mov dword [edi + 0x264], ecx
mov edx, dword [edi + 0x260]
mov eax, dword [edi + 0x264]
fld qword [edi + 0x2b0]
lea ecx, [edi + 0x270]
mov dword [edi + 0x60], edx
fst qword [esp + 0x6c]
mov edx, dword [ecx]
mov dword [edi + 0x64], eax
mov eax, dword [ecx + 4]
xor esi, esi
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x4cc]
mov dword [edi + 0x68], esi
mov dword [edi + 0x6c], esi
test eax, eax
mov dword [edi + 0x4ec], esi
mov dword [esp + 0x3c], edx
jle 0x4fcb3c
lea edx, [edi + 0x88]
mov eax, dword [ecx + 0x40]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x44]
mov dword [edx + 0xc], eax
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
fcom qword [ecx + 0x40]
fnstsw ax
test ah, 0x41
jne 0x4fcb0d
fstp st(0)
fld qword [ecx + 0x40]
fld qword [esp + 0x3c]
fcomp qword [ecx]
fnstsw ax
test ah, 1
je 0x4fcb27
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov eax, dword [edi + 0x4cc]
inc esi
add ecx, 8
add edx, 0x28
cmp esi, eax
jl 0x4fcae8
fst qword [esp + 0x6c]
fsubr qword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x28], ecx
fcom qword [0x5ff518]
fnstsw ax
test ah, 1
jne 0x4fcb6b
fmul qword [0x5ff4e0]
inc ecx
fcom qword [0x5ff518]
fnstsw ax
test ah, 1
je 0x4fcb53
mov dword [esp + 0x28], ecx
fcom qword [0x5fd8a8]
fnstsw ax
test ah, 1
je 0x4fcb90
fmul qword [0x5ff518]
dec ecx
fcom qword [0x5fd8a8]
fnstsw ax
test ah, 1
jne 0x4fcb78
mov dword [esp + 0x28], ecx
fstp st(0)
fld qword [0x5ff518]
neg ecx
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
call fcn.005dffc6
fstp qword [esp + 0x64]
fld qword [0x5ff518]
fild dword [esp + 0x28]
call fcn.005dffc6
fld qword [esp + 0x3c]
fmul qword [esp + 0x64]
fadd qword [0x5fd8a8]
call fcn.005dfdf0
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fmul st(1)
fstp qword [esp + 0x3c]
fld qword [esp + 0x6c]
fmul qword [esp + 0x64]
call fcn.005dfdf0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
fimul dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov dword [edi + 0x88], ecx
mov ecx, edi
mov dword [edi + 0x8c], edx
fstp qword [edi + 0x90]
call fcn.004fcce0
mov ecx, edi
call fcn.004fce00
jmp 0x4fcc40
push 0x1f4
lea ecx, [esp + 0x30]
call fcn.005df18a
mov eax, dword [esp + 0x2c]
push 0
push 0
push eax
call fcn.005df352
push ebp
call dword [0x5fca70]
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 3
call fcn.005df184
lea ecx, [esp + 0x14]
mov byte [esp + 0x290], 2
call fcn.005df184
lea ecx, [esp + 0x10]
mov byte [esp + 0x290], 1
call fcn.005df184
lea ecx, [esp + 0x2c]
mov byte [esp + 0x290], 0
call fcn.005df184
lea ecx, [esp + 0x298]
mov dword [esp + 0x290], 0xffffffff
call fcn.005df184
mov ecx, dword [esp + 0x288]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x284
ret 4