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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5da500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8cc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 8]
mov dword [esp + 0x10], ecx
cmp eax, ecx
jle 0x54e344
xor edi, edi
cmp eax, ecx
jle 0x54e33c
cmp edi, ebx
je 0x54e332
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
mov edx, dword [eax + ebx*4]
push ecx
push edx
call fcn.005a7250
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, eax
jg 0x54e332
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
mov edx, dword [eax + ebx*4]
push ecx
push edx
call fcn.005a7250
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x54e2fc
xor ecx, ecx
mov eax, dword [esi + 8]
inc ebx
cmp ebx, eax
jl 0x54e2f6
mov dword [esp + 0x20], 0x5f09e0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov edi, dword [esi + 8]
mov dword [esp + 0x8e0], ecx
imul edi, edi
cmp edi, ecx
jne 0x54e377
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
jmp 0x54e39c
lea eax, [edi + edi*2]
lea ecx, [edi + eax*4]
shl ecx, 3
push ecx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x24], eax
push edi
push eax
call fcn.00550040
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
lea ecx, [esp + 0xe4]
call fcn.005a7170
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xe4]
push edx
mov byte [esp + 0x8e4], 1
call fcn.005a7280
lea ecx, [esp + 0x738]
mov edi, eax
call fcn.005a1970
push edi
lea ecx, [esp + 0x73c]
mov byte [esp + 0x8e4], 2
call fcn.00594540
lea ecx, [esp + 0x2ac]
call fcn.005a2630
lea ecx, [esp + 0xc4]
mov byte [esp + 0x8e0], 3
call fcn.004b6ca0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x8e0], 4
call fcn.0051dce0
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x8e0], 5
call fcn.0051dce0
mov eax, dword [esi + 8]
xor ebx, ebx
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x8e0], 6
mov dword [esp + 0x10], edi
jle 0x54e595
jmp 0x54e44d
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
push ecx
lea ecx, [esp + 0x120]
call fcn.005201a0
mov eax, dword [esi + 8]
lea ebx, [edi + 1]
cmp ebx, eax
mov dword [esp + 0x34], ebx
jge 0x54e584
mov edx, dword [esi + 4]
lea ecx, [esp + 0x1e4]
mov eax, dword [edx + ebx*4]
push eax
call fcn.005201a0
lea ecx, [esp + 0x738]
lea edx, [esp + 0xc4]
push ecx
lea eax, [esp + 0x1e8]
push edx
lea ecx, [esp + 0x124]
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.005a8600
test eax, eax
je 0x54e574
lea edx, [esp + 0x2ac]
lea eax, [esp + 0xc4]
push edx
push eax
lea ecx, [esp + 0x740]
call fcn.005a19c0
test eax, eax
je 0x54e574
mov eax, dword [esi + 8]
imul eax, edi
add eax, ebx
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2ac]
lea edi, [eax + edx*8]
push edi
push ecx
push 0
call fcn.0054d030
fld qword [esp + 0x1c8]
fsub qword [esp + 0x150]
mov edx, dword [edi]
add esp, 0xc
fsub qword [0x5f09a0]
fld qword [esp + 0x284]
fsub qword [esp + 0x20c]
fsubp st(1)
fstp qword [esp + 0x3c]
fld qword [esp + 0x1c4]
fsub qword [esp + 0x14c]
fsub qword [0x5f09a8]
fld qword [esp + 0x28c]
fsub qword [esp + 0x214]
fsubp st(1)
fstp qword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x18]
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 8]
inc ebx
cmp ebx, eax
jl 0x54e472
mov ebx, dword [esp + 0x34]
mov eax, dword [esi + 8]
mov dword [esp + 0x10], ebx
cmp ebx, eax
jl 0x54e449
xor ebx, ebx
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x9c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
jle 0x54e5ed
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov ecx, edi
call fcn.0056cb50
test al, al
jne 0x54e5df
mov ecx, edi
call fcn.005702b0
mov ebx, eax
lea edx, [esp + 0x9c]
mov ecx, edi
push edx
push eax
call fcn.005703f0
cmp eax, ebx
jne 0x54e5c9
xor ebx, ebx
mov eax, dword [esp + 0x10]
add edi, 0x68
dec eax
mov dword [esp + 0x10], eax
jne 0x54e5b5
mov dword [esp + 0x60], 0x5f09cc
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x8e0], 7
cmp eax, ebx
mov edi, eax
jne 0x54e624
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
jmp 0x54e646
lea eax, [eax + eax*4]
shl eax, 2
push eax
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x64], eax
push edi
push eax
call fcn.0040ce50
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x48], 0x5f09b8
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0xc0]
mov byte [esp + 0x8e0], 8
cmp eax, ebx
mov edi, eax
jne 0x54e67d
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
jmp 0x54e69f
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
push edi
push eax
call fcn.0040d460
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
xor edx, edx
mov ecx, 0xa
mov dword [esp + 0x88], edx
xor eax, eax
lea edi, [esp + 0x9c]
mov dword [esp + 0x8c], edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x98], edx
mov dword [esp + 0x10], edi
jle 0x54e7ad
mov ebx, dword [esp + 0x24]
mov ecx, ebx
call fcn.0056cb50
test al, al
jne 0x54e797
mov ecx, dword [esi + 8]
mov eax, edi
cdq
idiv ecx
mov dword [esp + 0x88], eax
mov eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x34], ecx
mov ecx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x8c], edx
call fcn.0056c0e0
mov edi, eax
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x9c]
push edx
push ecx
push eax
mov ecx, ebx
call fcn.00570970
cmp eax, edi
jne 0x54e733
mov eax, dword [esp + 0x34]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x64]
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
sub edx, eax
lea eax, [eax + eax*4]
push edx
lea edx, [ecx + eax*8]
lea eax, [esp + 0x90]
push edx
push eax
call fcn.0054d970
mov eax, dword [esp + 0xa8]
mov edi, dword [esp + 0x20]
add esp, 0x10
inc eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x28]
inc edi
add ebx, 0x68
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x54e6ea
xor ebx, ebx
mov eax, dword [esi + 8]
xor edi, edi
cmp eax, ebx
jle 0x54e7e0
mov ecx, dword [esi + 4]
sub esp, 8
sub esp, 8
mov ecx, dword [ecx + edi*4]
fld qword [ecx + 0x30]
mov edx, dword [ecx]
fchs
fstp qword [esp + 8]
fld qword [ecx + 0x28]
fchs
fstp qword [esp]
call dword [edx + 0x18]
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x54e7b6
push 0x620768
lea ecx, [esp + 0x60]
call sub.mfc42u.dll_CString::CString_2
mov eax, dword [esp + 0x5c]
push 0x1001
push eax
lea ecx, [esp + 0x32c]
call fcn.004b4ed0
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x324]
lea ecx, [esp + 0x14]
push 4
push ecx
lea ecx, [esp + 0x32c]
mov byte [esp + 0x8e8], 0xa
mov dword [esp + 0x1c], eax
call dword [edx + 0x40]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x324]
lea ecx, [esp + 0x14]
push 4
push ecx
lea ecx, [esp + 0x32c]
mov dword [esp + 0x1c], eax
call dword [edx + 0x40]
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x324]
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x32c]
mov dword [esp + 0x1c], ebx
call dword [edx + 0x40]
xor edi, edi
mov dword [esp + 0x74], 0x5e27c0
mov dword [esp + 0x78], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edi
mov eax, dword [esi + 8]
mov byte [esp + 0x8e0], 0xb
cmp eax, edi
jle 0x54e94b
mov ecx, dword [esi + 4]
lea eax, [esp + 0x74]
push eax
mov ecx, dword [ecx + edi*4]
call fcn.0056c8f0
mov edx, dword [esi + 4]
push 8
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x328]
mov edx, dword [eax + 0x4c]
lea eax, [esp + 0x40]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x328]
push eax
call dword [edx + 0x40]
mov eax, dword [esi + 4]
push 8
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0x50]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x328]
mov eax, dword [ecx + 0x54]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x32c]
mov dword [esp + 0x40], eax
call dword [edx + 0x40]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x324]
lea ecx, [esp + 0x14]
push 4
push ecx
lea ecx, [esp + 0x32c]
mov dword [esp + 0x1c], eax
call dword [edx + 0x40]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
shl eax, 4
push eax
push ecx
lea ecx, [esp + 0x32c]
call sub.mfc42u.dll_CFile::Write
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x54e89e
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
lea ecx, [esp + 0x324]
lea edx, [eax + eax*4]
shl edx, 2
push edx
push edi
call sub.mfc42u.dll_CFile::Write
mov esi, dword [esp + 0x4c]
lea eax, [ebx + ebx*4]
shl eax, 3
push eax
push esi
lea ecx, [esp + 0x32c]
call sub.mfc42u.dll_CFile::Write
mov dword [esp + 0x74], 0x5e27c0
mov eax, dword [esp + 0x78]
mov byte [esp + 0x8e0], 0xc
test eax, eax
je 0x54e9a0
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x324]
mov dword [esp + 0x74], 0x5e262c
mov byte [esp + 0x8e0], 9
call fcn.004b4f00
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8e0], 8
call sub.mfc42u.dll_CString::CString
mov dword [esp + 0x48], 0x5f09b8
test esi, esi
mov byte [esp + 0x8e0], 0xd
je 0x54e9ea
push esi
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x60], 0x5f09cc
test edi, edi
mov byte [esp + 0x8e0], 0xe
je 0x54ea07
push edi
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x8e0], 5
call fcn.0051ddf0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x8e0], 4
call fcn.0051ddf0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x8e0], 3
call fcn.0042bd50
lea ecx, [esp + 0x2ac]
mov byte [esp + 0x8e0], 2
call fcn.005a26a0
lea ecx, [esp + 0x738]
mov byte [esp + 0x8e0], 1
call fcn.005a19b0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x8e0], 0
call fcn.005a71c0
mov dword [esp + 0x20], 0x5f09e0
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x8e0], 0xf
test ebx, ebx
je 0x54eabe
mov eax, dword [esp + 0x28]
mov esi, ebx
test eax, eax
je 0x54eab5
lea edi, [eax]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x10]
add esi, 0x68
dec edi
jne 0x54eaa6
push ebx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x8d8]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret