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

Disassembly:
push 0xffffffffffffffff
push 0x59a46e
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 [0x67de5c]
xor edi, edi
test al, 1
mov dword [esp + 0x68], edi
jne 0x46433b
mov dl, al
push 0x4648c0
or dl, 1
mov dword [0x67de40], 0x5ae730
mov byte [0x67de5c], dl
mov dword [0x67de44], edi
mov dword [0x67de48], 0x11
mov dword [0x67de4c], edi
mov dword [0x67de50], edi
mov dword [0x67de54], edi
mov dword [0x67de58], 0x407
call fcn.0045ba2e
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 0x4643d0
lea eax, [esp + 0x28]
mov dword [esp + 0x78], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x2c], edi
cmp ebx, edi
je 0x464425
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 [0x67de48]
mov eax, dword [0x67de44]
cmp eax, edi
je 0x464421
mov eax, dword [eax + edx*4]
cmp eax, edi
je 0x464421
cmp dword [eax + 8], ecx
je 0x46441d
mov eax, dword [eax]
cmp eax, edi
jne 0x464410
jmp 0x464421
cmp eax, edi
jne 0x464477
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_2
call fcn.00481f10
add esp, 0x1c
cmp eax, edi
jne 0x4644c4
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0xb
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x68], 0xa
jmp 0x46482d
add eax, 0xc
lea ecx, [esp + 0x34]
push eax
call fcn.00465710
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_1
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_1
jmp 0x4644e0
push 1
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00464930
mov esi, eax
cmp esi, edi
je 0x46481a
cmp dword [esi + 8], edi
je 0x46481a
cmp dword [esp + 0x2c], edi
jne 0x464580
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
test eax, eax
jbe 0x464580
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 0x464573
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax]
cmp edi, eax
jb 0x46450b
jmp 0x464577
mov dword [esp + 0x24], edi
mov ebx, dword [esp + 0x74]
xor edi, edi
or ebp, 0xffffffff
cmp dword [esp + 0x24], edi
jge 0x46459e
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x12
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x68], 0x11
jmp 0x46482d
mov eax, dword [esp + 0x2c]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp eax, edi
jne 0x4646d7
cmp ebx, edi
je 0x4646d7
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 0x641dc4
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 0x4646d7
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_1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::operator_1
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_2
lea edx, [esp + 0x54]
lea ecx, [edi + 0xc]
push edx
mov byte [esp + 0x80], 0x16
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x58]
lea ecx, [edi + 0x10]
push eax
mov byte [esp + 0x80], 0x17
call sub.MFC42.DLL_CString::CString_2
push ebx
mov ecx, 0x67de40
mov byte [esp + 0x80], 9
call fcn.00465200
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 0x641dc4
push eax
mov byte [esp + 0x70], bl
call ebp
add esp, 8
lea edi, [esp + 0x10]
test eax, eax
jne 0x464704
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_2
push ecx
mov byte [esp + 0x74], 0x19
mov ecx, esp
mov dword [esp + 0x88], esp
push edi
call sub.MFC42.DLL_CString::CString_2
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 0x4648a7
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