Function at 0x100098f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push esi
push edi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
jmp 0x1000990c
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
sub edx, 7
cmp dword [ebp - 0xc], edx
jbe 0x100099d1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0x188
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 8
ja case.0x1000993a.2
mov edx, dword [ebp - 0x10]
jmp dword [edx*4 + 0x10009c44]
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 1]
push dword [esi - 0x18]
call fcn.1000a440
jmp case.0x1000993a.2
push ecx
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jmp case.0x1000993a.2
mov byte [ebp - 0x26], 0
mov eax, 0x1001c286
mov ecx, dword [eax]
mov dword [ebp - 0x26], ecx
mov dl, byte [eax + 4]
mov byte [ebp - 0x22], dl
mov byte [ebp - 0x21], 0
jmp case.0x1000993a.2
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret 8
jne case.0x1000993a.0
mov eax, 0x80004003
jmp case.0x1000993a.8
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x58], 2
lea eax, [ebp - 0x2c]
push eax
push 0x1001c29c
lea ecx, [ebp - 0x58]
push ecx
push 0x51
call fcn.100026a0
add esp, 0x10
mov dword [ebp - 0x84], eax
mov edx, dword [0x1001c2b0]
mov dword [ebp - 0x2a], edx
jmp case.0x1000993a.2
mov eax, dword [esi - 0x14]
lea ecx, [ebp - 1]
mov dword [edi], eax
call fcn.10005d80
jmp 0x10009903
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
jmp 0x100099e2
mov ecx, dword [ebp - 0x14]
add ecx, 0x7f
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x14]
add edx, 0x2fa
cmp dword [ebp - 0x14], edx
jae 0x10009c3e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x306
ja 0x10009a38
cmp dword [ebp - 0x18], 0x306
je 0x10009ae1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
sub dword [ebp - 4], 0x189
je 0x10009a56
sub dword [ebp - 4], 0x7f
je 0x10009c0d
sub dword [ebp - 4], 0x7f
je 0x10009bef
jmp 0x10009c39
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
sub dword [ebp - 8], 0x385
je 0x10009a67
sub dword [ebp - 8], 0x7f
je 0x10009b51
jmp 0x10009c39
mov al, byte [0x1001c2ca]
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], 0
jmp 0x10009c39
mov dword [ebp - 0x5c], 3
lea ecx, [ebp - 0x54]
push ecx
push 0x1001c2e2
lea edx, [ebp - 0x5c]
push edx
push 0x51
call fcn.100026a0
add esp, 0x10
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x49], 0x6c
mov byte [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push str.VirtualFree
push 0x1d7
push 0
push 0
call fcn.10006350
add esp, 0x18
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x7c], ecx
push 0
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x44]
push eax
push 0x1d7
push 0
push 0
call fcn.10006350
add esp, 0x18
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x74], ecx
jmp 0x10009c39
mov edx, dword [str.lAlloc]
mov dword [ebp - 0x3e], edx
mov ax, word [0x1001c2f8]
mov word [ebp - 0x3a], ax
mov cl, byte [0x1001c2fa]
mov byte [ebp - 0x38], cl
mov dword [ebp - 0x68], 5
lea edx, [ebp - 0x54]
push edx
push 0x1001c304
lea eax, [ebp - 0x68]
push eax
push 0xc2
call fcn.10005410
add esp, 0x10
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x4f], 0
mov dword [ebp - 0x6c], 3
lea ecx, [ebp - 0x54]
push ecx
push 0x1001c38d
lea edx, [ebp - 0x6c]
push edx
push 0x51
call fcn.100026a0
add esp, 0x10
mov dword [ebp - 0x90], eax
jmp 0x10009c39
cmp dword [ebp + 0x10], 0
je 0x10009bed
mov eax, 1
imul ecx, eax, 0
add ecx, dword [ebp + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x10009bed
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp dword [ecx], 0x4550
jne 0x10009bed
push 0x40
push 0x1000
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x50]
push eax
push 0
call dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10009bed
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp + 8]
push edx
push 0xa0
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.10002e60
add esp, 0x14
mov dword [ebp - 0x94], eax
push 0x8000
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x7c]
mov dword [ebp - 0x1c], 0
jmp 0x10009c39
push 2
push 0x1001bbf0
lea ecx, [ebp - 0x42]
push ecx
call fcn.1000d6b0
add esp, 0xc
mov edx, dword [0x1001c394]
mov dword [ebp - 0x41], edx
jmp 0x10009c39
mov byte [ebp - 0x44], 0x56
mov byte [ebp - 0x43], 0
mov dword [ebp - 0x80], 1
lea eax, [ebp - 0x44]
push eax
push 0x1001bfe0
lea ecx, [ebp - 0x80]
push ecx
push 0x51
call fcn.100026a0
add esp, 0x10
mov dword [ebp - 0x98], eax
jmp 0x100099d9
pop edi
pop esi
mov esp, ebp
pop ebp
ret