Function at 0x10012480
Capabilities:
Parse pe header

Disassembly:
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
movzx ecx, word [ecx]
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0x6d8f6355
mov eax, dword [esp + 4]
mov ecx, eax
sub ecx, 0x910c9cf8
mov dword [esp], eax
je 0x100127a9
jmp 0x100124d7
mov eax, dword [esp]
sub eax, 0xa1b9806b
je 0x10012735
jmp 0x100124ea
mov eax, dword [esp]
sub eax, 0xa260a805
je 0x1001281c
jmp 0x100124fd
mov eax, dword [esp]
sub eax, 0xa2fd3bce
je 0x10012834
jmp 0x10012510
mov eax, dword [esp]
sub eax, 0xa6d41565
je 0x1001261b
jmp 0x10012523
mov eax, dword [esp]
sub eax, 0xb2861ad7
je 0x10012728
jmp 0x10012536
mov eax, dword [esp]
sub eax, 0xca51d507
je 0x100126b4
jmp 0x10012549
mov eax, dword [esp]
sub eax, 0xdfbd5bef
je 0x100125cc
jmp 0x1001255c
mov eax, dword [esp]
sub eax, 0xf59ac4fd
je 0x10012640
jmp 0x1001256f
mov eax, dword [esp]
sub eax, 0x48685ce4
je 0x1001280f
jmp 0x10012582
mov eax, dword [esp]
sub eax, 0x6d8f6355
je 0x100125ad
jmp 0x10012595
mov eax, dword [esp]
sub eax, 0x78687403
je 0x10012827
jmp 0x100125a8
jmp 0x10012854
mov eax, dword [esp + 0x14]
cmp eax, 0x5a4d
mov eax, 0xdfbd5bef
mov ecx, 0xa1b9806b
cmove ecx, eax
mov dword [esp + 4], ecx
jmp 0x10012854
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
add eax, dword [ecx + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 8]
cmp dword [eax], 0x4550
mov eax, 0xa6d41565
mov ecx, 0xf59ac4fd
cmove ecx, eax
mov dword [esp + 4], ecx
jmp 0x10012854
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0xa260a805
jmp 0x10012854
mov eax, dword [0x1001a0f0]
mov ecx, dword [0x1001a0ec]
mov edx, eax
sub edx, 0x60466f55
sub edx, 1
add edx, 0x60466f55
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
mov al, bl
xor al, 0xff
mov ah, bh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov ch, al
and ch, 0
and bl, cl
mov dl, ah
and dl, 0
and bh, cl
or ch, bl
or dl, bh
xor ch, dl
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or ch, al
test ch, 1
mov esi, 0xca51d507
mov edi, 0x78687403
cmovne edi, esi
mov dword [esp + 4], edi
jmp 0x10012854
mov eax, dword [0x1001a0f0]
mov ecx, dword [0x1001a0ec]
mov edx, eax
sub edx, 0xc69d7268
sub edx, 1
add edx, 0xc69d7268
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
mov al, bl
xor al, 0xff
mov ah, bh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov ch, al
and ch, 0
and bl, cl
mov dl, ah
and dl, 0
and bh, cl
or ch, bl
or dl, bh
xor ch, dl
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or ch, al
test ch, 1
mov esi, 0xb2861ad7
mov edi, 0x78687403
cmovne edi, esi
mov dword [esp + 4], edi
jmp 0x10012854
mov dword [esp + 4], 0xa1b9806b
jmp 0x10012854
mov eax, dword [0x1001a0f0]
mov ecx, dword [0x1001a0ec]
mov edx, eax
sub edx, 0xd547602c
sub edx, 1
add edx, 0xd547602c
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
mov al, bl
xor al, 0xff
mov ah, bh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov ch, al
and ch, 0xff
and bl, cl
mov dl, ah
and dl, 0xff
and bh, cl
or ch, bl
or dl, bh
xor ch, dl
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or ch, al
test ch, 1
mov esi, 0x910c9cf8
mov edi, 0xa2fd3bce
cmovne edi, esi
mov dword [esp + 4], edi
jmp 0x10012854
mov eax, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0
mov eax, dword [0x1001a0f0]
mov ecx, dword [0x1001a0ec]
mov edx, eax
add edx, 0x14c3633e
sub edx, 1
sub edx, 0x14c3633e
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
mov al, bl
and al, bh
xor bl, bh
or al, bl
test al, 1
mov ecx, 0x48685ce4
mov edx, 0xa2fd3bce
cmovne edx, ecx
mov dword [esp + 4], edx
jmp 0x10012854
mov dword [esp + 4], 0xa260a805
jmp 0x10012854
mov eax, dword [esp + 0x10]
add esp, 0x48
pop esi
pop edi
pop ebx
ret
mov dword [esp + 4], 0xca51d507
jmp 0x10012854
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0x910c9cf8
jmp 0x100124bd