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

Disassembly:
push 0xffffffffffffffff
push 0x52914e
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 [0x618c44]
xor edi, edi
test al, 1
mov dword [esp + 0x68], edi
jne 0x48b1fb
mov dl, al
push 0x48b780
or dl, 1
mov dword [0x618c28], 0x536ca8
mov byte [0x618c44], dl
mov dword [0x618c2c], edi
mov dword [0x618c30], 0x11
mov dword [0x618c34], edi
mov dword [0x618c38], edi
mov dword [0x618c3c], edi
mov dword [0x618c40], 0x407
call fcn.004c2af2
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 0x48b290
lea eax, [esp + 0x28]
mov dword [esp + 0x78], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x2c], edi
cmp ebx, edi
je 0x48b2e5
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 [0x618c30]
mov eax, dword [0x618c2c]
cmp eax, edi
je 0x48b2e1
mov eax, dword [eax + edx*4]
cmp eax, edi
je 0x48b2e1
cmp dword [eax + 8], ecx
je 0x48b2dd
mov eax, dword [eax]
cmp eax, edi
jne 0x48b2d0
jmp 0x48b2e1
cmp eax, edi
jne 0x48b337
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.004a0480
add esp, 0x1c
cmp eax, edi
jne 0x48b384
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0xb
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x68], 0xa
jmp 0x48b6ed
add eax, 0xc
lea ecx, [esp + 0x34]
push eax
call fcn.0048c410
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 0x48b3a0
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.0048b7f0
mov esi, eax
cmp esi, edi
je 0x48b6da
cmp dword [esi + 8], edi
je 0x48b6da
cmp dword [esp + 0x2c], edi
jne 0x48b440
mov edx, dword [esi]
mov ecx, esi
call dword [edx]
test eax, eax
jbe 0x48b440
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 0x48b433
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax]
cmp edi, eax
jb 0x48b3cb
jmp 0x48b437
mov dword [esp + 0x24], edi
mov ebx, dword [esp + 0x74]
xor edi, edi
or ebp, 0xffffffff
cmp dword [esp + 0x24], edi
jge 0x48b45e
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 0x12
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x68], 0x11
jmp 0x48b6ed
mov eax, dword [esp + 0x2c]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp eax, edi
jne 0x48b597
cmp ebx, edi
je 0x48b597
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 0x5ad740
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 0x48b597
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, 0x618c28
mov byte [esp + 0x80], 9
call fcn.0048bf00
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 0x5ad740
push eax
mov byte [esp + 0x70], bl
call ebp
add esp, 8
lea edi, [esp + 0x10]
test eax, eax
jne 0x48b5c4
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 0x48b767
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