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

Disassembly:
push 0xffffffffffffffff
push 0x4a92ce
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 [0x52b0bc]
xor edi, edi
test al, 1
mov dword [esp + 0x68], edi
jne 0x42217b
mov dl, al
push 0x422700
or dl, 1
mov dword [0x52b0a0], 0x4b61c0
mov byte [0x52b0bc], dl
mov dword [0x52b0a4], edi
mov dword [0x52b0a8], 0x11
mov dword [0x52b0ac], edi
mov dword [0x52b0b0], edi
mov dword [0x52b0b4], edi
mov dword [0x52b0b8], 0x407
call fcn.004592ec
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 0x422210
lea eax, [esp + 0x28]
mov dword [esp + 0x78], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x2c], edi
cmp ebx, edi
je 0x422265
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 [0x52b0a8]
mov eax, dword [0x52b0a4]
cmp eax, edi
je 0x422261
mov eax, dword [eax + edx*4]
cmp eax, edi
je 0x422261
cmp dword [eax + 8], ecx
je 0x42225d
mov eax, dword [eax]
cmp eax, edi
jne 0x422250
jmp 0x422261
cmp eax, edi
jne 0x4222b7
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.0043b440
add esp, 0x1c
cmp eax, edi
jne 0x422304
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0xb
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x68], 0xa
jmp 0x42266d
add eax, 0xc
lea ecx, [esp + 0x34]
push eax
call fcn.00423390
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_2
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_2
jmp 0x422320
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.00422770
mov esi, eax
cmp esi, edi
je 0x42265a
cmp dword [esi + 8], edi
je 0x42265a
cmp dword [esp + 0x2c], edi
jne 0x4223c0
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
test eax, eax
jbe 0x4223c0
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 0x4223b3
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax]
cmp edi, eax
jb 0x42234b
jmp 0x4223b7
mov dword [esp + 0x24], edi
mov ebx, dword [esp + 0x74]
xor edi, edi
or ebp, 0xffffffff
cmp dword [esp + 0x24], edi
jge 0x4223de
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x12
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x68], 0x11
jmp 0x42266d
mov eax, dword [esp + 0x2c]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp eax, edi
jne 0x422517
cmp ebx, edi
je 0x422517
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 0x529ba0
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 0x422517
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_2
lea eax, [esp + 0x14]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::operator_2
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, 0x52b0a0
mov byte [esp + 0x80], 9
call fcn.00422e80
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 0x529ba0
push eax
mov byte [esp + 0x70], bl
call ebp
add esp, 8
lea edi, [esp + 0x10]
test eax, eax
jne 0x422544
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 0x4226e7
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