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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5da180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, 0x5f07b8
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov byte [esp + 0xa0], 3
mov dword [esp + 0x18], edi
mov eax, dword [esi + 8]
mov dword [esp + 0x34], edi
cmp eax, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], ecx
jle 0x54bbd7
mov eax, dword [esi + 4]
mov dword [esp + 0x28], edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [ecx + 8]
mov edx, dword [eax + edx*4]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x18]
cmp edx, edi
jle 0x54bbc3
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x54b885
mov esi, dword [esp + 0x10]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x50]
call fcn.0046d900
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x64]
call fcn.0046d900
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + 0xd8]
mov edx, dword [edi + 4]
mov eax, dword [edx + ecx*4]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x48]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [eax + 0x18]
mov eax, dword [esp + 0x1c]
dec edx
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.0054b210
mov eax, dword [ebx + 0xc]
xor esi, esi
test eax, eax
jle 0x54b907
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
lea edi, [edx + esi*4]
call fcn.0056c990
mov eax, dword [edi]
inc esi
fstp qword [eax + 0xc8]
cmp esi, dword [ebx + 0xc]
jl 0x54b8e7
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
jle 0x54b953
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx + 8]
mov ecx, dword [ebx + 8]
mov edi, dword [ecx + edx*4]
mov edx, dword [eax + esi*4]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, edi
call fcn.0056c990
fadd qword [esp + 0x3c]
inc esi
fadd qword [edi + 0xc8]
fstp qword [edi + 0xc8]
cmp esi, dword [esp + 0x50]
jl 0x54b911
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
xor esi, esi
xor eax, eax
cmp ecx, esi
jle 0x54b971
mov edx, dword [edi + 4]
inc eax
mov ecx, dword [edx + eax*4 - 4]
mov dword [ecx + 0x28], esi
mov dword [ecx + 0x2c], esi
cmp eax, dword [edi + 8]
jl 0x54b95e
cmp dword [ebx + 0xc], esi
jle 0x54b9b0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + esi*4]
mov eax, dword [edi + 4]
mov edx, dword [ecx + 0xd8]
fld qword [ecx + 0xc8]
mov edx, dword [eax + edx*4]
fld qword [edx + 0x28]
fcompp
fnstsw ax
test ah, 1
je 0x54b9a2
fld qword [ecx + 0xc8]
jmp 0x54b9a5
fld qword [edx + 0x28]
fstp qword [edx + 0x28]
mov eax, dword [ebx + 0xc]
inc esi
cmp esi, eax
jl 0x54b976
mov eax, dword [ebp + 8]
xor edi, edi
fld qword [0x5e2798]
mov esi, dword [eax + 8]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x1c], edi
jle 0x54ba08
mov edx, dword [eax + 4]
mov eax, dword [edx]
cmp dword [eax + 0x18], 0
je 0x54b9f9
fadd qword [eax + 0x28]
fld qword [eax + 0x28]
fcomp qword [0x5e2798]
inc edi
fnstsw ax
test ah, 0x40
je 0x54b9f9
mov eax, dword [esp + 0x14]
cmp ecx, dword [eax + 0xd8]
je 0x54b9f9
add edi, 0x186a0
inc ecx
add edx, 4
cmp ecx, esi
jl 0x54b9cb
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov ecx, dword [esi + 0xd8]
mov eax, dword [edx + ecx*4]
cmp dword [eax + 0x18], 1
jne 0x54ba23
dec edi
mov dword [esp + 0x1c], edi
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
test eax, eax
fdivr st(1)
fstp qword [esp + 0x1c]
fstp st(0)
jne 0x54bad1
mov eax, dword [esp + 0x50]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x78]
call fcn.0046d900
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
test edx, edx
je 0x54ba68
mov edi, dword [ecx]
add ecx, 4
mov dword [eax], edi
add eax, 4
dec edx
jne 0x54ba5b
mov ecx, dword [esp + 0x64]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x8c]
call fcn.0046d900
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x88]
test edx, edx
je 0x54ba9b
mov edi, dword [ecx]
add ecx, 4
mov dword [eax], edi
add eax, 4
dec edx
jne 0x54ba8e
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], esi
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
jmp 0x54bb9f
fld qword [esp + 0x1c]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 0x41
jne 0x54bb77
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x3c], eax
call fcn.0046d900
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
test edx, edx
je 0x54bb21
mov edi, dword [ecx]
add ecx, 4
mov dword [eax], edi
add eax, 4
dec edx
jne 0x54bb14
mov eax, dword [esp + 0x64]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x8c]
call fcn.0046d900
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x88]
test edx, edx
je 0x54bb54
mov edi, dword [ecx]
add ecx, 4
mov dword [eax], edi
add eax, 4
dec edx
jne 0x54bb47
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x54bb9b
mov eax, dword [esp + 0x64]
xor esi, esi
test eax, eax
jle 0x54bb9b
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x54bb92
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jl 0x54bb81
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add eax, 0x20
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
inc ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
cmp ecx, edx
jl 0x54b87f
mov esi, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
inc ecx
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jl 0x54b84e
mov ecx, dword [esp + 0x78]
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.0046d900
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov eax, dword [esi + 4]
cmp edx, edi
je 0x54bc01
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x54bbf4
mov dword [esp + 0x48], 0x5f07b8
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xa0], 4
cmp eax, edi
je 0x54bc22
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov ebx, 0x5f07b8
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x60]
mov byte [esp + 0xa0], 5
cmp eax, edi
je 0x54bc4d
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x74]
mov byte [esp + 0xa0], 6
cmp eax, edi
je 0x54bc6e
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x70], esi
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa0], 7
cmp eax, edi
je 0x54bc98
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc