Function at 0x404f5b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push edi
push 0x31
pop eax
push 0x69
mov word [ebp - 0x98], ax
pop eax
push 0x42
mov word [ebp - 0x96], ax
pop eax
push 0x2f
mov word [ebp - 0x94], ax
pop eax
push 0x4e
mov word [ebp - 0x92], ax
pop eax
push 0x65
mov word [ebp - 0x90], ax
pop eax
push 0x36
mov word [ebp - 0x8e], ax
pop eax
push 0x4b
mov word [ebp - 0x8c], ax
pop eax
push 0x51
mov word [ebp - 0x8a], ax
pop eax
push 0x38
mov word [ebp - 0x88], ax
pop eax
push 0x71
mov word [ebp - 0x86], ax
pop eax
push 0x76
mov word [ebp - 0x84], ax
pop eax
push 0x66
mov word [ebp - 0x82], ax
pop eax
push 0x67
mov word [ebp - 0x80], ax
pop eax
push 0x52
mov word [ebp - 0x7e], ax
pop eax
push 0x2e
mov word [ebp - 0x7c], ax
pop eax
push 0x33
mov word [ebp - 0x7a], ax
pop eax
push 0x6c
mov word [ebp - 0x78], ax
pop eax
push 0x39
mov word [ebp - 0x76], ax
pop eax
push 0x5a
mov word [ebp - 0x74], ax
pop eax
push 0x45
mov word [ebp - 0x72], ax
pop eax
push 0x7a
mov word [ebp - 0x70], ax
pop eax
push 0x6d
mov word [ebp - 0x6e], ax
pop eax
push 0x78
mov word [ebp - 0x6c], ax
pop eax
push 0x44
mov word [ebp - 0x6a], ax
pop eax
push 0x6e
mov word [ebp - 0x68], ax
pop eax
mov word [ebp - 0x66], ax
push 0x57
pop eax
push 0x50
mov word [ebp - 0x64], ax
pop eax
push 0x53
mov word [ebp - 0x62], ax
pop eax
push 0x70
mov word [ebp - 0x60], ax
pop eax
push 0x4f
mov word [ebp - 0x5e], ax
pop eax
push 0x2d
mov word [ebp - 0x5c], ax
pop eax
push 0x43
mov word [ebp - 0x5a], ax
pop eax
push 0x75
mov word [ebp - 0x58], ax
pop eax
push 0x55
mov word [ebp - 0x56], ax
pop eax
push 0x4c
mov word [ebp - 0x54], ax
pop eax
push 0x73
mov word [ebp - 0x52], ax
pop eax
push 0x6b
mov word [ebp - 0x50], ax
pop eax
push 0x64
mov word [ebp - 0x4e], ax
pop eax
push 0x61
mov word [ebp - 0x4c], ax
pop eax
push 0x58
mov word [ebp - 0x4a], ax
pop eax
push 0x6f
mov word [ebp - 0x48], ax
pop eax
push 0x72
mov word [ebp - 0x46], ax
pop eax
push 0x49
mov word [ebp - 0x44], ax
pop eax
push 0x74
mov word [ebp - 0x42], ax
pop eax
push 0x4d
mov word [ebp - 0x40], ax
pop eax
push 0x35
mov word [ebp - 0x3e], ax
pop eax
push 0x6a
mov word [ebp - 0x3c], ax
pop eax
push 0x79
mov word [ebp - 0x3a], ax
pop eax
push 0x46
mov word [ebp - 0x38], ax
pop eax
push 0x32
mov word [ebp - 0x36], ax
pop eax
push 0x63
mov word [ebp - 0x34], ax
pop eax
push 0x30
mov word [ebp - 0x32], ax
pop eax
mov word [ebp - 0x30], ax
push 0x56
pop eax
push 0x68
mov word [ebp - 0x2e], ax
pop eax
push 0x4a
mov word [ebp - 0x2c], ax
pop eax
push 0x5f
mov word [ebp - 0x2a], ax
pop eax
push 0x62
mov word [ebp - 0x28], ax
pop eax
push 0x48
mov word [ebp - 0x26], ax
pop eax
push 0x37
mov word [ebp - 0x24], ax
pop eax
push 0x47
mov word [ebp - 0x22], ax
pop eax
push 0x59
mov word [ebp - 0x20], ax
pop eax
push 0x34
mov word [ebp - 0x1e], ax
pop eax
push 0x54
mov word [ebp - 0x1c], ax
pop eax
push 0x77
mov word [ebp - 0x1a], ax
pop eax
push 0x41
mov word [ebp - 0x18], ax
pop eax
push 0x5b
mov word [ebp - 0x16], ax
pop eax
push 0x5d
mov word [ebp - 0x14], ax
pop eax
push 0x7b
mov word [ebp - 0x12], ax
pop eax
push 0x7d
mov word [ebp - 0x10], ax
pop eax
push 0x3c
mov word [ebp - 0xe], ax
pop eax
push 0x3e
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x7c
pop eax
mov word [ebp - 8], ax
push 0x5e
pop eax
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
mov eax, dword [ebp + 8]
push eax
call fcn.004052f9
pop ecx
xor edi, edi
lea eax, [eax*2 + 1]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x405224
push esi
push dword [ebp + 8]
mov esi, edi
call fcn.004052f9
pop ecx
test eax, eax
je 0x40521d
mov eax, dword [ebp + 8]
inc edi
movzx eax, word [eax + esi*2]
mov dword [ebp - 0x9c], eax
movzx eax, ax
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004052db
pop ecx
pop ecx
test eax, eax
je 0x405202
lea ecx, [ebp - 0x98]
sub eax, ecx
sar eax, 1
add eax, dword [ebp + 0xc]
movzx eax, word [ebp + eax*2 - 0x98]
jmp 0x40520b
mov eax, dword [ebp - 0x9c]
movzx eax, ax
push dword [ebp + 8]
mov word [ebx + esi*2], ax
inc esi
call fcn.004052f9
pop ecx
cmp esi, eax
jb 0x4051c7
xor eax, eax
mov word [ebx + edi*2], ax
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret