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

Disassembly:
push 0xffffffffffffffff
push 0x5db629
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x518
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x258]
mov dword [esp + 0x34], edi
call fcn.0051dce0
lea ecx, [esp + 0x190]
mov dword [esp + 0x530], 0
call fcn.0051dce0
lea ecx, [esp + 0x320]
mov byte [esp + 0x530], 1
call fcn.0051dce0
mov ebx, dword [esp + 0x538]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov byte [esp + 0x534], 2
call fcn.0050b020
mov ecx, eax
call fcn.004b6ed0
lea ecx, [esp + 0x100]
call fcn.004ccd50
lea ecx, [esp + 0x70]
mov byte [esp + 0x530], 3
call fcn.0051d410
mov esi, dword [esp + 0x540]
mov byte [esp + 0x530], 4
mov eax, dword [esi + 8]
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.0051d420
test al, al
jne 0x559fdd
lea ecx, [esp + 0x70]
mov byte [esp + 0x530], 3
call fcn.0051d670
lea ecx, [esp + 0x100]
mov byte [esp + 0x530], 2
call fcn.0042bd50
lea ecx, [esp + 0x320]
mov byte [esp + 0x530], 1
call fcn.0051ddf0
lea ecx, [esp + 0x190]
mov byte [esp + 0x530], 0
call fcn.0051ddf0
lea ecx, [esp + 0x258]
mov dword [esp + 0x530], 0xffffffff
call fcn.0051ddf0
fld qword [0x5e2798]
jmp 0x55aad5
lea ecx, [esp + 0x70]
call fcn.0051d600
lea ecx, [esp + 0x70]
push ecx
push esi
mov ecx, ebx
call fcn.0050b0a0
push eax
call fcn.00559e10
add esp, 0xc
mov ecx, ebx
push 1
call fcn.0050c910
test al, al
je 0x55a06d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 1
push 1
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea ecx, [esp + 0x118]
call fcn.004b7bc0
mov ecx, ebx
call fcn.0050b0a0
push eax
lea ecx, [esp + 0x324]
call fcn.00520110
lea eax, [esp + 0x100]
lea ecx, [esp + 0x320]
push eax
call fcn.0051e030
lea ecx, [esp + 0x70]
lea edx, [esp + 0x320]
push ecx
push esi
push edx
fstp st(0)
call fcn.00559e10
add esp, 0xc
push 0x11
mov ecx, ebx
call fcn.0050c910
test al, al
je 0x55a143
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0
push 1
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x118]
call fcn.004b7bc0
mov ecx, ebx
call fcn.0050b0a0
push eax
lea ecx, [esp + 0x25c]
call fcn.00520110
lea ecx, [esp + 0x100]
push ecx
lea ecx, [esp + 0x25c]
call fcn.0051e030
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 1
push 0
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea ecx, [esp + 0x118]
fstp st(0)
call fcn.004b7bc0
mov ecx, ebx
call fcn.0050b0a0
push eax
lea ecx, [esp + 0x194]
call fcn.00520110
lea eax, [esp + 0x100]
lea ecx, [esp + 0x190]
push eax
call fcn.0051e030
lea ecx, [esp + 0x70]
lea edx, [esp + 0x258]
push ecx
push esi
push edx
fstp st(0)
call fcn.00559e10
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x19c]
push eax
push esi
push ecx
call fcn.00559e10
add esp, 0x18
lea edx, [esp + 0x70]
push 0
push edx
mov ecx, edi
call fcn.0055bb90
mov ecx, ebx
call fcn.0050b080
fcomp qword [esp + 0x550]
fnstsw ax
test ah, 1
je 0x55a223
fld qword [0x5e2798]
mov ecx, dword [edi + 0x74]
xor eax, eax
fst qword [esp + 0x14]
test ecx, ecx
jle 0x55a191
mov edx, dword [edi + 0x70]
mov esi, dword [edx]
inc eax
add edx, 4
cmp eax, ecx
fadd qword [esi + 8]
jl 0x55a180
fst qword [esp + 0x14]
fcomp qword [esp + 0x550]
fnstsw ax
test ah, 1
je 0x55a20c
lea ecx, [esp + 0x70]
mov byte [esp + 0x530], 3
call fcn.0051d670
lea ecx, [esp + 0x100]
mov byte [esp + 0x530], 2
call fcn.0042bd50
lea ecx, [esp + 0x320]
mov byte [esp + 0x530], 1
call fcn.0051ddf0
lea ecx, [esp + 0x190]
mov byte [esp + 0x530], 0
call fcn.0051ddf0
lea ecx, [esp + 0x258]
mov dword [esp + 0x530], 0xffffffff
call fcn.0051ddf0
fld qword [esp + 0x14]
jmp 0x55aad5
mov eax, dword [edi + 0x70]
push 0x559b80
push 4
push ecx
push eax
call dword [sym.imp.msvcrt.dll_qsort]
add esp, 0x10
jmp 0x55a250
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x70]
push 0x559bb0
push 4
push eax
push ecx
call dword [sym.imp.msvcrt.dll_qsort]
mov ecx, dword [esp + 0x54c]
add esp, 0x10
call fcn.004b71f0
fadd st(0), st(0)
fstp qword [esp + 0x550]
lea ecx, [esp + 0x3e8]
call fcn.0058dea0
mov ebx, dword [esp + 0x548]
xor esi, esi
mov byte [esp + 0x530], 5
mov eax, dword [ebx + 8]
test eax, eax
jle 0x55a294
mov eax, dword [ebx + 4]
mov ecx, dword [eax + esi*4]
call fcn.0050b0a0
push eax
lea ecx, [esp + 0x3ec]
call fcn.0058e080
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x55a274
mov ecx, dword [esp + 0x544]
call fcn.0050b0a0
push eax
lea ecx, [esp + 0x3ec]
call fcn.0058e080
mov eax, dword [edi + 0x74]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], ebx
jle 0x55aa59
mov ebp, dword [esp + 0x54c]
fld qword [esp + 0x14]
fcomp qword [esp + 0x550]
fnstsw ax
test ah, 0x41
je 0x55aa59
mov ecx, dword [edi + 0x70]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x538]
call fcn.0050b080
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x41
je 0x55aa49
lea ecx, [esp + 0x50]
call fcn.004b6ca0
fild dword [esi + 4]
mov byte [esp + 0x530], 6
fdiv qword [0x5f0a50]
fst qword [esp + 0x50]
fild dword [esi]
fdiv qword [0x5f0a50]
fst qword [esp + 0x58]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fdiv qword [0x5f0a50]
fadd st(2)
fstp qword [esp + 0x60]
mov eax, dword [esi + 0x2c]
mov esi, dword [esp + 0x53c]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push ecx
fdiv qword [0x5f0a50]
mov ecx, dword [esi]
push edx
push eax
push ecx
lea ecx, [esp + 0x60]
faddp st(1)
fxch st(1)
fsub qword [0x5e79e0]
fstp qword [esp + 0x60]
fld qword [esp + 0x68]
fsub qword [0x5e79e0]
fstp qword [esp + 0x68]
fld qword [esp + 0x70]
fadd qword [0x5e79e0]
fstp qword [esp + 0x70]
fadd qword [0x5e79e0]
fstp qword [esp + 0x78]
call fcn.004b6fc0
lea edx, [esp + 0x50]
push edx
push esi
call fcn.004b6bc0
fld qword [esp + 0x58]
fsub qword [0x5efdc0]
add esp, 8
lea ecx, [esp + 0x150]
fstp qword [esp + 0x50]
fld qword [esp + 0x58]
fsub qword [0x5efdc0]
fstp qword [esp + 0x58]
fld qword [esp + 0x60]
fadd qword [0x5efdc0]
fstp qword [esp + 0x60]
fld qword [esp + 0x68]
fadd qword [0x5efdc0]
fstp qword [esp + 0x68]
call fcn.0056b6a0
xor eax, eax
mov dword [esp + 0x3c], 0x5e2824
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x548]
xor esi, esi
mov byte [esp + 0x530], 8
cmp dword [ecx + 8], eax
jle 0x55a486
mov edx, dword [esp + 0x548]
mov eax, dword [edx + 4]
lea edx, [esp + 0x50]
push edx
mov ecx, dword [eax + esi*4]
mov dword [esp + 0x14], ecx
call fcn.0050b0e0
test al, al
je 0x55a475
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
mov dword [esp + 0x3c], eax
inc eax
push eax
lea ecx, [esp + 0x44]
call fcn.0046d900
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x548]
inc esi
cmp esi, dword [eax + 8]
jl 0x55a432
mov eax, dword [esp + 0x44]
mov esi, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x44]
call fcn.0046d900
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x544]
lea eax, [esp + 0x150]
mov dword [ecx + esi*4], edx
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.00591dd0
add esp, 0xc
test al, al
jne 0x55a4e2
mov dword [esp + 0x3c], 0x5e2824
mov eax, dword [esp + 0x40]
mov byte [esp + 0x530], 9
test eax, eax
je 0x55aa1c
jmp 0x55aa13
mov esi, dword [esp + 0x538]
lea eax, [esp + 0xc0]
push eax
mov eax, dword [edi + 0x70]
lea ecx, [esp + 0x3ec]
lea edx, [esp + 0x154]
push ecx
mov ecx, dword [eax + ebx*4]
push edx
push ecx
mov ecx, esi
call fcn.0050b0a0
lea edx, [esp + 0x60]
push eax
push edx
push 0
call fcn.00559d30
add esp, 0x1c
test al, al
je 0x55a5d9
mov ecx, esi
call fcn.0050b0a0
fld qword [esp + 0xd8]
fadd qword [eax + 0xa0]
add eax, 0xa0
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
fstp qword [esp + 0x94]
fld qword [esp + 0xe4]
fadd qword [eax + 8]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x24], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x20], eax
push ecx
fstp qword [esp + 0xa0]
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov ecx, ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.0054a8d0
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x90]
shl esi, 4
mov ecx, dword [esp + 0x98]
add esi, eax
mov eax, dword [esp + 0x94]
mov dword [esi], edx
mov edx, dword [esp + 0x9c]
fld qword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + ebx*4]
fadd qword [ecx + 8]
fstp qword [esp + 0x14]
jmp 0x55a9fb
push 1
mov ecx, esi
call fcn.0050c910
test al, al
je 0x55a9fb
lea edx, [esp + 0xc0]
lea eax, [esp + 0x3e8]
push edx
mov edx, dword [edi + 0x70]
lea ecx, [esp + 0x154]
push eax
mov eax, dword [edx + ebx*4]
push ecx
lea ecx, [esp + 0x32c]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
push 0
call fcn.00559d30
add esp, 0x1c
test al, al
je 0x55a6d3
fld qword [esp + 0x3c0]
fadd qword [esp + 0xd8]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
fstp qword [esp + 0xa4]
fld qword [esp + 0x3cc]
fadd qword [esp + 0xe4]
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x24], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x20], eax
push ecx
fstp qword [esp + 0xb0]
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov ecx, ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.0054a8d0
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0xa0]
shl esi, 4
mov ecx, dword [esp + 0xa8]
add esi, eax
mov eax, dword [esp + 0xa4]
mov dword [esi], edx
mov edx, dword [esp + 0xac]
fld qword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + ebx*4]
fadd qword [ecx + 8]
fstp qword [esp + 0x14]
jmp 0x55a9fb
push 0x11
mov ecx, esi
call fcn.0050c910
test al, al
je 0x55a9fb
lea edx, [esp + 0xc0]
lea eax, [esp + 0x3e8]
push edx
mov edx, dword [edi + 0x70]
lea ecx, [esp + 0x154]
push eax
mov eax, dword [edx + ebx*4]
push ecx
lea ecx, [esp + 0x264]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
push 0
call fcn.00559d30
add esp, 0x1c
test al, al
je 0x55a7cd
fld qword [esp + 0x2f8]
fadd qword [esp + 0xd8]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
fstp qword [esp + 0x84]
fld qword [esp + 0x304]
fadd qword [esp + 0xe4]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x24], ecx
lea ecx, [esi + 1]
mov dword [esp + 0x20], eax
push ecx
fstp qword [esp + 0x90]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov ecx, ebp
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.0054a8d0
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x80]
shl esi, 4
mov ecx, dword [esp + 0x88]
add esi, eax
mov eax, dword [esp + 0x84]
mov dword [esi], edx
mov edx, dword [esp + 0x8c]
fld qword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x70]
mov ecx, dword [eax + ebx*4]
fadd qword [ecx + 8]
fstp qword [esp + 0x14]
jmp 0x55a9fb
lea edx, [esp + 0xc0]
lea eax, [esp + 0x3e8]
push edx
mov edx, dword [edi + 0x70]
lea ecx, [esp + 0x154]
push eax
mov eax, dword [edx + ebx*4]
push ecx
lea ecx, [esp + 0x19c]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
push 0
call fcn.00559d30
add esp, 0x1c
test al, al
je 0x55a9fb
fld qword [esp + 0x230]
fadd qword [esp + 0xd8]
fstp qword [esp + 0xb0]
fld qword [esp + 0x238]
fadd qword [esp + 0xe0]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
fstp qword [esp + 0xb8]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 8]
mov esi, edx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x2c], esi
lea ebx, [esi + 1]
test ebx, ebx
jne 0x55a899
test eax, eax
je 0x55a88c
push eax
mov dword [esp + 0x30], edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebp + 4], 0
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x55a9b5
test eax, eax
jne 0x55a8d3
mov edi, ebx
shl edi, 4
push edi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebp + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x34]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x55a9b5
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jg 0x55a918
cmp edx, ebx
jge 0x55a908
mov ecx, ebx
sub ecx, edx
shl edx, 4
add edx, eax
xor eax, eax
shl ecx, 4
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x34]
mov dword [ebp + 8], ebx
jmp 0x55a9b5
jle 0x55a910
sub edx, ebx
mov dword [esp + 0x2c], edx
mov dword [ebp + 8], ebx
jmp 0x55a9b5
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x55a942
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x55a936
mov eax, 4
jmp 0x55a942
cmp eax, 0x400
jle 0x55a942
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x55a950
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
shl eax, 4
push eax
call sub.mfc42u.dll_operatornew
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], eax
sub edx, ecx
shl ecx, 4
add ecx, eax
push edx
push ecx
call fcn.00505af0
mov eax, dword [ebp + 4]
push eax
call sub.mfc42u.dll_operatordelete
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add esp, 4
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0xb0]
shl esi, 4
mov ecx, dword [esp + 0xb8]
add esi, eax
mov eax, dword [esp + 0xb4]
mov dword [esi], edx
mov edx, dword [esp + 0xbc]
fld qword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x30]
mov ebx, ecx
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x70]
mov edx, dword [eax + ecx*4]
fadd qword [edx + 8]
fstp qword [esp + 0x14]
mov dword [esp + 0x3c], 0x5e2824
mov eax, dword [esp + 0x40]
mov byte [esp + 0x530], 0xa
test eax, eax
je 0x55aa1c
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x150]
mov dword [esp + 0x3c], 0x5e262c
mov byte [esp + 0x530], 6
call fcn.004b7310
lea ecx, [esp + 0x50]
mov byte [esp + 0x530], 5
call fcn.0042bd50
mov eax, dword [edi + 0x74]
inc ebx
cmp ebx, eax
mov dword [esp + 0x30], ebx
jl 0x55a2d5
lea ecx, [esp + 0x3e8]
mov byte [esp + 0x530], 4
call fcn.0058df70
lea ecx, [esp + 0x70]
mov byte [esp + 0x530], 3
call fcn.0051d670
lea ecx, [esp + 0x100]
mov byte [esp + 0x530], 2
call fcn.0042bd50
lea ecx, [esp + 0x320]
mov byte [esp + 0x530], 1
call fcn.0051ddf0
lea ecx, [esp + 0x190]
mov byte [esp + 0x530], 0
call fcn.0051ddf0
lea ecx, [esp + 0x258]
mov dword [esp + 0x530], 0xffffffff
call fcn.0051ddf0
fld qword [esp + 0x14]
mov ecx, dword [esp + 0x528]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x524
ret 0x20