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

Disassembly:
push 0xffffffffffffffff
push 0x465858
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x47e4f0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov eax, dword [0x47e4f0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
push 0x482bd0
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], 0x482bd0
mov dword [esp + 0x90], ebx
cmp byte [0x482ae0], bl
je 0x401b6b
mov eax, 0x482ae0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401b50
sub eax, edx
push eax
push 0x482ae0
mov ecx, edi
call fcn.004033b0
jmp 0x401d3e
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
cpuid
lea esi, [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
cmp dword [esp + 0xc], eax
jb 0x401bda
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov eax, SysReAllocString
cpuid
lea esi, [esp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
push 0x40
lea ecx, [esp + 0x48]
push 0
push ecx
mov dword [esi + 0xc], edx
call fcn.00446080
add esp, 0xc
cmp dword [esp + 0xc], 0x80000004
jb 0x401cad
xor ecx, ecx
mov eax, reloc.OLEAUT32.dll_SysReAllocString
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x50], edx
mov eax, SysStringLen
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
xor ecx, ecx
mov dword [esp + 0x5c], edx
mov eax, SysStringLen
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov esi, dword [sym.imp.SHLWAPI.dll_StrTrimA]
push 0x471e88
lea edx, [esp + 0x28]
push edx
call esi
push 0x471e88
lea eax, [esp + 0x48]
push eax
call esi
mov ecx, 0x471e8c
lea eax, [esp + 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401cf4
test dl, dl
je 0x401cf0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401cf4
add eax, 2
add ecx, 2
test dl, dl
jne 0x401cd4
xor eax, eax
jmp 0x401cf9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401d10
mov eax, 0x471e9c
mov edx, 0x20
lea ecx, [esp + 0x24]
call fcn.00403ca0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
push 0x471eac
push edi
call fcn.00403850
mov eax, dword [edi]
add esp, 0x14
mov edx, 0x80
mov ecx, 0x482ae0
call fcn.00403ca0
push 0x482bd0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00445a92
add esp, 0x88
ret