Function at 0x42ee67
Capabilities:
Parse pe header

Disassembly:
sub esp, 4
mov edx, dword [esp + 4]
add esp, 8
mov eax, 0x122
push edx
push edx
add eax, dword [esp]
add esp, 8
push eax
pop eax
sub esp, 4
not edx
push 0
mov edx, dword [esp]
add esp, 4
push dword fs:[edx]
pushal
nop
mov esi, 0x50db
xor edi, 0x1868
popal
mov dword fs:[edx], esp
push eax
add eax, ebx
pop eax
adc ecx, 0x4302
push 0
sub esp, 4
mov ecx, dword [esp + 4]
add esp, 8
div ecx
push ecx
mov ecx, 0x24a24006
add ecx, 0xefc603b7
add edx, ecx
pop ecx
sub esp, 4
push edx
mov edx, 0xc807842
sub edx, 0xf8183485
sub dword [esp], edx
pop edx
mov dword [esp], edx
add edx, 0x72b83300
sub esp, 4
sub edx, 0x72b83300
mov dword [esp], edx
push esi
push ecx
add esp, 4
add esp, 4
push esi
mov dword [esp], ebx
add esp, 4
sub esp, 4
mov edx, dword [esp + 4]
add esp, 8
sub esp, 4
mov ecx, dword [esp + 4]
add esp, 8
pushfd
push esi
neg esi
pop esi
pushfd
push esi
xor esi, edi
pop esi
or dword [esp], 0x100
push esi
xor esi, 0x2bcc
pop esi
popfd
inc edx
popfd
wait
fninit
cmp edx, ecx
nop
nop
je 0x42e8f6
push 0x8caf1379
inc edx
dec edx
push edx
mov edx, 0x44056
xor edx, 0xc12e9ecf
add esp, 4
ret
push 0x2000216
xor ecx, dword [esp]
add esp, 4
push 0
push esi
add esp, 4
pop ecx
pop dword fs:[ecx]
push ebx
pop ebx
sub esp, 4
add esp, 4
sub esp, 4
mov eax, dword [esp + 4]
add esp, 8
popal
jmp 0x42ea7f
push edi
push esi
pop esi
mov dword [esp], esi
push edi
push edx
mov edx, edi
pop edx
push eax
mov dword [esp], ebx
push edi
mov dword [esp], edi
add ebx, dword [esp]
add esp, 4
add esp, 4
mov ebx, dword [esp - 4]
mov edi, esp
add edi, 8
mov edi, dword [edi]
push ecx
push esi
add esp, 4
push ebx
mov ebx, 0x22354316
sub ebx, 0x1e32d2c6
mov ecx, ebx
pop ebx
add ecx, 0xf7edffba
add ecx, 0x8120046
add ecx, 0xfbfd8fb0
push ecx
sub ecx, edx
add edi, dword [esp]
pop ecx
add esp, 4
mov ecx, dword [esp - 4]
and esi, 0x2200000c
push 0x302757cd
jmp 0x42eae7
mov esi, dword [esp]
add esp, 4
jmp 0x42eaf2
cmc
cmc
add dword [edi], esi
cmc
cmc
call 0x42eb07
mov ah, 0x9a
pop ebx
shl byte [eax], 0xa1
cmp byte ss:[eax + 0x24348957], ch
add esp, 4
jmp 0x42eb10
mov edi, dword [esp]
add esp, 4
push eax
push ebx
xor ebx, eax
pop ebx
not eax
push 0x28822052
mov eax, dword [esp]
add esp, 4
push eax
push 0xd77ddfbd
pop eax
add dword [esp], eax
pop eax
push eax
sub edi, dword [esp]
pop eax
push edi
push edi
mov eax, dword [esp + 8]
add esp, 0xc
push ebx
push ebx
add esp, 4
mov dword [esp], ecx
mov esi, esp
mov dword [esi], 4
add esp, 4
mov esi, dword [esp - 4]
mov dword [edi], esi
add esp, 4
mov edi, dword [esp - 4]
push ebx
push ecx
mov ecx, ebx
pop ecx
push esi
pop esi
push ebx
push ebx
add esp, 4
mov esi, dword [esp + 8]
add esp, 0xc
sub edi, 0x6f39025f
add edi, 0x6f39025f
mov dword [esp - 4], edi
push edi
push ebx
push ecx
mov ecx, ebx
pop ecx
mov ebx, esp
add ebx, 8
mov ebx, dword [ebx]
push ebx
add dword [esp], 4
pop ebx
push esi
push esi
mov esi, 0x22490297
mov dword [esp], esi
pop edi
pop esi
jmp 0x42ebab
cmc
cmc
sub dword [ebx], edi
cmc
cmc
call 0x42ebca
add eax, 0xa13944a0
xor al, 0x7f
push esp
pop ecx
mov esp, 0x166b23a8
xchg ecx, eax
dec ebp
xor eax, 0x53964027
mov dword [esp], esi
push eax
pop eax
push edi
push edi
add esp, 4
ror esi, 5
rol esi, 5
xor edi, esi
push ecx
push ecx
mov edi, dword [esp + 8]
add esp, 0xc
push ebx
push eax
add eax, ebx
pop eax
push ebx
push esi
add esp, 4
add esp, 4
mov dword [esp], esi
mov ebx, dword [esp + 8]
add esp, 0xc
push esi
mov dword [esp], ebx
sub dword [esp], 0xd3cdc7ec
push esi
add esp, 4
pop ebx
push eax
mov dword [esp], ebx
sub dword [esp], 0x2c323814
push esi
add esp, 4
pop ebx
add eax, 0x398641e
push esp
sub eax, 0x398641e
mov dword [esp], eax
push esi
mov dword [esp], 0x288a5854
pop eax
push edi
lea edi, [eax]
add edi, 0xd775a7bb
xchg edi, eax
pop edi
push eax
push eax
sub ebx, dword [esp]
add esp, 8
jmp 0x42ec4c
mov eax, dword [esp]
add esp, 4
push esi
push eax
add eax, esi
pop eax
sub esi, 0x318942a7
add esi, 0x318942a7
mov dword [esp - 4], esi
push esi
push edi
mov esi, dword [esp + 4]
add esp, 8
push esi
push esi
mov edi, dword [esp + 8]
add esp, 0xc
push 4
push ebx
push edi
xor edi, ebx
pop edi
mov edi, dword [esp + 4]
add esp, 8
mov dword [ebx], edi
push ebx
push esi
pop ebx
sub ebx, 0x16691e75
mov esi, ebx
pop ebx
push ecx
push esi
pop ecx
add ecx, 0x16691e75
mov esi, ecx
pop ecx
mov dword [esp - 4], esi
push ds
imul edx, dword [esi], 0x8959f18b
je 0x42eccb
cld
push edi
mov dword [esp], esi
add esp, 4
mov ebx, esp
mov ebx, dword [ebx]
add esp, 4
jmp 0x42ecb8
mov edi, dword [esp]
add esp, 4
push esi
mov dword [esp], edx
push esi
mov dword [esp], ecx
mov ecx, esp
add ecx, 8
mov ecx, dword [ecx]
push esi
lea esi, [ecx]
add esi, 8
xchg esi, ecx
pop esi
not edx
push 0x60112a17
mov edx, dword [esp]
add esp, 4
jmp 0x42eceb
cmc
cmc
xor dword [ecx], edx
cmc
cmc
call fcn.0042ed30
jge 0x42ec9e
mov al, 0x92
fnstenv [edx]
mov edi, edi
and dword [edx + 0x1013885c], edi
out 0x4d, al
and dword [ebp + edi + 0x6995319e], esi
cmc
salc
in eax, 0xd9
or bh, ch
jmp 0x42ed6d
add byte [eax], al
mov edx, dword [esp]
add esp, 4
mov dword [ecx], edx
add edi, 0x56a0472e
push esp
sub edi, 0x56a0472e
mov dword [esp], edi
add esp, 4
push edi
mov ecx, dword [esp + 4]
add esp, 8
jmp 0x42ed94
mov edx, dword [esp]
add esp, 4
pushal
call 0x42ee67
jmp 0x42ee49
call fcn.0042eda5
push 0x86abc981
push 0x5ac18765
xor eax, eax
js 0x42eecd
insb byte es:[edi], dx
imul esi, dword [eax + eax + 0x61], 0xa6e9
add byte [ebp - 0x75], dl
in al, dx
mov ebx, 0x77000000
add ebx, 0x10000
cmp ebx, 0x80000000
jne 0x42ee82
mov ebx, 0xbff00000
call fcn.0042eec6
cmp eax, 0
je 0x42ee6f
cmp word [ebx], 0x5a4d
jne 0x42ee6f
mov eax, dword [ebx + 0x3c]
add eax, ebx
cmp word [eax], 0x4550
jne 0x42ee6f
test byte [eax + 0x17], 0x20
je 0x42ee6f
mov eax, dword [eax + 0x78]
add eax, ebx
mov edx, dword [eax + 0xc]
add edx, ebx
cmp dword [edx], 0x4e52454b
jne 0x42ee6f
cmp dword [edx + 4], 0x32334c45
jne 0x42ee6f
mov eax, ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x50031134
sub edx, 0x5003110e
add eax, edx
push eax
push dword fs:[0]
mov dword fs:[0], esp
mov ecx, dword [ebx]
mov ecx, 1
jmp 0x42eeff
pop dword fs:[0]
pop eax
mov dword [esp + 0x1c], ecx
popal
ret