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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d8db5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor ebx, ebx
push edi
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], ebx
cmp eax, ebx
mov dword [esi + 0x10], 8
je 0x535268
mov ecx, dword [esi + 8]
push ecx
push eax
call fcn.00545e10
mov eax, dword [esi + 4]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esi + 4], ebx
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ebx
cmp eax, ebx
mov dword [esi + 8], ebx
jle 0x535afe
lea ecx, [esp + 0x1c]
call sub.mfc42u.dll_CString::CString_3
xor esi, esi
mov dword [esp + 0x34], 0x5f0800
mov dword [esp + 0x270], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov edi, dword [ebp + 0x10]
mov byte [esp + 0x270], 1
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov eax, dword [edi + 8]
test eax, eax
jle 0x53532d
lea edx, [esp + 0x208]
push esi
push edx
mov ecx, edi
call fcn.00544900
fld qword [eax + 0x48]
fcomp qword [esp + 0x5c]
mov byte [esp + 0x270], 2
fnstsw ax
test ah, 1
jne 0x5352fd
lea eax, [esp + 0x88]
push esi
push eax
mov ecx, edi
call fcn.00544900
fld qword [eax + 0x48]
fstp qword [esp + 0x5c]
or ebx, 1
test bl, 1
je 0x535311
lea ecx, [esp + 0xc0]
and ebx, 0xfffffffe
call fcn.0042bd50
lea ecx, [esp + 0x240]
mov byte [esp + 0x270], 1
call fcn.0042bd50
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x5352bd
mov ecx, dword [esp + 0xc]
mov esi, dword [edi + 8]
xor eax, eax
mov edx, dword [ecx + 0xc0]
test edx, edx
mov dword [esp + 0x10], edx
jle 0x535391
mov ecx, dword [ecx + 0xbc]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x535388
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + eax*4]
mov bl, byte [ecx + 0xd0]
test bl, bl
jne 0x535388
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ecx + 0xd8]
mov ebx, dword [ebx + 4]
cmp dword [ebx + ecx*4], 0
jle 0x535388
mov ecx, dword [edx + 8]
cmp esi, ecx
jl 0x535388
mov esi, ecx
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jl 0x53534e
cmp esi, dword [edi + 8]
jge 0x535423
lea edx, [esp + 0x88]
push esi
push edx
mov ecx, edi
call fcn.00544900
mov ebx, eax
lea eax, [esp + 0x208]
push esi
push eax
mov ecx, edi
mov byte [esp + 0x278], 3
call fcn.00544900
lea ecx, [esp + 0x34]
mov byte [esp + 0x270], 4
push ecx
movsx ecx, word [ebx + 0xe]
lea edx, [ecx + ecx*4]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*2]
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + 0x24]
lea edx, [ebx + edx*8]
push edx
push eax
call fcn.005336e0
lea ecx, [esp + 0x240]
mov byte [esp + 0x270], 3
call fcn.0042bd50
lea ecx, [esp + 0xc0]
mov byte [esp + 0x270], 1
call fcn.0042bd50
mov eax, dword [edi + 8]
inc esi
cmp esi, eax
jl 0x53539a
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x53544c
mov dword [esp + 0x34], 0x5f0800
mov eax, dword [esp + 0x38]
mov byte [esp + 0x270], 5
test eax, eax
je 0x535adf
jmp 0x535ad6
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x535abe
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 8]
mov esi, dword [edx + eax*4]
mov edx, dword [ebp + 0x14]
mov ecx, dword [esi + 0xd8]
mov eax, dword [edx + 4]
cmp dword [eax + ecx*4], 0
jle 0x535a30
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 0xbc]
cmp dword [edx + eax*4], 0
je 0x535a30
mov al, byte [esi + 0xd0]
test al, al
jne 0x535a30
xor ebx, ebx
mov dword [esp + 0x48], 0x5f0848
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x270], 6
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x535530
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov eax, dword [ecx + edx + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push esi
call fcn.005a14d0
mov edi, eax
test edi, edi
je 0x535530
mov ecx, dword [esp + 0x50]
push edi
push ecx
lea ecx, [esp + 0x50]
call fcn.0040c9d0
mov eax, dword [edi + 0x18]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add ebx, eax
mov eax, dword [esp + 0x10]
add edx, 0x18
inc eax
mov dword [esp + 0x18], edx
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x5354df
test ebx, ebx
jne 0x53555e
mov dword [esp + 0x48], 0x5f0848
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x270], 7
test eax, eax
je 0x535551
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x48], 0x5e262c
jmp 0x535a30
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov eax, dword [edx + 0xbc]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0x18]
lea ecx, [esp + 0xe8]
add ebx, edx
call fcn.005a50e0
push ebx
lea ecx, [esp + 0xec]
mov byte [esp + 0x274], 8
call fcn.00594540
mov eax, dword [esp + 0x50]
xor ebx, ebx
test eax, eax
jle 0x5355f3
xor edi, edi
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov ecx, dword [edi + eax + 0x10]
mov edx, dword [edx + ebx*4]
fld qword [edi + eax + 8]
fadd qword [ecx + 0xa8]
push edx
sub esp, 8
fsub qword [ecx + 0x30]
sub esp, 8
fstp qword [esp + 8]
fld qword [ecx + 0xa0]
fadd qword [edi + eax]
fsub qword [ecx + 0x28]
lea ecx, [esp + 0xfc]
fstp qword [esp]
call fcn.005a41e0
mov eax, dword [esp + 0x50]
inc ebx
add edi, 0x18
cmp ebx, eax
jl 0x5355a1
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0xbc]
mov ecx, dword [eax + edi*4]
push ecx
lea ecx, [esp + 0xec]
call fcn.005a5320
mov edx, dword [ebx + 0xbc]
lea ecx, [esp + 0x68]
mov eax, dword [edx + edi*4]
add eax, 0x38
push eax
call fcn.004b6cb0
fld qword [esp + 0x68]
fsub qword [0x5e2640]
lea ecx, [esp + 0x68]
push 0
push ecx
lea ecx, [esp + 0xf0]
mov byte [esp + 0x278], 9
fstp qword [esp + 0x70]
fld qword [esp + 0x78]
fsub qword [0x5e2640]
fstp qword [esp + 0x78]
fld qword [esp + 0x80]
fadd qword [0x5e2640]
fstp qword [esp + 0x80]
fld qword [esp + 0x88]
fadd qword [0x5e2640]
fstp qword [esp + 0x88]
call fcn.005a5270
lea ecx, [esp + 0xe8]
call fcn.005945b0
mov edx, dword [ebx + 0xbc]
mov ecx, dword [edx + edi*4]
xor edx, edx
cmp ecx, edx
je 0x5356a5
mov eax, dword [ecx]
push 1
call dword [eax]
xor edx, edx
cmp dword [esp + 0x1a8], edx
jne 0x5356b9
mov ecx, dword [ebx + 0xbc]
mov dword [ecx + edi*4], edx
jmp 0x5356dd
mov ecx, dword [esp + 0x1a4]
mov eax, dword [ebx + 0xbc]
mov ecx, dword [ecx]
mov dword [eax + edi*4], ecx
mov ecx, dword [ebx + 0xbc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ecx + edi*4]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov dword [esp + 0x20], 0x5f07b8
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x1a8]
mov ebx, 1
cmp eax, ebx
mov byte [esp + 0x270], 0xa
mov dword [esp + 0x10], ebx
jle 0x53596d
fld qword [esi + 0x38]
mov eax, dword [esp + 0x1a4]
fsub qword [esi + 0xa0]
mov edi, dword [eax + ebx*4]
fadd qword [edi + 0x38]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x535748
test edi, edi
je 0x535766
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov edx, dword [esp + 0x28]
jmp 0x535766
mov ebx, edx
inc edx
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x28]
call fcn.0046d900
mov eax, dword [esp + 0x24]
mov dword [eax + ebx*4], edi
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1a8]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x535715
test edx, edx
je 0x53596d
mov ecx, dword [ebp + 0xc]
dec ecx
test edx, edx
mov dword [ebp + 0xc], ecx
jle 0x53596d
mov ebx, dword [ebp + 0x14]
mov ecx, dword [esi + 0xd8]
mov eax, dword [ebx + 4]
cmp dword [eax + ecx*4], 0
je 0x53596d
lea ecx, [esp + 0xc0]
call fcn.004b6ca0
push 4
lea ecx, [esp + 0x8c]
mov byte [esp + 0x274], 0xb
call fcn.00527630
lea ecx, [esi + 0x28]
mov eax, 1
push ecx
lea ecx, [esp + 0xc4]
mov word [esp + 0x9e], ax
mov word [esp + 0x9c], ax
mov word [esp + 0x98], 4
mov dword [esp + 0xe4], esi
mov word [esp + 0xa0], ax
mov word [esp + 0xa2], ax
call fcn.004b6d90
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub esp, 8
mov ecx, dword [eax + edx*4 - 4]
sub esp, 8
mov eax, dword [ecx + 0x14]
lea ecx, [esp + 0xd0]
fld qword [eax + 8]
fsub qword [esi + 0xa8]
fstp qword [esp + 8]
fld qword [eax]
fsub qword [esi + 0xa0]
fstp qword [esp]
call fcn.004b6fc0
mov ecx, dword [ebp + 8]
fld qword [ecx + 0x18]
fcomp qword [esp + 0xd8]
fnstsw ax
test ah, 1
jne 0x535955
fld qword [ecx + 8]
fcomp qword [esp + 0xc8]
fnstsw ax
test ah, 0x41
je 0x535955
mov ebx, dword [ebp + 0x18]
push 0xffffffffffffffff
mov ecx, ebx
mov edi, dword [ebx + 8]
lea edx, [edi + 1]
push edx
call fcn.005442f0
mov edx, dword [ebx + 4]
lea ecx, [edi + edi*2]
lea eax, [esp + 0x88]
shl ecx, 5
push eax
add ecx, edx
call fcn.00530160
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x8c]
mov edx, dword [edi + 0x24]
mov ecx, edi
push edx
push eax
call fcn.005336e0
mov ebx, dword [ebp + 0x14]
mov ecx, dword [esi + 0xd8]
mov edx, dword [ebx + 4]
lea eax, [edx + ecx*4]
mov ecx, dword [edx + ecx*4]
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0xd8]
mov ecx, dword [ebx + 4]
cmp dword [ecx + eax*4], 0
je 0x535933
push esi
push esi
mov ecx, edi
call fcn.005a14d0
test eax, eax
je 0x535933
mov ecx, dword [esp + 0x3c]
lea ebx, [esp + 0x20]
push ebx
push eax
lea edx, [ecx + ecx*2 - 3]
mov ecx, dword [esp + 0x40]
sub esp, 8
fld qword [ecx + edx*8 + 8]
lea ecx, [ecx + edx*8]
sub esp, 8
mov edx, dword [ecx + 0x10]
mov edi, edx
fadd qword [edx + 0xa8]
fsub qword [edx + 0x30]
fstp qword [esp + 8]
fld qword [edi + 0xa0]
fadd qword [ecx]
fsub qword [edi + 0x28]
fstp qword [esp]
call fcn.00533f90
mov ebx, dword [ebp + 0x14]
add esp, 0x18
lea ecx, [esp + 0xc0]
mov byte [esp + 0x270], 0xa
call fcn.0042bd50
mov edx, dword [esp + 0x28]
test edx, edx
jg 0x535790
jmp 0x53596d
lea ecx, [esp + 0xc0]
mov byte [esp + 0x270], 0xa
call fcn.0042bd50
mov edx, dword [esp + 0x28]
xor esi, esi
test edx, edx
jle 0x53598d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x535988
mov edx, dword [ecx]
push 1
call dword [edx]
mov edx, dword [esp + 0x28]
inc esi
cmp esi, edx
jl 0x535973
push 0
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00436a50
add esp, 0xc
test al, al
je 0x535a4a
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 0x98]
ja 0x535a4a
mov dword [esp + 0x20], 0x5f07b8
mov eax, dword [esp + 0x24]
mov byte [esp + 0x270], 0xe
test eax, eax
je 0x5359dd
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
lea ecx, [esp + 0x68]
mov dword [esp + 0x20], esi
mov byte [esp + 0x270], 8
call fcn.0042bd50
lea ecx, [esp + 0xe8]
mov byte [esp + 0x270], 6
call fcn.005a5180
mov dword [esp + 0x48], 0x5f0848
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x270], 0xf
test eax, eax
je 0x535a2c
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x48], esi
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
inc eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x535463
jmp 0x535abe
mov dword [esp + 0x20], 0x5f07b8
mov eax, dword [esp + 0x24]
mov byte [esp + 0x270], 0xc
test eax, eax
je 0x535a6b
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
lea ecx, [esp + 0x68]
mov dword [esp + 0x20], esi
mov byte [esp + 0x270], 8
call fcn.0042bd50
lea ecx, [esp + 0xe8]
mov byte [esp + 0x270], 6
call fcn.005a5180
mov dword [esp + 0x48], 0x5f0848
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x270], 0xd
test eax, eax
je 0x535aba
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], 0x5f0800
mov eax, dword [esp + 0x38]
mov byte [esp + 0x270], 0x10
test eax, eax
je 0x535adf
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0x5e262c
mov dword [esp + 0x270], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x268]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14