Function at 0x4f5d60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x68412e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebp, ebp
lea ecx, [esi + 4]
mov dword [esp + 0x1c], ebp
mov dword [esi], 0xffffffff
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x28]
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
mov dword [esi + 8], eax
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x18], ebp
push eax
mov byte [esp + 0x20], 2
mov dword [esi + 0x10], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], edx
or edi, 0xffffffff
mov ebx, eax
call fcn.004a1b30
add esp, 4
test eax, eax
jne 0x4f5eaf
mov eax, dword [esi]
cmp eax, 0x2a
jl 0x4f5dfd
cmp eax, 0x2e
jg 0x4f5dfd
push eax
call fcn.004eb8b0
add esp, 4
mov ebx, eax
mov edi, 6
mov eax, dword [esi + 0x28]
cmp edi, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esi], ebx
mov dword [esi + 0x28], edi
jne 0x4f5e1e
mov ecx, dword [esi + 0x24]
push ecx
push ebx
call fcn.004f6090
add esp, 8
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
je 0x4f5e34
xor edx, edx
cmp eax, 6
sete dl
mov dword [esi + 0x24], edx
cmp eax, 0xffffffff
jne 0x4f5e4b
mov eax, dword [esi + 0x24]
mov ecx, dword [esi]
push eax
push ecx
call fcn.004f6090
add esp, 8
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x28]
inc ecx
cmp ecx, 0xf
ja case.default.0x4f5e5f
xor edx, edx
mov dl, byte [ecx + 0x4f5fa4]
jmp dword [edx*4 + 0x4f5f8c]
xor ecx, ecx
cmp eax, 4
setne cl
mov eax, ecx
jmp 0x4f5ea4
cmp eax, ebp
je 0x4f5eaf
cmp eax, 7
jne case.default.0x4f5e5f
jmp 0x4f5eaf
cmp eax, 3
je 0x4f5eaf
cmp eax, 6
jne case.default.0x4f5e5f
jmp 0x4f5eaf
cmp eax, 1
je 0x4f5eaf
cmp eax, 2
je 0x4f5eaf
cmp eax, 5
jne case.default.0x4f5e5f
jmp 0x4f5eaf
xor edx, edx
cmp eax, 9
sete dl
mov eax, edx
cmp eax, ebp
jne 0x4f5eaf
mov dword [esi + 8], 0xffffffff
mov ecx, dword [esp + 0x2c]
cmp dword [ecx - 8], ebp
je case.default.0x4f5f2c
cmp dword [esi + 0x28], 0xffffffff
jne 0x4f5f24
mov eax, dword [esi]
cmp eax, 0x81
ja case.0x4f5ed3.9
xor edx, edx
mov dl, byte [eax + 0x4f5fdc]
jmp dword [edx*4 + 0x4f5fb4]
xor eax, eax
jmp 0x4f5f21
mov eax, 7
jmp 0x4f5f21
mov eax, 9
jmp 0x4f5f21
mov eax, 1
jmp 0x4f5f21
mov eax, 8
jmp 0x4f5f21
mov eax, 5
jmp 0x4f5f21
mov eax, 2
jmp 0x4f5f21
mov eax, 4
jmp 0x4f5f21
mov eax, dword [esi + 0x24]
neg eax
sbb eax, eax
and eax, 3
add eax, 3
jmp 0x4f5f21
or eax, 0xffffffff
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x28]
cmp eax, 9
ja case.default.0x4f5f2c
jmp dword [eax*4 + 0x4f6060]
lea eax, [esp + 0x2c]
lea ecx, [esi + 0xc]
push eax
call sub.MFC42u.DLL_CString::operator_2
jmp case.default.0x4f5f2c
lea ecx, [esp + 0x2c]
push ecx
call fcn.0041a810
fstp qword [esi + 0x18]
add esp, 4
jmp case.default.0x4f5f2c
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
mov dword [esi + 0x10], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14