Function at 0x100bec20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 8]
mov dl, 1
mov esi, dword [0x101537c8]
mov edi, dword [0x101537c4]
mov ebx, esi
sub ebx, 0xb99601ab
sub ebx, 1
add ebx, 0xb99601ab
imul esi, ebx
and esi, 1
cmp esi, 0
sete dh
cmp edi, 0xa
setl bl
mov bh, dh
xor bh, 1
mov dword [ebp - 0x10], eax
mov al, bl
xor al, 1
xor dl, 0
mov ah, bh
and ah, 0
and dh, dl
mov byte [ebp - 0x11], al
and al, 0
and bl, dl
or ah, dh
or al, bl
xor ah, al
mov al, byte [ebp - 0x11]
or bh, al
xor bh, 1
or dl, 0
and bh, dl
or ah, bh
test ah, 1
mov dword [ebp - 0x18], ecx
jne 0x100becac
jmp 0x100bf110
mov eax, 4
mov dword [ebp - 0x1c], eax
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, ecx
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, ecx
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, ecx
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, ecx
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, ecx
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, ecx
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov dword [esi], edi
mov ebx, dword [esi]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov dword [edx], ecx
mov ecx, dword [edx]
movzx ecx, word [ecx]
cmp ecx, 0x5a4d
setne cl
mov edx, dword [0x101537c8]
mov esi, dword [0x101537c4]
mov edi, edx
sub edi, 0x9ae39eb2
sub edi, 1
add edi, 0x9ae39eb2
imul edx, edi
and edx, 1
cmp edx, 0
sete ch
cmp esi, 0xa
setl dl
mov dh, ch
and dh, dl
xor ch, dl
or dh, ch
test dh, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x3d], cl
jne 0x100bed96
jmp 0x100bf110
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x100bedb8
jmp 0x100beda6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
cmp dword [ecx + 0x3c], 0
jne 0x100bedc6
mov eax, dword [ebp - 0x20]
mov dword [eax], 0xb
jmp 0x100bf03a
mov eax, dword [0x101537c8]
mov ecx, dword [0x101537c4]
mov edx, eax
add edx, 0xdcfad714
sub edx, 1
sub edx, 0xdcfad714
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
jne 0x100bee13
jmp 0x100bf165
mov eax, 0x40
mov ecx, dword [ebp - 0x3c]
add ecx, 0x48
mov edx, dword [ebp - 0x2c]
mov esi, dword [edx]
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], 0x40
mov dword [ebp - 0x44], eax
call fcn.1001fd00
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x3c]
mov esi, dword [edx + 0x84]
add ecx, 0x9df6523e
add ecx, esi
sub ecx, 0x9df6523e
mov esi, dword [ebp - 0x30]
mov dword [esi], ecx
mov ecx, dword [esi]
cmp dword [ecx], 0x4550
setne bl
mov ecx, dword [0x101537c8]
mov edi, dword [0x101537c4]
mov eax, ecx
add eax, 0xf6e227b5
sub eax, 1
sub eax, 0xf6e227b5
imul ecx, eax
and ecx, 1
cmp ecx, 0
sete bh
cmp edi, 0xa
setl al
mov ah, bh
and ah, al
xor bh, al
or ah, bh
test ah, 1
mov byte [ebp - 0x45], bl
jne 0x100beec0
jmp 0x100bf165
mov al, byte [ebp - 0x45]
test al, 1
jne 0x100beef6
jmp 0x100beed0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
movzx ecx, word [ecx + 0x18]
cmp ecx, 0x10b
jne 0x100beef6
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
cmp word [ecx + 6], 0
jne 0x100bef04
mov eax, dword [ebp - 0x20]
mov dword [eax], 0xb
jmp 0x100bf03a
mov eax, 0
mov ecx, 0xf8
mov edx, dword [ebp - 0x3c]
add edx, 0x88
mov esi, dword [ebp - 0x30]
mov edi, dword [esi]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], 0xf8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
call fcn.1001fd00
add esp, 0xc
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax + 0x8e]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x34]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x30]
mov esi, dword [ecx]
mov edi, dword [ebp - 0x4c]
sub edi, esi
mov esi, dword [ebp - 0x4c]
sub esi, 0x14
add edi, esi
mov esi, dword [ebp - 0x4c]
sub esi, edi
movzx edi, word [eax + 0x9c]
add esi, 0xaabc4e1b
add esi, edi
sub esi, 0xaabc4e1b
add esi, 0x3d07a89a
add esi, 4
sub esi, 0x3d07a89a
mov edi, dword [ebp - 0x38]
mov dword [edi], esi
mov esi, dword [ebp - 0x24]
mov ebx, dword [esi]
sub esp, 4
mov dword [esp], ebx
call fcn.100cd620
add esp, 4
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x10], eax
mov eax, dword [0x10151b34]
mov edx, dword [ebp - 0x34]
mov esi, dword [edx]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esi
call edi
sub esp, 0xc
mov ecx, esp
mov edx, dword [ebp - 0x58]
mov dword [ecx + 8], edx
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0x54]
call eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x180], eax
cmp dword [ecx + 0x180], 0
jne 0x100bf008
mov eax, dword [ebp - 0x20]
mov dword [eax], 8
jmp 0x100bf03a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x180]
mov edx, dword [ebp - 0x38]
mov esi, dword [edx]
mov edi, dword [ebp - 0x34]
mov ebx, dword [edi]
sub esp, 0xc
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.1001fd00
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov al, 1
mov ecx, dword [0x101537c8]
mov edx, dword [0x101537c4]
mov esi, ecx
add esi, 0xdfe36a88
sub esi, 1
sub esi, 0xdfe36a88
imul ecx, esi
and ecx, 1
cmp ecx, 0
sete ah
cmp edx, 0xa
setl bl
mov bh, ah
xor bh, 1
mov cl, bl
xor cl, 1
xor al, 0
mov ch, bh
and ch, 0
and ah, al
mov dl, cl
and dl, 0
and bl, al
or ch, ah
or dl, bl
xor ch, dl
or bh, cl
xor bh, 1
or al, 0
and bh, al
or ch, bh
test ch, 1
jne 0x100bf0b0
jmp 0x100bf1c6
mov eax, 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov esi, dword [0x101537c8]
mov edi, dword [0x101537c4]
sub eax, 1
mov ebx, esi
add ebx, eax
imul esi, ebx
and esi, 1
cmp esi, 0
sete al
cmp edi, 0xa
setl ah
mov cl, al
and cl, ah
xor al, ah
or cl, al
test cl, 1
mov dword [ebp - 0x5c], edx
jne 0x100bf103
jmp 0x100bf1c6
mov eax, dword [ebp - 0x5c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, 4
mov dword [ebp - 0x60], eax
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, ecx
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, ecx
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, ecx
call fcn.1001fcd0
mov eax, esp
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x18]
mov dword [esi], edi
mov ebx, dword [ecx]
mov dword [eax], ebx
jmp 0x100becac
mov eax, 0
mov ecx, 0x40
mov edx, dword [ebp - 0x3c]
add edx, 0x48
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi]
sub esp, 0xc
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], 0x40
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], ecx
call fcn.1001fd00
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x3c]
mov esi, dword [edx + 0x84]
mov edi, dword [ebp - 0x70]
sub edi, ecx
mov ecx, dword [ebp - 0x70]
sub ecx, esi
add edi, ecx
mov ecx, dword [ebp - 0x70]
sub ecx, edi
mov esi, dword [ebp - 0x30]
mov dword [esi], ecx
jmp 0x100bee13
jmp 0x100bf0b0