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

Disassembly:
push 0xffffffffffffffff
push 0x4ac6de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov al, byte [0x52ca54]
xor edi, edi
test al, 1
mov dword [esp + 0x68], edi
jne 0x42a52b
mov dl, al
push 0x42aab0
or dl, 1
mov dword [0x52ca38], 0x4b9c38
mov byte [0x52ca54], dl
mov dword [0x52ca3c], edi
mov dword [0x52ca40], 0x11
mov dword [0x52ca44], edi
mov dword [0x52ca48], edi
mov dword [0x52ca4c], edi
mov dword [0x52ca50], 0x407
call fcn.0045f3fc
add esp, 4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 7
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x78]
or ebp, 0xffffffff
cmp eax, edi
mov byte [esp + 0x68], 9
mov dword [esp + 0x24], ebp
jne 0x42a5c0
lea eax, [esp + 0x28]
mov dword [esp + 0x78], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x2c], edi
cmp ebx, edi
je 0x42a615
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x7c]
xor eax, ebx
shl eax, 0x11
and ecx, 0x1ffff
xor edx, edx
or eax, ecx
mov ecx, eax
shr eax, 4
div dword [0x52ca40]
mov eax, dword [0x52ca3c]
cmp eax, edi
je 0x42a611
mov eax, dword [eax + edx*4]
cmp eax, edi
je 0x42a611
cmp dword [eax + 8], ecx
je 0x42a60d
mov eax, dword [eax]
cmp eax, edi
jne 0x42a600
jmp 0x42a611
cmp eax, edi
jne 0x42a667
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push ecx
lea edx, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
call fcn.0043f530
add esp, 0x1c
cmp eax, edi
jne 0x42a6b4
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0xb
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x68], 0xa
jmp 0x42aa1d
add eax, 0xc
lea ecx, [esp + 0x34]
push eax
call fcn.0042b740
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], edx
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_3
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_3
jmp 0x42a6d0
push 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, esi
call fcn.0042ab20
mov esi, eax
cmp esi, edi
je 0x42aa0a
cmp dword [esi + 8], edi
je 0x42aa0a
cmp dword [esp + 0x2c], edi
jne 0x42a770
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
test eax, eax
jbe 0x42a770
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push edi
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call ebp
add esp, 8
test eax, eax
sete bl
lea ecx, [esp + 0x54]
mov byte [esp + 0x68], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 9
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x42a763
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax]
cmp edi, eax
jb 0x42a6fb
jmp 0x42a767
mov dword [esp + 0x24], edi
mov ebx, dword [esp + 0x74]
xor edi, edi
or ebp, 0xffffffff
cmp dword [esp + 0x24], edi
jge 0x42a78e
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x12
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x68], 0x11
jmp 0x42aa1d
mov eax, dword [esp + 0x2c]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp eax, edi
jne 0x42a8c7
cmp ebx, edi
je 0x42a8c7
mov edx, dword [esi]
lea eax, [esp + 0x48]
push edi
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [eax + 0xc]
push 0x52b540
push eax
call ebp
add esp, 8
test eax, eax
setne bl
lea ecx, [esp + 0x54]
mov byte [esp + 0x68], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 9
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x42a8c7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
xor eax, ebx
and ecx, 0x1ffff
shl eax, 0x11
or eax, ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x18]
mov dword [esp + 0x38], ecx
push edx
lea ecx, [esp + 0x40]
mov ebx, eax
mov dword [esp + 0x38], esi
call sub.MFC42.DLL_CString::operator_3
lea eax, [esp + 0x14]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::operator_3
mov edx, dword [esp + 0x34]
sub esp, 0x14
mov edi, esp
lea ecx, [esp + 0x50]
mov dword [esp + 0x90], esp
push ecx
mov dword [edi], edx
mov eax, dword [esp + 0x50]
lea ecx, [edi + 8]
mov dword [esp + 0x94], edi
mov dword [edi + 4], eax
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x54]
lea ecx, [edi + 0xc]
push edx
mov byte [esp + 0x80], 0x16
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x58]
lea ecx, [edi + 0x10]
push eax
mov byte [esp + 0x80], 0x17
call sub.MFC42.DLL_CString::CString_4
push ebx
mov ecx, 0x52ca38
mov byte [esp + 0x80], 9
call fcn.0042b230
xor edi, edi
mov edx, dword [esi]
lea eax, [esp + 0x48]
push edi
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [eax + 0xc]
mov bl, 0x18
push 0x52b540
push eax
mov byte [esp + 0x70], bl
call ebp
add esp, 8
lea edi, [esp + 0x10]
test eax, eax
jne 0x42a8f4
lea edi, [esp + 0x1c]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x74], 0x19
mov ecx, esp
mov dword [esp + 0x88], esp
push edi
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x7c], bl
call dword [eax + 0xc]
mov esi, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x68], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x42aa97
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0xd
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x68], 0xc
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov dword [esp + 0x68], ebp
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0x10