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

Disassembly:
push 0xffffffffffffffff
push 0x688280
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [esp + 0x6c]
mov ebx, ecx
push esi
mov dword [esp + 0xc], ebx
call fcn.004a1b50
add esp, 4
test eax, eax
jne 0x52e114
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0x18
mov ecx, dword [ebx + 0x41c]
push 0xffffffffffffffff
push esi
call fcn.004a2760
cmp eax, 0xffffffff
jne 0x52e13c
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0x18
mov ecx, dword [ebx + 0x41c]
lea esi, [eax*8]
sub esi, eax
mov ecx, dword [ecx + 4]
shl esi, 4
add esi, ecx
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x52e172
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0x18
push ebp
push edi
lea ecx, [esp + 0x24]
call fcn.004a9bc0
mov edi, dword [esp + 0x6c]
lea edx, [esp + 0x24]
push edx
push esi
mov ecx, edi
mov dword [esp + 0x6c], 0
call fcn.004a6f00
mov ebp, dword [esp + 0x7c]
mov eax, ebp
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x40]
and eax, 0xff
dec eax
cmp eax, 5
ja case.0x52e1c9.2
jmp dword [eax*4 + 0x52e66c]
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x10]
push 0
push eax
push esi
push ecx
push edi
lea ecx, [ebx + 0x4a0]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.005cc010
fld qword [esp + 0x10]
fstp qword [esp + 0x2c]
push 0x20
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.004a12b0
test eax, eax
je 0x52e223
test byte [esi + 0x10], 0x20
je 0x52e223
mov eax, 1
jmp 0x52e225
xor eax, eax
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x88]
push 0
push eax
mov eax, dword [esp + 0x88]
push ecx
lea edx, [esp + 0x40]
push 0xb
push edx
push eax
mov ecx, ebx
call fcn.0052e820
jmp 0x52e62f
lea ecx, [esp + 0x24]
call fcn.004a9ee0
test eax, eax
jne 0x52e62f
push 0xffffffffffffffff
push 1
push 1
call fcn.0052e690
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
sub ecx, edi
add esp, 0xc
cmp ecx, eax
jl 0x52e62f
lea ecx, [esp + 0x48]
call fcn.006086f6
lea edx, [esp + 0x48]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x68], 1
call fcn.004aa110
mov ebx, eax
push 0xffffffffffffffff
push 1
push ebx
call fcn.0052e690
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov edi, eax
sub ecx, edx
add esp, 0xc
cmp ecx, edi
jge 0x52e2f6
mov eax, dword [0x75a790]
lea edx, [eax + eax]
mov edi, edx
mov edx, dword [0x75a740]
mov eax, edx
sub eax, edi
add eax, ecx
mov ecx, dword [0x75a80c]
add ecx, edx
cdq
idiv ecx
cmp ebx, eax
jl 0x52e2e7
mov ebx, eax
push 0xffffffffffffffff
push 1
push ebx
call fcn.0052e690
add esp, 0xc
mov edi, eax
lea ecx, [esp + 0x70]
call sub.MFC42u.DLL_CString::CString_5
cmp ebx, 1
mov byte [esp + 0x64], 2
jne 0x52e33c
lea ecx, [esp + 0x24]
call fcn.004a9f20
lea edx, [esp + 0x20]
push eax
push edx
mov ecx, esi
call fcn.004a1660
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x3c]
mov ecx, dword [0x75a80c]
push 1
push 0
lea edx, [esp + 0x40]
add ecx, eax
push ebp
push edx
mov dword [esp + 0x54], ecx
call fcn.00409310
mov eax, dword [esi + 0xc]
add esp, 0x10
mov dword [esp + 0x7c], eax
dec eax
je 0x52e395
dec eax
je 0x52e381
cmp ebx, 1
jle 0x52e3c6
mov eax, dword [0x75a790]
mov ecx, dword [esp + 0x38]
add ecx, eax
mov dword [esp + 0x38], ecx
jmp 0x52e3c6
mov ecx, dword [0x75a790]
mov eax, dword [esp + 0x40]
sub ecx, edi
add ecx, eax
mov dword [esp + 0x38], ecx
jmp 0x52e3c6
mov edx, dword [esp + 0x70]
mov eax, dword [edx - 8]
test eax, eax
jne 0x52e3be
mov eax, dword [esp + 0x38]
push 0
push 1
lea ecx, [esp + 0x40]
add edi, eax
push ebp
push ecx
mov dword [esp + 0x50], edi
call fcn.00409310
add esp, 0x10
jmp 0x52e3c6
mov dword [esp + 0x7c], 0
xor ebp, ebp
xor edi, edi
test ebx, ebx
jle 0x52e48e
test ebp, ebp
jne 0x52e4d5
lea ecx, [esp + 0x74]
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 4
call sub.MFC42u.DLL_CString::CString_5
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x78]
lea edx, [ecx + edi*4]
push eax
push edx
mov byte [esp + 0x70], 5
call fcn.004a1990
add esp, 0xc
test eax, eax
je 0x52e465
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 1
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x80]
push edx
push eax
mov ecx, dword [ecx + 0x414]
call fcn.005d1460
mov eax, dword [0x75a80c]
mov edx, dword [0x75a740]
mov ecx, dword [esp + 0x38]
add edx, eax
add ecx, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], ecx
add eax, ecx
xor ecx, ecx
cmp eax, edx
setg cl
mov ebp, ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x64], 2
call sub.MFC42u.DLL_CString::CString
inc edi
cmp edi, ebx
jl 0x52e3d2
test ebp, ebp
jne 0x52e4d5
cmp ebx, 1
jne 0x52e4d5
mov eax, dword [esi + 0x40]
test ah, 0xff
je 0x52e4d5
mov edx, dword [esp + 0x70]
mov eax, dword [edx - 8]
test eax, eax
je 0x52e4d5
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push 0xffffffffffffffff
push 0
push eax
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.0052efb0
lea ecx, [esp + 0x70]
mov byte [esp + 0x64], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
jmp 0x52e62f
mov edx, dword [0x75a790]
xor edi, edi
neg edx
push edi
lea eax, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0xc]
mov eax, dword [0x75a754]
or ecx, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.004093b0
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.004aa100
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x10]
neg al
sbb eax, eax
neg eax
push eax
push ecx
push edx
mov ecx, ebx
call fcn.0052df30
jmp 0x52e62f
lea ecx, [esp + 0x24]
call fcn.004a9ee0
test eax, eax
jne 0x52e62f
mov eax, dword [0x75a790]
xor edi, edi
neg eax
push edi
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [0x75a754]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
or edx, 4
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.004093b0
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
call fcn.004a9f20
push eax
mov eax, dword [esp + 0x80]
push eax
mov ecx, ebx
call fcn.0052dca0
jmp 0x52e62f
mov ecx, dword [esp + 0x70]
push esi
push ecx
lea edx, [esp + 0x78]
push edi
push edx
lea ecx, [ebx + 0x4a4]
call fcn.005ce3b0
mov eax, dword [esp + 0x80]
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push 0
push eax
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x88]
lea eax, [esp + 0x80]
push edx
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x80], 6
call fcn.0052efb0
lea ecx, [esp + 0x70]
mov byte [esp + 0x64], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x5c]
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x18