Function at 0x10012754
Capabilities:
Parse pe header

Disassembly:
jne 0x10012743
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 0x10012782
sub eax, 0
push 0x7c
call 0x1001279d
add eax, 0x81688b5a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10012735
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.100092cc
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
cmp word [ebx], 0x5a4d
jne 0x10012b71
mov eax, dword [ebx + 0x3c]
cmp eax, dword [esi + 0xc]
jae 0x10012b71
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 0x10012b71
cmp word [ebx + 4], 0x14c
jne 0x10012b71
movzx eax, word [ebx + 0x14]
add dword [esp - 0x18], ebx
push 0xf1b68e3
call 0x10012851
loopne 0x100127d8
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 0x10012b71
test word [ebx + 0x16], 0x100
je 0x10012b71
cmp word [ebx + 0x18], 0x10b
jne 0x10012b71
cmp word [ebx + 6], 0
je 0x10012b71
push edx
call 0x100128a1
jb 0x10012864
add esp, 8
jmp 0x100128ae
push dword [esi + 8]
call fcn.100135ee
push eax
push dword [esi + 8]
call fcn.10013555
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.1001368f
push eax
push dword [esi + 8]
call fcn.10013555
mov dword [esi + 0x2c], eax
test edi, eax
xor ecx, 0
push dword [esi + 8]
call fcn.10013796
mov eax, dword [eax + 0xc]
and dword [esi + 0x30], eax
or dword [esi + 0x30], eax
push dword [esi + 8]
call fcn.1001384b
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 0x1001292c
adc eax, 0x5eb81b2a
mov esi, esp
or dword [esi - 0x10], edx
pop esi
push dword [esi + 8]
call fcn.10013480
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 0x10012b71
push dword [esi + 8]
call fcn.1001368f
push eax
push eax
mov dword [esp - 0x3d], edi
or dword [esp - 0x39], ebx
push dword [esi + 8]
call fcn.10013555
mov edx, eax
or eax, 0xffffffff
and eax, 0xffffffff
sub esp, 0x29
and eax, dword [esp + 0x29]
add esp, 0x2d
push ecx
call 0x100129aa
xchg esp, eax
cmp eax, 0x39008332
jle 0x10012981
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.100132e6
add eax, edx
cmp dword [esi + 0xc], eax
jb 0x10012b71
je 0x100129d8
mov dword [esi + 0x14], 1
ja 0x100129e0
xor esi, 0
and edx, edx
cmp word [ebx + 0x5c], 2
je 0x10012a03
cmp word [ebx + 0x5c], 3
je 0x10012a03
cmp word [ebx + 0x5c], 1
jne 0x10012b71
mov eax, dword [ebx + 0x28]
cmp eax, 0
je 0x10012b71
and ecx, 0
xor ecx, eax
push eax
push dword [esi + 8]
call fcn.100139cc
mov dword [esp - 0x6b], ecx
jmp 0x10012a36
cmp eax, 0
je 0x10012b71
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 0x10012aba
lea edi, [ebx + 0x7c]
add eax, dword [edi]
lea edi, [edi + 8]
dec ecx
jne 0x10012a7b
call 0x10012a9b
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
call 0x10012aa4
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x442908c4]
and al, 0x9c
cmp edx, 7
jb 0x10012aba
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 0x10012af5
jae 0x10012ad8
cmp edx, esi
lea edi, [ebx + 0x78]
sub eax, eax
sub eax, dword [esi + 0x38]
dec eax
not eax
cmp dword [edi], eax
ja 0x10012b71
lea edi, [edi + 8]
dec ecx
jne 0x10012ae3
call fcn.10009343
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 0x10012b11
cmp edx, ecx
not ebx
push edx
add edx, ebx
mov edx, esp
xor ebx, dword [edx + 4]
call 0x10012b30
in al, 0x4d
add dl, byte [ebx]
push eax
dec ecx
dec esi
outsd dx, dword [esi]
jl 0x10012b2f
pop edx
mov ebp, dword [eax - 0x7f]
call 0x10012b3a
call 0x10012b3a
adc al, 0xbd
mov dl, 3
add byte [ebx + 0x37108c4], 0x83
lock add byte [ebx - 0xf7eafee], cl
int1
jne 0x10012b00
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.10009343
jmp 0x10012b01