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

Disassembly:
push 0xffffffffffffffff
push 0x689498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
mov ebx, ecx
push edi
push 0xffffffffffffffff
push ebp
mov ecx, dword [ebx + 0xa8]
mov dword [esp + 0x1c], ebx
call fcn.004a26f0
cmp eax, 0xffffffff
jne 0x542793
xor eax, eax
jmp 0x542b04
mov ecx, dword [ebx + 0xa8]
lea edi, [eax*8]
sub edi, eax
mov eax, dword [esp + 0x88]
mov ecx, dword [ecx + 4]
shl edi, 4
add edi, ecx
test eax, eax
mov dword [esp + 0x10], edi
jne 0x5427c0
xor eax, eax
jmp 0x542b04
lea edx, [esp + 0x88]
push 1
push edx
mov ecx, ebx
call fcn.0053e7b0
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x542b04
mov eax, dword [esi + 0x108]
test eax, eax
je 0x5427f0
xor eax, eax
jmp 0x542b04
lea ecx, [esp + 0x20]
call fcn.004a9bc0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push ebp
mov dword [esp + 0x88], 0
call fcn.004a6f00
lea ecx, [esp + 0x50]
call fcn.006086f6
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call fcn.006086f6
lea ecx, [esp + 0x50]
mov byte [esp + 0x80], 2
push ecx
lea ecx, [esp + 0x24]
call fcn.004aa110
mov eax, dword [edi + 0x40]
and eax, 0xff00
cmp eax, 0x400
je 0x54285b
cmp eax, 0x300
jne 0x5429c4
mov ecx, dword [esp + 0x90]
call fcn.00425a60
test eax, eax
je 0x5429c4
lea ecx, [esp + 0x3c]
call fcn.006086f6
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 3
call fcn.006086f6
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x64]
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x88], 4
call fcn.004aa130
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CStringArray::Copy
mov eax, dword [esp + 0x30]
test eax, eax
lea edx, [eax - 1]
mov dword [esp + 0x90], edx
je 0x54298c
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x2c]
xor edi, edi
lea ebp, [ecx + eax*4]
mov eax, dword [esp + 0x44]
test eax, eax
mov ebx, eax
jle 0x54290c
mov esi, dword [esp + 0x40]
mov eax, dword [ebp]
mov edx, dword [esi]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x542907
inc edi
add esi, 4
cmp edi, ebx
jl 0x5428e9
jmp 0x54290c
cmp edi, 0xffffffff
jne 0x542960
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x90]
xor edi, edi
lea ebp, [eax + ecx*4]
mov eax, dword [esp + 0x6c]
test eax, eax
mov ebx, eax
jle 0x54294d
mov esi, dword [esp + 0x68]
mov eax, dword [ebp]
mov edx, dword [esi]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x542948
inc edi
add esi, 4
cmp edi, ebx
jl 0x54292a
jmp 0x54294d
cmp edi, 0xffffffff
jne 0x542960
mov eax, dword [esp + 0x90]
push 1
push eax
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CStringArray::RemoveAt
mov eax, dword [esp + 0x90]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x90], eax
jne 0x5428cb
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x28]
push 0
lea eax, [esp + 0x40]
push edx
push eax
call fcn.00419f40
add esp, 0xc
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 3
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 2
call sub.MFC42u.DLL_CStringArray::CStringArray
jmp 0x5429d5
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x94]
call fcn.004aa110
push 0
lea edx, [esp + 0x2c]
push 0
lea eax, [esp + 0x58]
push edx
push eax
call fcn.00419ae0
add esp, 0x10
test eax, eax
jne 0x542ab7
mov ecx, dword [esp + 0x88]
push 0x30
push esi
push ecx
mov ecx, ebx
call fcn.00544ed0
lea edx, [esp + 0x28]
push 0
push edx
lea ecx, [esp + 0x20]
call fcn.004a9d50
lea eax, [esp + 0x18]
mov ecx, esi
push eax
push ebp
mov byte [esp + 0x88], 5
call fcn.004a6f40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 2
call sub.MFC42u.DLL_CString::CString
mov ecx, esi
call fcn.004a6320
mov eax, dword [edi + 0x48]
mov ecx, dword [esp + 0x88]
push eax
push ecx
mov ecx, ebx
call fcn.005419a0
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x50]
mov byte [esp + 0x80], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 1
jmp 0x542b04
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x50]
mov byte [esp + 0x80], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x80], 0xffffffff
call sub.MFC42u.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc