Function at 0x77218928
Capabilities:
Parse pe header

Disassembly:
jne 0x772188ce
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 0x7721890d
sub eax, 0
push 0x7c
call 0x77218928
add eax, 0x81688b5a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x772188c0
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], 0x738d2974
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, 0x738c910f
neg esi
xchg dword [esp], esi
xor al, 0x24
push 0xffffffffffffffff
call fcn.7720f457
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
cmp word [ebx], 0x5a4d
jne 0x77218cfc
mov eax, dword [ebx + 0x3c]
cmp eax, dword [esi + 0xc]
jae 0x77218cfc
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 0x77218cfc
cmp word [ebx + 4], 0x14c
jne 0x77218cfc
movzx eax, word [ebx + 0x14]
add dword [esp - 0x18], ebx
push 0xf1b68e3
call 0x772189dc
loopne 0x77218963
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 0x77218cfc
test word [ebx + 0x16], 0x100
je 0x77218cfc
cmp word [ebx + 0x18], 0x10b
jne 0x77218cfc
cmp word [ebx + 6], 0
je 0x77218cfc
push edx
call 0x77218a2c
jb 0x772189ef
add esp, 8
jmp 0x77218a39
push dword [esi + 8]
call fcn.77219779
push eax
push dword [esi + 8]
call fcn.772196e0
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.7721981a
push eax
push dword [esi + 8]
call fcn.772196e0
mov dword [esi + 0x2c], eax
test edi, eax
xor ecx, 0
push dword [esi + 8]
call fcn.77219921
mov eax, dword [eax + 0xc]
and dword [esi + 0x30], eax
or dword [esi + 0x30], eax
push dword [esi + 8]
call fcn.772199d6
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 0x77218ab7
adc eax, 0x5eb81b2a
mov esi, esp
or dword [esi - 0x10], edx
pop esi
push dword [esi + 8]
call fcn.7721960b
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 0x77218cfc
push dword [esi + 8]
call fcn.7721981a
push eax
push eax
mov dword [esp - 0x3d], edi
or dword [esp - 0x39], ebx
push dword [esi + 8]
call fcn.772196e0
mov edx, eax
or eax, 0xffffffff
and eax, 0xffffffff
sub esp, 0x29
and eax, dword [esp + 0x29]
add esp, 0x2d
push ecx
call 0x77218b35
xchg esp, eax
cmp eax, 0x39008332
jle 0x77218b0c
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.77219471
add eax, edx
cmp dword [esi + 0xc], eax
jb 0x77218cfc
je 0x77218b63
mov dword [esi + 0x14], 1
ja 0x77218b6b
xor esi, 0
and edx, edx
cmp word [ebx + 0x5c], 2
je 0x77218b8e
cmp word [ebx + 0x5c], 3
je 0x77218b8e
cmp word [ebx + 0x5c], 1
jne 0x77218cfc
mov eax, dword [ebx + 0x28]
cmp eax, 0
je 0x77218cfc
and ecx, 0
xor ecx, eax
push eax
push dword [esi + 8]
call fcn.77219b57
mov dword [esp - 0x6b], ecx
jmp 0x77218bc1
cmp eax, 0
je 0x77218cfc
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 0x77218c45
lea edi, [ebx + 0x7c]
add eax, dword [edi]
lea edi, [edi + 8]
dec ecx
jne 0x77218c06
call 0x77218c26
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
call 0x77218c2f
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x442908c4]
and al, 0x9c
cmp edx, 7
jb 0x77218c45
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 0x77218c80
jae 0x77218c63
cmp edx, esi
lea edi, [ebx + 0x78]
sub eax, eax
sub eax, dword [esi + 0x38]
dec eax
not eax
cmp dword [edi], eax
ja 0x77218cfc
lea edi, [edi + 8]
dec ecx
jne 0x77218c6e
call fcn.7720f4ce
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 0x77218c9c
cmp edx, ecx
not ebx
push edx
add edx, ebx
mov edx, esp
xor ebx, dword [edx + 4]
call 0x77218cbb
in al, 0x4d
add dl, byte [ebx]
push eax
dec ecx
dec esi
outsd dx, dword [esi]
jl 0x77218cba
pop edx
mov ebp, dword [eax - 0x7f]
call 0x77218cc5
call 0x77218cc5
adc al, 0xbd
mov dl, 3
add byte [ebx + 0x37108c4], 0x83
lock add byte [ebx - 0xf7eafee], cl
int1
jne 0x77218c8b
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.7720f4ce
jmp 0x77218c8c