Function at 0x100049b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
cmp edx, ecx
jne 0x10004c62
mov ecx, ecx
je 0x10004c62
aaa
retf 0x54ef
jmp 0x10004d86
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 0x4550
je 0x10004a46
xor al, al
jmp 0x10004d86
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov eax, eax
cmp ebx, ecx
jne 0x10004b12
mov eax, eax
mov eax, eax
je 0x10004b12
add byte [eax], al
out 0xcb, al
or ecx, esi
and dword [ecx + edx*8], eax
sahf
pop esi
push es
salc
mov dh, 0x45
pop ebp
cmp al, 0x5f
jae 0x10004ad5
mov ch, ch
fistp dword [ebp + 0x193ca5a3]
dec ebx
or cl, ah
mov byte [eax + 0x31d2b850], bl
cmp bh, byte [edi + edi*2]
and byte [ecx + 0x48b2c246], ah
rol edi, 0xb2
jge 0x10004a61
aaa
jg 0x10004af4
and al, 0x19
int 0x60
fbstp tbyte [0x3797b5c8]
scasb al, byte es:[edi]
sbb edi, dword [edi - 0x4eeeafc7]
adc eax, 0x38f32415
xor al, 0x29
rol dword [eax + 0x70], 1
std
shl byte [0xec4d8b64], 1
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10004a28
xor al, al
cmp ebp, eax
jne 0x10004a23
mov ecx, ecx
mov ecx, ecx
leave
je 0x10004a23
sbb al, 0xc3
push ebp
xor ah, cl
inc esp
cmpsb byte [esi], byte es:[edi]
xor eax, dword [esi - 0x4ece440e]
dec edi
inc edx
sub eax, 0x30aebb50
lcall 0x7976, 0x1be65afb
sbb esi, dword [esi + 0x79]
das
jno 0x10004b20
aaa
xchg edi, eax
push eax
in al, dx
nop
int3
mov ecx, dword [ebp - 4]
add ecx, 0x14
mov dword [ebp - 0x10], ecx
mov eax, eax
cmp edx, edi
jne 0x10004b81
pushal
mov eax, eax
je 0x10004b81
inc eax
insb byte es:[edi], dx
invalid
mov edx, dword [ebp - 0x10]
cmp ecx, ebx
jne 0x10004cd1
mov edi, edi
mov edi, edi
je 0x10004cd1
out dx, al
invalid
jmp 0x10004d86
cmp ebp, ecx
jne 0x10004ab6
mov ecx, ecx
mov ecx, ecx
je 0x10004ab6
push ecx
wait
xor ecx, dword [eax + 0x74c05302]
scasb al, byte es:[edi]
nop
lahf
add byte [ecx + 0xc], bl
pop ds
cmp byte [eax + 0x2d000def], 0x4c
shr byte [esp + ebx - 0x7b], 0x45
dec eax
test al, 0x32
pop edi
xchg edx, eax
mov dl, 0x79
invalid
mov esp, ebp
pop ebp
ret
mov esi, esi
cmp dword [ebp + 8], 0
jne 0x10004bef
xor al, al
cmp esi, ebp
jne 0x10004bea
mov esi, esi
mov esi, esi
je 0x10004bea
loopne 0x10004c62
xchg ecx, eax
push esi
sbb byte [edx + 0x6a], cl
dec esi
push 0xffffffffffffffb0
fild word [ecx]
scasd eax, dword es:[edi]
pop ds
int3
movzx eax, word [edx]
cmp eax, 0x10b
je 0x10004cf2
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
cmp edx, 0x20b
je 0x10004cf2
mov ebx, ebx
xor al, al
jmp 0x10004d86
mov ecx, ecx
mov eax, dword [ebp - 0x10]
add eax, 0xe0
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x10004d0d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0
je 0x10004d76
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp eax, ebp
jne 0x10004d76
mov ebx, ebx
je 0x10004d76
inc ecx
cld
hlt
cmp dword [ebp + 0x14], 0
je 0x10004d84
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov al, 1
cmp esi, ebp
jne 0x10004c5e
mov ebx, ebx
je 0x10004c5e
inc eax
inc ebx
push esp
int 0xc1
call 0xa77e44d1
jb 0x10004e1f
into
test byte [ebp - 0x1f8c1e55], bl
invalid
invalid