Function at 0x4022e0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
sub esp, 0x48
mov eax, dword [0x42bbe8]
xor eax, esp
mov dword [esp + 0x44], eax
cmp word [ebx], 0x5a4d
je 0x402306
xor eax, eax
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0040f82a
add esp, 0x48
ret
push ebp
mov ebp, dword [ebx + 0x3c]
add ebp, ebx
cmp dword [ebp], 0x4550
je 0x402327
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0040f82a
add esp, 0x48
ret
push esi
mov al, 0x45
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x1c], 0x4b
mov byte [esp + 0x1e], 0x52
mov byte [esp + 0x1f], 0x4e
mov byte [esp + 0x21], 0x4c
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x26], 0x6c
mov byte [esp + 0x27], 0x6c
mov byte [esp + 0x28], 0
mov byte [esp + 0x38], 0x56
mov byte [esp + 0x39], 0x69
mov byte [esp + 0x3a], 0x72
mov byte [esp + 0x3b], 0x74
mov byte [esp + 0x3c], 0x75
mov byte [esp + 0x3d], 0x61
mov byte [esp + 0x3e], 0x6c
mov byte [esp + 0x3f], 0x41
mov byte [esp + 0x40], 0x6c
mov byte [esp + 0x41], 0x6c
mov byte [esp + 0x42], 0x6f
mov byte [esp + 0x43], 0x63
mov byte [esp + 0x44], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x34]
push 4
push 0x2000
push edx
push ecx
mov dword [esp + 0x20], eax
call eax
mov esi, eax
test esi, esi
jne 0x4023f9
mov edx, dword [ebp + 0x50]
push 4
push 0x2000
push edx
push eax
call dword [esp + 0x20]
mov esi, eax
test esi, esi
je 0x40254a
mov al, 0x73
mov byte [esp + 0x48], al
mov byte [esp + 0x49], al
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x48], 0x47
mov byte [esp + 0x49], 0x65
mov byte [esp + 0x4a], 0x74
mov byte [esp + 0x4b], 0x50
mov byte [esp + 0x4c], 0x72
mov byte [esp + 0x4d], 0x6f
mov byte [esp + 0x4e], 0x63
mov byte [esp + 0x4f], 0x65
mov byte [esp + 0x52], 0x48
mov byte [esp + 0x53], 0x65
mov byte [esp + 0x54], 0x61
mov byte [esp + 0x55], 0x70
mov byte [esp + 0x56], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x24]
mov dword [esp + 0xc], eax
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x2c], 0x48
mov byte [esp + 0x2d], 0x65
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x70
mov byte [esp + 0x30], 0x41
mov byte [esp + 0x31], 0x6c
mov byte [esp + 0x32], 0x6c
mov byte [esp + 0x33], 0x6f
mov byte [esp + 0x34], 0x63
mov byte [esp + 0x35], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x14
push 0
mov edi, eax
call dword [esp + 0x14]
push eax
call edi
mov edi, eax
xor eax, eax
push 4
mov dword [edi + 4], esi
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov ecx, dword [ebp + 0x50]
push 0x1000
push ecx
push esi
call dword [esp + 0x20]
mov edx, dword [ebp + 0x54]
push 4
push 0x1000
push edx
push esi
call dword [esp + 0x20]
mov ecx, dword [ebx + 0x3c]
add ecx, dword [ebp + 0x54]
mov dword [esp + 0xc], eax
push ecx
push ebx
push eax
call fcn.00413c30
mov edx, dword [ebx + 0x3c]
mov eax, dword [esp + 0x18]
add eax, edx
push edi
mov dword [edi], eax
push ebx
mov ecx, ebp
mov dword [eax + 0x34], esi
call fcn.00401d30
mov eax, esi
add esp, 0x14
sub eax, dword [ebp + 0x34]
je 0x40251b
push eax
mov eax, edi
call fcn.00402260
add esp, 4
mov ecx, edi
call fcn.00402090
test eax, eax
je 0x402545
mov ecx, edi
call fcn.00401eb0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x402565
add eax, esi
je 0x402545
push 0
push 1
push esi
call eax
test eax, eax
jne 0x40255e
call fcn.00402620
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0040f82a
add esp, 0x48
ret
mov dword [edi + 0x10], 1
mov ecx, dword [esp + 0x50]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040f82a
add esp, 0x48
ret