Function at 0x4168a8
Capabilities:
Parse pe header

Disassembly:
jne 0x416897
add byte [ecx], dh
rcr byte [ebx + 0x5a], 0x59
push ebp
mov ebp, esp
sub esp, 4
push edi
push esi
push ecx
lea esp, [esp - 4]
xchg dword [esp], edx
sub edx, ecx
or edx, 0xffffffff
push ebx
not ebx
mov ebx, esp
and edx, dword [ebx + 4]
xor dword [esp - 0x3a], ebx
sub eax, 0
mov ebx, dword [ebx]
jno 0x4168d6
sub eax, 0
push 0x7c
call 0x4168f1
add eax, 0x81688b5a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x416889
add esp, 8
add esp, 8
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], 0
push ebp
push 0xffffffffffffffff
lea esp, [esp - 0x54]
mov dword [esp + 0x50], 0x73022c73
lea esp, [esp + 0x50]
push eax
lea eax, [edi]
mov eax, esp
xchg dword [eax], esi
mov eax, dword [eax]
xchg eax, esi
sub esi, esi
sub esi, 0x7301940e
neg esi
xchg dword [esp], esi
xor al, 0x24
push 0xffffffffffffffff
call fcn.0040d420
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
cmp word [ebx], 0x5a4d
jne 0x416cc5
mov eax, dword [ebx + 0x3c]
cmp eax, dword [esi + 0xc]
jae 0x416cc5
lea esp, [esp - 4]
mov dword [esp], eax
pop dword [esi + 0x20]
add ebx, eax
mov dword [esi + 0x24], ebx
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x18], eax
cmp dword [ebx], 0x4550
jne 0x416cc5
cmp word [ebx + 4], 0x14c
jne 0x416cc5
movzx eax, word [ebx + 0x14]
add dword [esp - 0x18], ebx
push 0xf1b68e3
call 0x4169a5
loopne 0x41692c
pop esi
aas
or al, 0x55
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
push cs
das
add esp, 8
lea eax, [eax + 0x18]
add eax, dword [esi + 0x20]
add eax, dword [esi + 8]
push edx
mov edx, esi
add edx, 0x10
mov dword [edx], eax
pop edx
mov dword [esp - 0x16], edx
add bl, byte [edx - 0x77]
push esp
and al, 0xea
test word [ebx + 0x16], 2
je 0x416cc5
test word [ebx + 0x16], 0x100
je 0x416cc5
cmp word [ebx + 0x18], 0x10b
jne 0x416cc5
cmp word [ebx + 6], 0
je 0x416cc5
push edx
call 0x4169f5
jb 0x4169b8
add esp, 8
jmp 0x416a02
push dword [esi + 8]
call fcn.00417742
push eax
push dword [esi + 8]
call fcn.004176a9
mov dword [esi + 0x28], eax
push ebx
sub ebx, 0xbc4d9296
mov ebx, esp
or dword [ebx - 0x66], edx
pop ebx
push dword [esi + 8]
call fcn.004177e3
push eax
push dword [esi + 8]
call fcn.004176a9
mov dword [esi + 0x2c], eax
test edi, eax
xor ecx, 0
push dword [esi + 8]
call fcn.004178ea
mov eax, dword [eax + 0xc]
and dword [esi + 0x30], eax
or dword [esi + 0x30], eax
push dword [esi + 8]
call fcn.0041799f
lea edx, [0xbb5de903]
xor edx, 0xbb5de90f
add edx, eax
mov edx, dword [edx]
sub esp, 4
test esi, edx
test edx, edi
xchg dword [esp], edx
mov edx, dword [esp]
pop dword [esi + 0x34]
push eax
push esi
call 0x416a80
adc eax, 0x5eb81b2a
mov esi, esp
or dword [esi - 0x10], edx
pop esi
push dword [esi + 8]
call fcn.004175d4
add eax, dword [esi + 0x34]
and dword [esi + 0x38], eax
or dword [esi + 0x38], eax
sub eax, dword [esi + 0x30]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x38]
and dword [esi + 0x4c], eax
or dword [esi + 0x4c], eax
mov edx, dword [ebx + 0x3c]
push edi
lea edi, [esi + 0x48]
mov dword [edi], edx
pop edi
cmp eax, edx
jb 0x416cc5
push dword [esi + 8]
call fcn.004177e3
push eax
push eax
mov dword [esp - 0x3d], edi
or dword [esp - 0x39], ebx
push dword [esi + 8]
call fcn.004176a9
mov edx, eax
or eax, 0xffffffff
and eax, 0xffffffff
sub esp, 0x29
and eax, dword [esp + 0x29]
add esp, 0x2d
push ecx
call 0x416afe
xchg esp, eax
cmp eax, 0x39008332
jle 0x416ad5
sub al, 0xf5
mov bh, bl
sbb byte [ecx + 0x56], dh
xlatb
add esp, 8
push dword [eax + 0x10]
sub dword [esp - 0x18], edx
and dword [esp - 0x28], edx
push dword [esi + 8]
call fcn.0041743a
add eax, edx
cmp dword [esi + 0xc], eax
jb 0x416cc5
je 0x416b2c
mov dword [esi + 0x14], 1
ja 0x416b34
xor esi, 0
and edx, edx
cmp word [ebx + 0x5c], 2
je 0x416b57
cmp word [ebx + 0x5c], 3
je 0x416b57
cmp word [ebx + 0x5c], 1
jne 0x416cc5
mov eax, dword [ebx + 0x28]
cmp eax, 0
je 0x416cc5
and ecx, 0
xor ecx, eax
push eax
push dword [esi + 8]
call fcn.00417b20
mov dword [esp - 0x6b], ecx
jmp 0x416b8a
cmp eax, 0
je 0x416cc5
sub ecx, dword [eax + 0xc]
mov dword [esi + 0x44], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x40], eax
xor eax, eax
shr ecx, 0x11
push edx
add edx, ecx
mov edx, esp
xor dword [edx - 0x28], ebx
pop edx
shr ecx, 0xf
or ecx, 0xd0681de4
xor ecx, 0xd0681d90
add ecx, ebx
mov ecx, dword [ecx]
xchg edx, ecx
mov ecx, edx
or ecx, ecx
je 0x416c0e
lea edi, [ebx + 0x7c]
add eax, dword [edi]
lea edi, [edi + 8]
dec ecx
jne 0x416bcf
call 0x416bef
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
call 0x416bf8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x442908c4]
and al, 0x9c
cmp edx, 7
jb 0x416c0e
sub eax, dword [ebx + 0xac]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x18]
mov dword [esi + 0x1c], eax
mov ecx, dword [ebx + 0x74]
or ecx, ecx
je 0x416c49
jae 0x416c2c
cmp edx, esi
lea edi, [ebx + 0x78]
sub eax, eax
sub eax, dword [esi + 0x38]
dec eax
not eax
cmp dword [edi], eax
ja 0x416cc5
lea edi, [edi + 8]
dec ecx
jne 0x416c37
call fcn.0040d497
mov dword [ebp - 4], 1
add byte [ebx - 0x240803bb], cl
mov eax, dword [ebp - 4]
neg ebx
or ebx, 0xffffffff
and dword [esp - 0x2b], ecx
jo 0x416c65
cmp edx, ecx
not ebx
push edx
add edx, ebx
mov edx, esp
xor ebx, dword [edx + 4]
call 0x416c84
in al, 0x4d
add dl, byte [ebx]
push eax
dec ecx
dec esi
outsd dx, dword [esi]
jl 0x416c83
pop edx
mov ebp, dword [eax - 0x7f]
call 0x416c8e
call 0x416c8e
adc al, 0xbd
mov dl, 3
add byte [ebx + 0x37108c4], 0x83
lock add byte [ebx - 0xf7eafee], cl
int1
jne 0x416c54
mov eax, esp
mov dword [eax - 0x32], ebx
pop eax
xor dword [esp - 0x65], esi
add esp, 8
pop edx
pop ecx
pop esi
pop edi
leave
push eax
add eax, 0x881bdb29
mov eax, esp
add dword [eax - 0x10], edx
pop eax
ret 4
call fcn.0040d497
jmp 0x416c55