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

Disassembly:
push 0xffffffffffffffff
push 0x5da315
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x478
mov ecx, dword [esp + 0x49c]
push ebx
push ebp
push esi
push edi
xor esi, esi
push 0xffffffffffffffff
push esi
call fcn.0047f4c0
mov ebx, dword [esp + 0x4a0]
mov edi, dword [esp + 0x49c]
xor ebp, ebp
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], ebp
cmp eax, esi
jle 0x54ca63
mov dword [esp + 0x10], esi
mov eax, dword [edi + 8]
xor ebp, ebp
cmp eax, esi
jle 0x54ca40
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov ecx, dword [eax + ebp*4]
add esi, edx
call fcn.0050b0a0
mov ecx, dword [esi]
push eax
call fcn.0050b0a0
push eax
call fcn.005a7250
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp ecx, eax
jg 0x54ca36
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x10]
mov edx, dword [ebx + 4]
mov ecx, dword [ecx + ebp*4]
add esi, edx
call fcn.0050b0a0
mov ecx, dword [esi]
push eax
call fcn.0050b0a0
push eax
call fcn.005a7250
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
inc ebp
cmp ebp, eax
jl 0x54c9e0
xor esi, esi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x54c9d7
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], 0x5f07b8
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x490], esi
call fcn.004b6ca0
lea edx, [esp + 0x68]
mov byte [esp + 0x490], 1
push edx
push edi
call fcn.0050b890
push 0x78
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call sub.mfc42u.dll_operatornew
add esp, 0xc
mov dword [esp + 0x18], eax
cmp eax, esi
mov byte [esp + 0x490], 2
je 0x54cae1
mov ecx, eax
call fcn.005a2630
mov esi, eax
lea eax, [esp + 0x68]
lea ecx, [esp + 0xf8]
push eax
mov byte [esp + 0x494], 1
call fcn.004b7270
mov ecx, dword [esp + 0x498]
mov byte [esp + 0x490], 3
push ecx
lea ecx, [esp + 0x8c]
call fcn.004b7270
lea edx, [esp + 0x54]
lea eax, [esp + 0xf8]
push edx
lea ecx, [esp + 0x8c]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x49c], 4
call fcn.005a2a90
cmp eax, 2
lea ecx, [esp + 0x88]
setne byte [esp + 0x1f]
mov byte [esp + 0x490], 3
call fcn.004b7310
lea ecx, [esp + 0xf8]
mov byte [esp + 0x490], 1
call fcn.004b7310
mov al, byte [esp + 0x1f]
test al, al
je 0x54cbae
lea ecx, [esp + 0x68]
mov byte [esp + 0x490], 0
call fcn.0042bd50
mov dword [esp + 0x20], 0x5f07b8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x490], 5
test eax, eax
je 0x54cba7
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
xor eax, eax
jmp 0x54cf3b
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
mov dword [esp + 0x1c], eax
inc eax
push eax
lea ecx, [esp + 0x28]
call fcn.0046d900
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [edx + eax*4], esi
mov ecx, dword [esi + 0x18]
add esi, 0x38
add ebp, ecx
push esi
lea ecx, [esp + 0x6c]
call fcn.004b6d90
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x38]
call fcn.004b6cb0
fld qword [esp + 0x34]
fsub qword [0x5e27e0]
lea ecx, [esp + 0xc0]
mov byte [esp + 0x490], 6
fstp qword [esp + 0x34]
fld qword [esp + 0x3c]
fsub qword [0x5e27e0]
fstp qword [esp + 0x3c]
fld qword [esp + 0x44]
fadd qword [0x5e27e0]
fstp qword [esp + 0x44]
fld qword [esp + 0x4c]
fadd qword [0x5e27e0]
fstp qword [esp + 0x4c]
call fcn.005a7170
push ebp
lea ecx, [esp + 0xc4]
mov byte [esp + 0x494], 7
call fcn.005a7280
lea ecx, [esp + 0x130]
mov esi, eax
call fcn.005a20d0
push esi
lea ecx, [esp + 0x134]
mov byte [esp + 0x494], 8
call fcn.00594540
lea ecx, [esp + 0x2e8]
call fcn.005a1970
push esi
lea ecx, [esp + 0x2ec]
mov byte [esp + 0x494], 9
call fcn.00594540
mov eax, dword [ebx + 8]
test eax, eax
jle 0x54ce84
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + edx]
call fcn.0050b000
test eax, eax
jne 0x54ce6a
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
test eax, eax
jle 0x54ce6a
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
mov ebp, dword [esp + 0x4a8]
mov eax, dword [edi + 4]
add esi, ecx
mov ecx, dword [esp + 0x4a4]
push ebp
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x138]
push edx
mov ecx, dword [eax + ecx*4]
call fcn.0050b0a0
mov ecx, dword [esi]
push eax
call fcn.0050b0a0
lea edx, [esp + 0x78]
push eax
push edx
push 0
lea ecx, [esp + 0xdc]
call fcn.005a89b0
test eax, eax
je 0x54ce56
lea eax, [esp + 0x34]
lea ecx, [esp + 0x130]
push eax
call fcn.005a21b0
cmp eax, 1
jne 0x54cd84
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2d8]
mov esi, eax
add eax, ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
call fcn.0046d900
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2d4]
lea eax, [edx + esi*4]
mov edx, dword [esp + 0x2d8]
test edx, edx
je 0x54ce56
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x54cd72
jmp 0x54ce56
jle 0x54ce56
lea ecx, [esp + 0x88]
call fcn.004b6ca0
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 4]
add esi, eax
mov eax, dword [esp + 0x4a4]
push ebp
lea ecx, [esp + 0x2ec]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x94]
mov byte [esp + 0x49c], 0xa
mov ecx, dword [eax + ecx*4]
push edx
call fcn.0050b0a0
mov ecx, dword [esi]
push eax
call fcn.0050b0a0
push eax
lea ecx, [esp + 0xd8]
call fcn.005a86d0
push 0x78
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x490], 0xb
je 0x54ce09
mov ecx, eax
call fcn.005a2630
mov esi, eax
jmp 0x54ce0b
xor esi, esi
lea edx, [esp + 0x88]
push esi
push edx
lea ecx, [esp + 0x2f0]
mov byte [esp + 0x498], 0xa
call fcn.005a19c0
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
mov ebp, eax
inc eax
push eax
lea ecx, [esp + 0x28]
call fcn.0046d900
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x88]
mov byte [esp + 0x490], 9
mov dword [eax + ebp*4], esi
call fcn.0042bd50
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x54ccd0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x54ccaa
lea ecx, [esp + 0x130]
call fcn.005945b0
mov ecx, dword [esp + 0x4ac]
mov eax, dword [edi + 4]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [eax]
push edx
call fcn.0050b0a0
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.0054bcc0
add esp, 0x10
lea ecx, [esp + 0x2e8]
mov esi, eax
mov byte [esp + 0x490], 8
call fcn.005a19b0
lea ecx, [esp + 0x130]
mov byte [esp + 0x490], 7
call fcn.005a2130
lea ecx, [esp + 0xc0]
mov byte [esp + 0x490], 6
call fcn.005a71c0
lea ecx, [esp + 0x34]
mov byte [esp + 0x490], 1
call fcn.0042bd50
lea ecx, [esp + 0x68]
mov byte [esp + 0x490], 0
call fcn.0042bd50
mov dword [esp + 0x20], 0x5f07b8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x490], 0xc
test eax, eax
je 0x54cf39
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x488]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x484
ret