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

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov dword [esp + 0x18], ecx
push edi
mov dword [esp + 0x18], ebx
mov ebp, dword [ebx]
cmp ebp, ebx
je 0x3543e0
jmp 0x3541c0
mov esi, dword [ebp + 0x30]
mov dword [esp + 0x14], 0x3d42
shr dword [esp + 0x14], 4
imul eax, dword [esp + 0x14], 0x5d
mov dword [esp + 0x14], eax
imul eax, dword [esp + 0x14], 0x57
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0x4ecad597
or dword [esp + 0x14], 0x3c04465
mov eax, dword [esp + 0x14]
shl eax, 6
mov dword [esp + 0x14], eax
shr dword [esp + 0x14], 7
add dword [esp + 0x14], 0xffff768f
xor dword [esp + 0x14], 0x1f8ad06
mov dword [esp + 0x10], 0x727d
imul eax, dword [esp + 0x10], 0x6d
mov dword [esp + 0x10], eax
mov eax, 0x6c16c16d
shl dword [esp + 0x10], 0xf
xor dword [esp + 0x10], 0xf3d1e7b4
mov ecx, dword [esp + 0x10]
mul ecx
mov eax, 0xf0f0f0f1
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 0x10], ecx
shr dword [esp + 0x10], 1
add dword [esp + 0x10], 0xb65
mov ecx, dword [esp + 0x10]
mul ecx
shr edx, 5
mov dword [esp + 0x10], edx
xor dword [esp + 0x10], 0xe6a8e
mov dword [esp + 0x10], 0x5917
add dword [esp + 0x10], 0xac1f
shr dword [esp + 0x10], 3
shl dword [esp + 0x10], 0xa
xor dword [esp + 0x10], 0xbfc66964
xor dword [esp + 0x10], 0x8e435246
shl dword [esp + 0x10], 0xc
imul eax, dword [esp + 0x10], 0x35
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov dword [esp + 0x10], ecx
xor dword [esp + 0x10], 0xd874a010
cmp word [esi], 0
je 0x3543c6
jmp 0x3542d0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x727d
imul eax, dword [esp + 0x10], 0x6d
mov dword [esp + 0x10], eax
mov eax, 0x6c16c16d
shl dword [esp + 0x10], 0xf
xor dword [esp + 0x10], 0xf3d1e7b4
mov ecx, dword [esp + 0x10]
mul ecx
mov eax, 0xf0f0f0f1
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 0x10], ecx
shr dword [esp + 0x10], 1
add dword [esp + 0x10], 0xb65
mov ecx, dword [esp + 0x10]
mul ecx
shr edx, 5
mov dword [esp + 0x10], edx
xor dword [esp + 0x10], 0xe6a8e
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x5917
add dword [esp + 0x10], 0xac1f
shr dword [esp + 0x10], 3
shl dword [esp + 0x10], 0xa
xor dword [esp + 0x10], 0xbfc66964
xor dword [esp + 0x10], 0x8e435246
shl dword [esp + 0x10], 0xc
imul eax, dword [esp + 0x10], 0x35
shl edx, cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov dword [esp + 0x10], ecx
xor dword [esp + 0x10], 0xd874a010
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x14]
movzx eax, word [esi]
shl edi, cl
cmp eax, 0x41
jb 0x3543a5
cmp eax, 0x5a
ja 0x3543a5
add eax, 0x20
mov dword [esp + 0x14], eax
add esi, 2
add dword [esp + 0x14], edx
add dword [esp + 0x14], edi
sub dword [esp + 0x14], ebx
cmp word [esi], 0
jne 0x3542d0
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor eax, 0x7f212706
cmp eax, dword [esp + 0x1c]
je 0x3543ea
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x3541c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret