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

Disassembly:
push 0xffffffffffffffff
push 0x5d9830
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], ebp
call sub.mfc42u.dll_CString::CString_3
mov edi, 0x5e27fc
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov ebx, dword [esp + 0xa4]
mov byte [esp + 0x6c], 2
mov esi, dword [ebx + 8]
cmp esi, ebp
jne 0x541ed5
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
jmp 0x541ef8
lea eax, [esi*4]
push eax
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x54], eax
push esi
push eax
call fcn.005463a0
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov esi, dword [ebx + 8]
mov byte [esp + 0x6c], 3
cmp esi, ebp
jne 0x541f22
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
jmp 0x541f45
lea ecx, [esi*4]
push ecx
call sub.mfc42u.dll_operatornew
add esp, 4
mov dword [esp + 0x40], eax
push esi
push eax
call fcn.005463a0
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], 0x5f0828
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
lea edx, [esp + 0x3c]
mov byte [esp + 0x6c], 4
lea eax, [edi + 0x10]
push eax
mov eax, dword [esp + 0xa4]
push esi
push edx
push ebx
push eax
sub esp, 0x20
lea edx, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0xd8], esp
push edx
call fcn.004b6cb0
mov ecx, dword [esp + 0x48]
push 0x3c
push ebp
call fcn.0053e1b0
fstp qword [esp + 0x18]
fild dword [esp + 0x74]
mov eax, dword [esp + 0x74]
mov dword [edi], eax
push eax
fst qword [esp + 0x24]
fld qword [esp + 0x1c]
fdiv st(1)
lea eax, [esp + 0x14]
push 1
push eax
fstp qword [edi + 8]
fstp st(0)
call fcn.00436a50
add esp, 0xc
test al, al
jne 0x542040
mov dword [esp + 0x28], 0x5f0828
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x6c], 5
cmp eax, ebp
je 0x542006
mov ecx, dword [esp + 0x30]
push ecx
push eax
call fcn.00545e10
mov edx, dword [esp + 0x2c]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov edi, 0x5e27fc
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x6c], 6
cmp eax, ebp
je 0x54202e
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edi
mov byte [esp + 0x6c], 7
jmp 0x5420f1
mov eax, dword [esi + 8]
mov dword [esp + 0xa4], ebp
cmp eax, ebp
jle 0x542077
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0xa4]
push ebp
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0xa4], eax
jl 0x54204e
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x10]
push eax
push 1
push ecx
call fcn.00436a50
add esp, 0xc
test al, al
jne 0x54210b
mov dword [esp + 0x28], 0x5f0828
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x6c], 8
cmp eax, ebp
je 0x5420bc
mov edx, dword [esp + 0x30]
push edx
push eax
call fcn.00545e10
mov eax, dword [esp + 0x2c]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov edi, 0x5e27fc
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x6c], 9
cmp eax, ebp
je 0x5420e4
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edi
mov byte [esp + 0x6c], 0xa
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x542102
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x50], esi
jmp 0x5425e7
fld qword [esp + 0x18]
fcomp qword [esp + 0x78]
fnstsw ax
test ah, 0x41
jne 0x5425bd
fld qword [esp + 0x20]
fmul qword [esp + 0x78]
fdiv qword [esp + 0x18]
fmul qword [0x5e7ed8]
call sub.msvcrt.dll__ftol
cmp eax, 2
jge 0x542148
mov ebp, 2
mov dword [esp + 0xa4], ebp
jmp 0x54215a
mov ebp, eax
cmp ebp, 1
mov dword [esp + 0xa4], ebp
jl 0x54224b
mov eax, dword [ebx + 8]
xor ecx, ecx
test eax, eax
jle 0x542181
mov edx, dword [ebx + 4]
mov eax, dword [edx + ecx*4]
imul eax, ebp
cdq
idiv dword [esp + 0x74]
mov edx, dword [esp + 0x54]
inc ecx
mov dword [edx + ecx*4 - 4], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
jl 0x542163
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jle 0x54219f
mov eax, dword [esi + 4]
push 0
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x54218a
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x3c]
add eax, 0x10
lea edx, [esp + 0x50]
push eax
mov eax, dword [esp + 0xa4]
push esi
push ecx
push edx
push eax
sub esp, 0x20
lea edx, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0xd8], esp
push edx
call fcn.004b6cb0
mov ecx, dword [esp + 0x48]
push 0x1e
push 0
call fcn.0053e1b0
fst qword [esp + 0x18]
fcomp qword [esp + 0x78]
fnstsw ax
test ah, 1
jne 0x542224
push 0
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00436a50
add esp, 0xc
test al, al
je 0x54223d
lea ecx, [ebp + ebp + 1]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ebp, edx
cmp ebp, 1
jge 0x54215a
mov edi, dword [esp + 0xac]
cmp ebp, 1
mov dword [esp + 0xa4], ebp
jg 0x542376
jmp 0x54224b
mov edi, dword [esp + 0xac]
mov dword [esp + 0xa4], ebp
mov eax, dword [ebx + 8]
xor ecx, ecx
test eax, eax
jle 0x54226f
mov edx, dword [ebx + 4]
mov eax, dword [edx + ecx*4]
cdq
idiv dword [esp + 0x74]
mov edx, dword [esp + 0x54]
inc ecx
mov dword [edx + ecx*4 - 4], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
jl 0x542254
mov eax, dword [esi + 8]
xor ebx, ebx
test eax, eax
jle 0x54228d
mov eax, dword [esi + 4]
push 0
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov eax, dword [esi + 8]
inc ebx
cmp ebx, eax
jl 0x542278
mov edx, dword [esp + 0xa0]
lea eax, [edi + 0x10]
push eax
lea eax, [esp + 0x40]
push esi
lea ecx, [esp + 0x58]
push eax
push ecx
push edx
lea eax, [esp + 0x94]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0xa8], esp
push eax
call fcn.004b6cb0
mov ecx, dword [esp + 0x48]
push 0x3c
push 1
call fcn.0053e1b0
fstp qword [edi + 8]
mov dword [edi], 1
mov dword [esp + 0x28], 0x5f0828
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x6c], 0xb
test eax, eax
je 0x542300
mov ecx, dword [esp + 0x30]
push ecx
push eax
call fcn.00545e10
mov edx, dword [esp + 0x2c]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov edi, 0x5e27fc
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x6c], 0xc
test eax, eax
je 0x542328
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x54]
mov byte [esp + 0x6c], 0xd
test eax, eax
je 0x542346
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], esi
mov byte [esp + 0x6c], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0042bd50
mov eax, 1
jmp 0x54260d
fild dword [esp + 0xa4]
mov dword [edi], ebp
fdivr qword [esp + 0x18]
fst qword [edi + 8]
fld qword [esp + 0x78]
fdiv st(1)
call sub.msvcrt.dll__ftol
inc ebp
cmp ebp, eax
fstp st(0)
jg 0x54239a
mov ebp, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa4], ebp
cmp ebp, eax
mov dword [esp + 0xa8], eax
jge 0x54252f
mov eax, dword [ebx + 8]
xor ecx, ecx
test eax, eax
jle 0x5423db
mov eax, dword [ebx + 4]
mov eax, dword [eax + ecx*4]
imul eax, ebp
cdq
idiv dword [esp + 0x74]
mov edx, dword [esp + 0x54]
inc ecx
mov dword [edx + ecx*4 - 4], eax
mov eax, dword [ebx + 8]
cmp ecx, eax
jl 0x5423bd
mov eax, dword [esi + 8]
xor edi, edi
test eax, eax
jle 0x5423f9
mov eax, dword [esi + 4]
push 0
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x5423e4
lea eax, [esp + 0x28]
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [esp + 0xa4]
push esi
lea edx, [esp + 0x58]
push ecx
push edx
push eax
lea edx, [esp + 0x94]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004b6cb0
mov edi, dword [esp + 0x48]
push 0x3c
push 0
mov ecx, edi
call fcn.0053e1b0
fst qword [esp + 0x18]
fcomp qword [esp + 0x78]
fnstsw ax
test ah, 0x41
jne 0x542459
mov dword [esp + 0xa8], ebp
dec ebp
mov dword [esp + 0xa4], ebp
jmp 0x54251b
push ebp
lea eax, [esp + 0x14]
push 1
push eax
call fcn.00436a50
add esp, 0xc
test al, al
je 0x542528
fld qword [edi + 0xb0]
fcomp qword [edi + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x5424c9
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
lea edi, [eax + 0x10]
push ecx
mov ecx, edi
mov dword [eax], ebp
mov dword [eax + 0xc], edx
call fcn.005442f0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00545ec0
inc ebp
mov dword [esp + 0xa4], ebp
jmp 0x54251b
fild dword [esp + 0xa4]
mov edi, dword [esp + 0xac]
fdivr qword [esp + 0x18]
fld st(0)
fcomp qword [edi + 8]
fnstsw ax
test ah, 1
je 0x542519
fstp qword [edi + 8]
lea edx, [esp + 0x28]
lea ecx, [edi + 0x10]
push edx
mov dword [edi], ebp
call fcn.005446d0
fld qword [esp + 0x78]
fdiv qword [edi + 8]
call sub.msvcrt.dll__ftol
inc ebp
cmp ebp, eax
jge 0x54244d
mov ebp, eax
mov dword [esp + 0xa4], ebp
jmp 0x54251b
fstp st(0)
cmp ebp, dword [esp + 0xa8]
jl 0x5423b4
mov edi, dword [esp + 0xac]
mov edi, dword [edi]
mov dword [esp + 0x28], 0x5f0828
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x6c], 0xe
test eax, eax
je 0x54255e
mov ecx, dword [esp + 0x30]
push ecx
push eax
call fcn.00545e10
mov edx, dword [esp + 0x2c]
push edx
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x3c], 0x5e27fc
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x6c], 0xf
test eax, eax
je 0x542585
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], esi
mov byte [esp + 0x6c], 1
call fcn.0040a7f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0042bd50
mov eax, edi
jmp 0x54260d
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 3
call fcn.00544920
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.0040a7f0
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 1
call fcn.0040a7f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0042bd50
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0x3c