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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d9f93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [esp + 0x38], 0x5f093c
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x190], esi
mov dword [esp + 0x7c], 0x5e7828
mov dword [esp + 0x80], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x48]
mov byte [esp + 0x190], 1
mov eax, dword [eax + 8]
imul eax, ecx
mov edi, eax
cmp edi, esi
jne 0x549770
mov dword [esp + 0x88], esi
xor edi, edi
jmp 0x54978e
push edi
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x80], eax
push edi
push eax
call fcn.0054aaf0
mov dword [esp + 0x88], edi
mov ecx, edi
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x80]
mov edx, ecx
xor eax, eax
mov dword [esp + 0x60], 0x5e7828
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x64], esi
and ecx, 3
mov dword [esp + 0x70], esi
rep stosb byte es:[edi], al
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
mov edi, dword [ebx + 0x48]
mov byte [esp + 0x190], 2
imul edi, edi
cmp edi, esi
jne 0x5497e2
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
jmp 0x5497fe
push edi
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x64], eax
push edi
push eax
call fcn.0054aaf0
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov eax, 0x5f0914
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], esi
mov ecx, dword [ebp + 0xc]
mov byte [esp + 0x190], 4
mov dword [esp + 0x10], esi
cmp dword [ecx + 8], esi
jle 0x549a2a
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [ebx + 0xc], esi
jle 0x549a0e
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xb8]
mov edi, dword [ecx + eax]
mov eax, dword [esp + 0x10]
push edx
push edi
push eax
mov ecx, ebx
mov dword [esp + 0x20], edi
call fcn.00547830
test al, al
je 0x5499ee
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xc]
cmp eax, ecx
mov dword [esp + 0x20], eax
jge 0x5499ee
jmp 0x5498d2
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x48]
mov esi, dword [ecx + eax*4]
mov eax, dword [edi + 0xd8]
mov ecx, dword [esi + 0xd8]
mov edi, ecx
imul edi, edx
mov edx, dword [esp + 0x64]
add edi, eax
cmp byte [edi + edx], 0
jne 0x5499d8
mov edx, eax
mov edi, dword [esp + 0x64]
imul edx, dword [ebx + 0x48]
add edx, ecx
cmp byte [edx + edi], 0
jne 0x5499d8
cmp eax, ecx
jne 0x549923
mov ecx, dword [ebx + 0x44]
cmp dword [ecx + eax*4], 2
jl 0x5499d8
mov edi, dword [esp + 0x10]
lea edx, [esp + 0xa4]
push edx
push esi
push edi
mov ecx, ebx
call fcn.00547830
test al, al
je 0x5499d8
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x74], eax
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x78], ecx
mov ecx, esi
call fcn.0056c990
fstp qword [esp + 0xdc]
mov ecx, dword [esp + 0x14]
call fcn.0056c990
fadd qword [esp + 0xdc]
fcomp qword [esp + 0x74]
fnstsw ax
test ah, 1
je 0x5499d8
lea edx, [esp + 0x38]
lea eax, [esp + 0xa4]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xbc]
push eax
push ecx
push esi
push edx
push edi
mov ecx, ebx
call fcn.005478e0
test al, al
je 0x5499d8
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
imul eax, dword [edx + 0xd8]
mov edx, dword [esp + 0x80]
add eax, edx
mov byte [eax + edi], 1
mov eax, dword [ecx + 8]
imul eax, dword [esi + 0xd8]
add eax, edx
mov byte [eax + edi], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x5498ce
xor esi, esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add eax, 4
inc ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], ecx
dec ecx
cmp ecx, eax
jl 0x54988e
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
inc eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x549861
mov eax, 0x5f0914
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov edx, dword [ebp + 0xc]
mov byte [esp + 0x190], 5
mov dword [esp + 0x10], esi
mov eax, dword [edx + 8]
cmp eax, esi
jle 0x549aba
mov eax, dword [ebx + 0x48]
xor edi, edi
cmp eax, esi
jle 0x549aa7
mov edx, dword [ebx + 0x5c]
xor eax, eax
cmp edx, esi
jle 0x549a9f
mov ecx, dword [ebx + 0x58]
mov esi, dword [ecx + 0xc]
cmp dword [esi + 0xd8], edi
jne 0x549a7c
mov esi, dword [esp + 0x10]
cmp dword [ecx], esi
je 0x549a86
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x549a69
jmp 0x549a9d
mov esi, dword [ebx + 0x58]
lea ecx, [esp + 0x4c]
shl eax, 4
add eax, esi
push eax
mov eax, dword [esp + 0x58]
push eax
call fcn.0040c9d0
xor esi, esi
mov eax, dword [ebx + 0x48]
inc edi
cmp edi, eax
jl 0x549a5d
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
inc eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], eax
cmp eax, edx
jl 0x549a54
mov dword [esp + 0x24], 0x5f0928
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x190], 6
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x54]
sar edi, 1
add edi, eax
jne 0x549af5
mov dword [esp + 0x30], esi
xor ecx, ecx
jmp 0x549b18
lea edx, [edi + edi*4]
lea eax, [edi + edx*2]
shl eax, 3
push eax
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x28], eax
push edi
push eax
call fcn.0054aac0
mov dword [esp + 0x30], edi
mov ecx, edi
mov eax, dword [esp + 0x54]
xor edx, edx
cmp eax, esi
mov dword [esp + 0x2c], ecx
jle 0x549b95
xor edi, edi
mov ecx, dword [esp + 0x28]
inc edx
lea eax, [edi + ecx]
mov ecx, dword [esp + 0x50]
add edi, 0x58
mov ecx, dword [ecx + edx*4 - 4]
mov ecx, dword [ecx]
mov dword [eax + 4], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + edx*4 - 4]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + edx*4 - 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x14]
mov esi, dword [ecx]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 4]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + edx*4 - 4]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x14]
mov esi, dword [ecx + 8]
mov dword [eax + 0x28], esi
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x2c], ecx
mov eax, dword [esp + 0x54]
cmp edx, eax
jl 0x549b28
mov ecx, dword [esp + 0x2c]
xor esi, esi
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, esi
jle 0x549c48
xor ecx, ecx
mov eax, edi
add edi, 2
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add eax, edx
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x28]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + ecx + 0x10]
mov dword [eax + 4], 2
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + ecx + 0x14]
mov dword [eax + 0x48], edx
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + ecx + 0x2c]
mov dword [eax + 0x4c], edx
mov edx, dword [esp + 0x3c]
add edx, ecx
mov esi, dword [edx]
mov dword [eax + 8], esi
mov edx, dword [edx + 4]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x3c]
lea edx, [edx + ecx + 8]
mov esi, dword [edx]
mov dword [eax + 0x28], esi
mov edx, dword [edx + 4]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x3c]
lea edx, [edx + ecx + 0x18]
mov esi, dword [edx]
mov dword [eax + 0x10], esi
mov edx, dword [edx + 4]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x3c]
lea edx, [edx + ecx + 0x20]
add ecx, 0x30
mov esi, dword [edx]
mov dword [eax + 0x30], esi
mov edx, dword [edx + 4]
mov dword [eax + 0x34], edx
mov eax, dword [esp + 0x40]
cmp edi, eax
jl 0x549ba5
mov ecx, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x90], 0x5e27fc
mov dword [esp + 0x94], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], esi
cmp ecx, esi
mov byte [esp + 0x190], 7
mov edi, ecx
jne 0x549c8d
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], esi
jmp 0x549cbd
lea eax, [ecx*4]
push eax
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x94], eax
push edi
push eax
call fcn.005463a0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0x94]
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x138]
call fcn.004ccd50
lea ecx, [esp + 0xe8]
mov byte [esp + 0x190], 8
call fcn.004ccd50
mov eax, dword [ebx + 0x44]
mov ebx, dword [esp + 0x94]
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x24]
push ebx
push edx
mov ecx, dword [ecx + 8]
push eax
mov eax, dword [ebp + 8]
mov byte [esp + 0x19c], 9
push eax
push ecx
call fcn.00549370
add esp, 0x14
test eax, eax
jne 0x549edf
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], esi
cmp eax, esi
jle 0x549edf
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
cmp dword [eax], 1
jne 0x549ead
mov eax, dword [esp + 0x28]
xor edi, edi
cmp dword [ecx + eax + 4], esi
jle 0x549ead
add ecx, 0x48
mov dword [esp + 0x18], ecx
jmp 0x549d6a
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + eax]
mov ecx, dword [edx + 8]
xor eax, eax
cmp ecx, esi
jle 0x549e83
mov edx, dword [edx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov esi, dword [edx]
mov dl, byte [esi + 0x20]
test dl, dl
jne 0x549d9d
mov edx, dword [esi + 0x1c]
cmp edx, dword [ebx + 0xd8]
je 0x549db2
mov esi, dword [esp + 0x1c]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x1c], esi
jl 0x549d85
jmp 0x549e81
mov eax, dword [esi]
lea ecx, [esp + 0x138]
push ecx
mov ecx, esi
call dword [eax + 0x14]
lea edx, [esp + 0x138]
lea ecx, [esp + 0xe8]
push edx
call fcn.004b7e30
add ebx, 0xe0
lea ecx, [esp + 0xe8]
push ebx
call fcn.004b80e0
mov ecx, esi
call fcn.0050b040
mov ecx, dword [eax]
mov dword [esp + 0xcc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xd0], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xd4], ecx
lea ecx, [esp + 0xe8]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0xcc]
push eax
mov dword [esp + 0xdc], edx
call fcn.004b8150
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
sub esp, 8
lea edx, [ecx + edi]
add ecx, edi
sub esp, 8
fld qword [eax + edx*8 + 0x20]
fsub qword [esp + 0xe4]
fstp qword [esp + 8]
fld qword [eax + ecx*8]
fsub qword [esp + 0xdc]
lea ecx, [esp + 0xf8]
fstp qword [esp]
call fcn.004b7fd0
mov eax, dword [esi]
lea ecx, [esp + 0xe8]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [esi]
push 1
mov ecx, esi
mov byte [esi + 0x20], 1
call dword [edx + 0x1c]
xor esi, esi
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
inc edi
mov edx, dword [ecx + eax + 4]
add ebx, 4
cmp edi, edx
mov dword [esp + 0x18], ebx
jl 0x549d67
mov ebx, dword [esp + 0x94]
mov edx, dword [ebp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add edi, 4
inc eax
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
add edi, 0xb
add ecx, 0x58
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x2c]
cmp eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x74], ecx
jl 0x549d41
lea ecx, [esp + 0xe8]
mov byte [esp + 0x190], 8
call fcn.0042bd50
lea ecx, [esp + 0x138]
mov byte [esp + 0x190], 7
call fcn.0042bd50
mov dword [esp + 0x90], 0x5e27fc
cmp ebx, esi
mov byte [esp + 0x190], 0xa
je 0x549f27
push ebx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x24], 0x5f0928
mov eax, dword [esp + 0x28]
mov byte [esp + 0x190], 0xb
cmp eax, esi
je 0x549f48
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov edi, 0x5e262c
mov ebx, 0x5f0914
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x50]
mov byte [esp + 0x190], 0xc
cmp eax, esi
je 0x549f73
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0xa4], ebx
mov eax, dword [esp + 0xa8]
mov byte [esp + 0x190], 0xd
cmp eax, esi
je 0x549f9a
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0xa4], edi
mov dword [esp + 0xb8], ebx
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x190], 0xe
cmp eax, esi
je 0x549fc4
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0xb8], edi
mov edi, 0x5e7828
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x64]
mov byte [esp + 0x190], 0xf
cmp eax, esi
je 0x549fed
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0x80]
mov byte [esp + 0x190], 0x10
cmp eax, esi
je 0x54a00d
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x38], 0x5f093c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x190], 0x11
cmp eax, esi
je 0x54a031
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x188]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc