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

Disassembly:
sub esp, 0x44
mov al, 0x45
push ebx
push ebp
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
push esi
lea eax, [esp + 0x30]
push edi
lea ecx, [esp + 0x24]
push eax
mov bl, 0x6c
push ecx
push 0
mov byte [esp + 0x30], 0x4b
mov byte [esp + 0x32], 0x52
mov byte [esp + 0x33], 0x4e
mov byte [esp + 0x35], 0x4c
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 0
mov byte [esp + 0x40], 0x56
mov byte [esp + 0x41], 0x69
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x74
mov byte [esp + 0x44], 0x75
mov byte [esp + 0x45], 0x61
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], 0x41
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], 0x6f
mov byte [esp + 0x4b], 0x63
mov byte [esp + 0x4c], 0
call fcn.00401cd0
mov esi, eax
mov al, 0x73
mov byte [esp + 0x58], al
mov byte [esp + 0x59], al
lea edx, [esp + 0x50]
lea eax, [esp + 0x30]
push edx
push eax
push 0
mov byte [esp + 0x5c], 0x47
mov byte [esp + 0x5d], 0x65
mov byte [esp + 0x5e], 0x74
mov byte [esp + 0x5f], 0x50
mov byte [esp + 0x60], 0x72
mov byte [esp + 0x61], 0x6f
mov byte [esp + 0x62], 0x63
mov byte [esp + 0x63], 0x65
mov byte [esp + 0x66], 0x48
mov byte [esp + 0x67], 0x65
mov byte [esp + 0x68], 0x61
mov byte [esp + 0x69], 0x70
mov byte [esp + 0x6a], 0
call fcn.00401cd0
lea ecx, [esp + 0x30]
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
mov ebp, eax
mov byte [esp + 0x3c], 0x48
mov byte [esp + 0x3d], 0x65
mov byte [esp + 0x3e], 0x61
mov byte [esp + 0x3f], 0x70
mov byte [esp + 0x40], 0x41
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], 0x6f
mov byte [esp + 0x44], 0x63
mov byte [esp + 0x45], 0
call fcn.00401cd0
mov edi, dword [esp + 0x7c]
add esp, 0x24
mov dword [esp + 0x10], eax
cmp word [edi], 0x5a4d
je 0x402184
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret
add edi, dword [edi + 0x3c]
mov dword [esp + 0x14], edi
cmp dword [edi], 0x4550
je 0x40219d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x34]
push 4
push 0x2000
push eax
push ecx
call esi
mov ebx, eax
test ebx, ebx
jne 0x4021d0
mov edx, dword [edi + 0x50]
push 4
push 0x2000
push edx
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x4021d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push 0x14
push 0
call ebp
push eax
call dword [esp + 0x1c]
mov ebp, eax
xor eax, eax
push 4
push 0x1000
mov dword [ebp + 4], ebx
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], eax
mov eax, dword [edi + 0x50]
push eax
push ebx
call esi
mov ecx, dword [edi + 0x54]
push 4
push 0x1000
push ecx
push ebx
call esi
mov esi, dword [esp + 0x58]
mov ecx, dword [edi + 0x54]
push ebp
mov edi, dword [esi + 0x3c]
add ecx, edi
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x18]
push esi
push ecx
mov edx, dword [ecx + 0x3c]
add eax, edx
mov dword [ebp], eax
mov dword [eax + 0x34], ebx
call fcn.004022b0
mov ecx, dword [esi + 0x34]
mov eax, ebx
add esp, 0xc
sub eax, ecx
je 0x402254
push eax
push ebp
call fcn.004025e0
add esp, 8
push ebp
call fcn.00402660
add esp, 4
test eax, eax
je 0x402285
push ebp
call fcn.00402420
mov eax, dword [ebp]
add esp, 4
mov eax, dword [eax + 0x28]
test eax, eax
je 0x40229f
add eax, ebx
test eax, eax
je 0x402285
push 0
push 1
push ebx
call eax
test eax, eax
jne 0x402298
push ebp
call fcn.00402940
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov dword [ebp + 0x10], 1
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x44
ret