Function at 0x401f90
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x4593b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 0x4e52454b
push eax
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x50], 0x74726956
mov dword [ebp - 0x4c], 0x416c6175
mov dword [ebp - 0x48], 0x636f6c6c
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x4e52454b
mov dword [ebp - 0x3c], 0x32334c45
mov dword [ebp - 0x38], 0x6c6c642e
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x64616f4c
mov dword [ebp - 0x2c], 0x7262694c
mov dword [ebp - 0x28], 0x41797261
mov byte [ebp - 0x24], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x402043
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x402043
xor ebx, ebx
mov dword [ebp - 0xac], ebx
jmp 0x402052
lea ecx, [ebp - 0x50]
push ecx
push eax
call esi
mov ebx, eax
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0xa0], 0x50746547
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x9c], 0x65636f72
push eax
mov dword [ebp - 0x98], 0x65487373
mov word [ebp - 0x94], 0x7061
mov byte [ebp - 0x92], 0
mov dword [ebp - 0x70], 0x4e52454b
mov dword [ebp - 0x6c], 0x32334c45
mov dword [ebp - 0x68], 0x6c6c642e
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x60], 0x64616f4c
mov dword [ebp - 0x5c], 0x7262694c
mov dword [ebp - 0x58], 0x41797261
mov byte [ebp - 0x54], 0
call edi
push eax
call esi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x4020e5
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0xa8]
test eax, eax
jne 0x4020e5
mov dword [ebp - 0xa8], eax
jmp 0x4020f5
lea ecx, [ebp - 0xa0]
push ecx
push eax
call esi
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x20], 0x70616548
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x1c], 0x6f6c6c41
push eax
mov word [ebp - 0x18], 0x63
mov dword [ebp - 0x90], 0x4e52454b
mov dword [ebp - 0x8c], 0x32334c45
mov dword [ebp - 0x88], 0x6c6c642e
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x80], 0x64616f4c
mov dword [ebp - 0x7c], 0x7262694c
mov dword [ebp - 0x78], 0x41797261
mov byte [ebp - 0x74], 0
call edi
push eax
call esi
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x14]
push eax
call edi
test eax, eax
jne 0x402179
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0xa4]
test eax, eax
jne 0x402179
xor esi, esi
jmp 0x402182
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
mov esi, eax
mov eax, 0x5a4d
cmp word [0x459df0], ax
jne 0x402357
mov ecx, dword [0x459e2c]
cmp dword [ecx + 0x459df0], 0x4550
lea edi, [ecx + 0x459df0]
jne 0x402357
push 4
push 0x2000
push dword [edi + 0x50]
push dword [edi + 0x34]
call ebx
mov dword [ebp - 0xa4], eax
test eax, eax
jne 0x4021e4
push 4
push 0x2000
push dword [edi + 0x50]
push eax
call ebx
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x402357
push 0x14
push 0
call dword [ebp - 0xa8]
push eax
call esi
mov esi, dword [ebp - 0xac]
mov ebx, eax
mov eax, dword [ebp - 0xa4]
push 4
push 0x1000
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 0
push dword [edi + 0x50]
mov dword [ebp - 0xb0], ebx
push eax
call esi
push 4
push 0x1000
push dword [edi + 0x54]
push dword [ebp - 0xa4]
call esi
mov ecx, dword [edi + 0x54]
mov esi, eax
add ecx, dword [0x459e2c]
push ecx
push 0x459df0
push esi
call fcn.0042afd0
mov eax, dword [0x459e2c]
mov edx, edi
add eax, esi
mov esi, dword [ebp - 0xa4]
mov dword [ebx], eax
push ebx
mov dword [eax + 0x34], esi
call fcn.00401890
mov eax, esi
add esp, 0x10
sub eax, dword [edi + 0x34]
mov dword [ebp - 0xac], eax
je 0x40230c
mov edi, dword [ebx]
cmp dword [edi + 0xa4], 0
jbe 0x40230c
mov ecx, dword [ebx + 4]
mov edi, dword [edi + 0xa0]
add edi, ecx
mov dword [ebp - 0xa8], ecx
mov eax, dword [edi]
test eax, eax
je 0x40230c
lea ebx, [eax + ecx]
xor esi, esi
mov ecx, dword [edi + 4]
lea edx, [edi + 8]
lea eax, [ecx - 8]
test eax, 0xfffffffe
jbe 0x4022f1
nop dword [eax]
movzx eax, word [edx]
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x3000
jne 0x4022e1
mov ecx, dword [ebp - 0xac]
and eax, 0xfff
add dword [eax + ebx], ecx
mov ecx, dword [edi + 4]
inc esi
add edx, 2
lea eax, [ecx - 8]
shr eax, 1
cmp esi, eax
jb 0x4022c0
mov eax, dword [edi + ecx]
add edi, ecx
mov ecx, dword [ebp - 0xa8]
test eax, eax
jne 0x4022a7
mov ebx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xa4]
mov ecx, ebx
call fcn.00401c10
test eax, eax
je 0x402350
mov ecx, ebx
call fcn.00401a00
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x40233d
add eax, esi
je 0x402350
push 0
push 1
push esi
call eax
test eax, eax
je 0x402350
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429641
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00402430
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429641
mov esp, ebp
pop ebp
ret