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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5da444
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x49c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebx + 8]
xor edi, edi
xor esi, esi
cmp eax, edi
mov dword [esp + 0x10], edi
jle 0x54da52
cmp eax, edi
jle 0x54da4a
cmp edi, esi
je 0x54da40
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edi*4]
mov edx, dword [eax + esi*4]
push ecx
push edx
call fcn.005a7250
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, eax
jg 0x54da40
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edi*4]
mov edx, dword [eax + esi*4]
push ecx
push edx
call fcn.005a7250
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
inc edi
cmp edi, eax
jl 0x54da0a
xor edi, edi
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x54da06
mov dword [esp + 0x44], 0x5f09e0
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov esi, dword [ebx + 8]
mov dword [esp + 0x4b0], edi
imul esi, esi
cmp esi, edi
jne 0x54da85
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
jmp 0x54daaa
lea eax, [esi + esi*2]
lea ecx, [esi + eax*4]
shl ecx, 3
push ecx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x48], eax
push esi
push eax
call fcn.00550040
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0xc8]
call fcn.005a7170
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc8]
push edx
mov byte [esp + 0x4b4], 1
call fcn.005a7280
lea ecx, [esp + 0x308]
mov esi, eax
call fcn.005a1970
push esi
lea ecx, [esp + 0x30c]
mov byte [esp + 0x4b4], 2
call fcn.00594540
lea ecx, [esp + 0x290]
call fcn.005a2630
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4b0], 3
call fcn.004b6ca0
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x4b0], 4
call fcn.0051dce0
lea ecx, [esp + 0x100]
mov byte [esp + 0x4b0], 5
call fcn.0051dce0
mov eax, dword [ebx + 8]
xor esi, esi
xor edi, edi
cmp eax, esi
mov byte [esp + 0x4b0], 6
mov dword [esp + 0x18], edi
jle 0x54dca3
jmp 0x54db5b
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edi*4]
push ecx
lea ecx, [esp + 0x1cc]
call fcn.005201a0
mov eax, dword [ebx + 8]
lea esi, [edi + 1]
cmp esi, eax
mov dword [esp + 0x14], esi
jge 0x54dc92
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x100]
mov eax, dword [edx + esi*4]
push eax
call fcn.005201a0
lea ecx, [esp + 0x308]
lea edx, [esp + 0xa8]
push ecx
lea eax, [esp + 0x104]
push edx
lea ecx, [esp + 0x1d0]
push eax
push ecx
lea ecx, [esp + 0xd8]
call fcn.005a8600
test eax, eax
je 0x54dc82
lea edx, [esp + 0x290]
lea eax, [esp + 0xa8]
push edx
push eax
lea ecx, [esp + 0x310]
call fcn.005a19c0
test eax, eax
je 0x54dc82
mov eax, dword [ebx + 8]
imul eax, edi
add eax, esi
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x290]
lea edi, [eax + edx*8]
push edi
push ecx
push 0
call fcn.0054d030
fld qword [esp + 0x274]
fsub qword [esp + 0x1fc]
mov edx, dword [edi]
add esp, 0xc
fsub qword [0x5f09a0]
fld qword [esp + 0x1a0]
fsub qword [esp + 0x128]
fsubp st(1)
fstp qword [esp + 0x24]
fld qword [esp + 0x270]
fsub qword [esp + 0x1f8]
fsub qword [0x5f09a8]
fld qword [esp + 0x1a8]
fsub qword [esp + 0x130]
fsubp st(1)
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x18]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jl 0x54db80
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], esi
cmp esi, eax
jl 0x54db57
xor esi, esi
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4c]
cmp eax, esi
jle 0x54dcfb
mov edi, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov ecx, edi
call fcn.0056cb50
test al, al
jne 0x54dced
mov ecx, edi
call fcn.005702b0
mov esi, eax
lea edx, [esp + 0x80]
mov ecx, edi
push edx
push eax
call fcn.005703f0
cmp eax, esi
jne 0x54dcd7
xor esi, esi
mov eax, dword [esp + 0x1c]
add edi, 0x68
dec eax
mov dword [esp + 0x1c], eax
jne 0x54dcc3
mov dword [esp + 0x6c], 0x5f09cc
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x4b0], 7
cmp eax, esi
mov edi, eax
jne 0x54dd32
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
jmp 0x54dd54
lea eax, [eax + eax*4]
shl eax, 2
push eax
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x70], eax
push edi
push eax
call fcn.0040ce50
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x2c], 0x5f09b8
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x4b0], 8
cmp eax, esi
mov edi, eax
jne 0x54dd8b
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
jmp 0x54ddad
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x30], eax
push edi
push eax
call fcn.0040d460
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
xor edx, edx
mov ecx, 0xa
mov dword [esp + 0x58], edx
xor eax, eax
lea edi, [esp + 0x80]
mov dword [esp + 0x5c], edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
xor edi, edi
cmp eax, esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], edi
jle 0x54e021
mov esi, dword [esp + 0x48]
mov dword [esp + 0x1c], esi
mov ecx, esi
call fcn.0056cb50
test al, al
jne 0x54e009
mov ecx, dword [ebx + 8]
mov eax, edi
cdq
idiv ecx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x58], eax
mov eax, edi
cdq
idiv ecx
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
mov ecx, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], edx
call fcn.0056c0e0
mov dword [esp + 0x14], eax
mov esi, eax
cmp dword [esp + 0x10], 0xffffffff
jne 0x54de90
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x5c]
mov eax, dword [esi + 0x64]
mov edx, dword [ecx + edx*4]
add edx, 0x28
push edx
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [ecx + edx*4]
add eax, 0x28
push eax
call fcn.0054d8a0
add esp, 0x28
test al, al
je 0x54de90
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x80]
push edx
push eax
push esi
call fcn.00570970
mov esi, eax
mov eax, dword [esp + 0x14]
cmp esi, eax
jne 0x54de38
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x40]
lea ecx, [edi + edi*4]
lea eax, [esi + esi*4]
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x34]
shl eax, 3
sub edx, esi
add ecx, eax
push edx
lea edx, [esp + 0x60]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.0054d970
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
add esp, 0x10
inc ecx
cmp eax, 0xffffffff
mov dword [esp + 0x68], ecx
jne 0x54dfcb
mov eax, dword [esp + 0xa0]
mov ecx, edi
cmp edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
jge 0x54dfb2
mov edx, dword [esp + 0xa4]
mov edi, esi
cmp esi, edx
jge 0x54df95
mov esi, dword [esp + 0x14]
cmp dword [eax + esi + 0x20], ecx
jne 0x54df82
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x5c]
mov edx, dword [ecx + edx*4]
add edx, 0x28
push edx
mov edx, dword [eax + esi + 0x1c]
push edx
mov edx, dword [eax + esi + 0x18]
push edx
mov edx, dword [eax + esi + 0x14]
push edx
mov edx, dword [eax + esi + 0x10]
push edx
mov edx, dword [eax + esi + 0xc]
push edx
mov edx, dword [eax + esi + 8]
push edx
mov edx, dword [eax + esi + 4]
mov eax, dword [eax + esi]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [ecx + edx*4]
add eax, 0x28
push eax
call fcn.0054d8a0
add esp, 0x28
test al, al
mov eax, dword [esp + 0x30]
je 0x54dfc1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xa4]
inc edi
add esi, 0x28
cmp edi, edx
jl 0x54df28
mov esi, dword [esp + 0x40]
cmp edi, dword [esp + 0xa4]
je 0x54dfb2
mov edx, dword [esp + 0xa0]
inc ecx
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0x54df17
cmp ecx, dword [esp + 0xa0]
je 0x54dfcf
mov dword [esp + 0x10], ecx
jmp 0x54dfcf
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
jmp 0x54df95
mov eax, dword [esp + 0x30]
cmp esi, dword [esp + 0xa4]
jge 0x54e001
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea ecx, [edx + eax + 0x20]
cmp edi, dword [ecx]
je 0x54dff2
mov dword [ecx], 0xffffffff
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa4]
inc esi
add edx, 0x28
cmp esi, ecx
jl 0x54dfdc
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
inc edi
add esi, 0x68
cmp edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
jl 0x54dded
mov eax, dword [ebx + 8]
lea ecx, [eax*8]
push ecx
call sub.mfc42u.dll_operatornew
mov esi, eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], esi
lea edx, [eax*8]
push edx
call sub.mfc42u.dll_operatornew
mov edx, dword [ebx + 8]
add esp, 8
fld qword [0x5e2798]
xor ecx, ecx
mov dword [esp + 0x10], eax
test edx, edx
jle 0x54e136
mov edi, dword [ebx + 4]
mov edx, eax
mov eax, esi
mov esi, edx
sub eax, esi
mov dword [esp + 0x14], eax
jmp 0x54e076
mov eax, dword [esp + 0x14]
mov esi, dword [edi + ecx*4]
fld qword [esi + 0x48]
fstp qword [eax + edx]
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [edx], esi
mov dword [edx + 4], eax
mov edi, dword [ebx + 4]
mov esi, dword [edi + ecx*4]
fld qword [esi + 0x38]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x54e0a9
fstp st(0)
fld qword [esi + 0x38]
mov eax, dword [ebx + 8]
inc ecx
add edx, 8
cmp ecx, eax
jl 0x54e072
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
fstp st(0)
mov ecx, dword [ebx + 8]
mov edi, dword [ebp + 8]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x74]
push edx
push ecx
push eax
push esi
mov ecx, edi
call fcn.004b7040
fsub qword [0x5e3e08]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.004b7040
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.004b7060
sub esp, 8
fstp qword [esp]
call fcn.0054d390
add esp, 0x2c
test al, al
je 0x54e188
mov eax, dword [ebx + 8]
xor edi, edi
test eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
jle 0x54e188
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
sub eax, edx
mov dword [esp + 0x14], eax
jmp 0x54e13e
fstp st(0)
jmp 0x54e0be
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + edi*4]
sub esp, 8
fld qword [eax + esi]
fsub qword [ecx + 0x30]
mov edx, dword [ecx]
sub esp, 8
fstp qword [esp + 8]
fld qword [esi]
fsub qword [ecx + 0x28]
fstp qword [esp]
call dword [edx + 0x18]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + edi*4]
fld qword [edx + 0x38]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
jne 0x54e179
fld qword [edx + 0x38]
fstp qword [esp + 0x24]
mov eax, dword [ebx + 8]
inc edi
add esi, 8
cmp edi, eax
jl 0x54e13a
mov esi, dword [esp + 0x1c]
push esi
call sub.mfc42u.dll_operatordelete
mov eax, dword [esp + 0x14]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 8
mov dword [esp + 0x2c], 0x5f09b8
mov eax, dword [esp + 0x30]
mov byte [esp + 0x4b0], 9
test eax, eax
je 0x54e1bc
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x2c], 0x5e262c
mov dword [esp + 0x6c], 0x5f09cc
mov eax, dword [esp + 0x70]
mov byte [esp + 0x4b0], 0xa
test eax, eax
je 0x54e1e5
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x100]
mov byte [esp + 0x4b0], 5
call fcn.0051ddf0
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x4b0], 4
call fcn.0051ddf0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x4b0], 3
call fcn.0042bd50
lea ecx, [esp + 0x290]
mov byte [esp + 0x4b0], 2
call fcn.005a26a0
lea ecx, [esp + 0x308]
mov byte [esp + 0x4b0], 1
call fcn.005a19b0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x4b0], 0
call fcn.005a71c0
mov dword [esp + 0x44], 0x5f09e0
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x4b0], 0xb
test ebx, ebx
je 0x54e29c
mov eax, dword [esp + 0x4c]
mov edi, ebx
test eax, eax
je 0x54e293
lea esi, [eax]
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 0x10]
add edi, 0x68
dec esi
jne 0x54e284
push ebx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x4a8]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret