Function at 0x1000939d
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x100093ce
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x100093d5
cmp ebx, dword [ebp + 8]
jae 0x100093d5
xor eax, eax
jmp 0x100095bb
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x100093e6
xor eax, eax
inc eax
jmp 0x100095ba
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x100093f8
cmp ecx, edx
jae 0x1000945c
cmp dword [eax + 4], 0
je 0x10009401
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x100093ed
cmp dword [ebp + 8], 0
je 0x1000941b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x1000945c
cmp eax, esi
jae 0x1000945c
mov ecx, dword [0x1002b288]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x1000943d
cmp dword [eax*4 + 0x1002b290], esi
je 0x10009463
inc eax
cmp eax, ecx
jl 0x1000942f
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call fcn.100095c6
test eax, eax
jl 0x100094d3
mov eax, dword [ebp + 8]
jmp 0x100094d5
xor eax, eax
jmp 0x100095ba
test eax, eax
jle 0x100093de
xor edx, edx
mov ebx, 0x1002b2d0
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x100093de
cmp dword [eax*4 + 0x1002b290], esi
je 0x100094b2
lea eax, [ecx - 1]
test eax, eax
jl 0x1000949f
cmp dword [eax*4 + 0x1002b290], esi
je 0x1000949b
dec eax
jns 0x1000948f
test eax, eax
jge 0x100094b0
cmp ecx, 0x10
jge 0x100094ab
inc ecx
mov dword [0x1002b288], ecx
lea eax, [ecx - 1]
jmp 0x100094b2
je 0x100094ca
xor edx, edx
test eax, eax
jl 0x100094ca
lea ecx, [edx*4 + 0x1002b290]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x100094b8
xor eax, eax
xchg dword [ebx], eax
jmp 0x100093de
xor eax, eax
test eax, eax
je 0x100095b8
cmp dword [ebp - 8], 0x1000000
jne 0x100095b8
test byte [ebp - 0xc], 0xcc
je 0x1000954a
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x100095b8
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100095b8
cmp word [eax + 0x18], 0x10b
jne 0x100095b8
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x100095b8
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x1000954a
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x1000954a
test byte [ecx + 0x27], 0x80
jne 0x1000945c
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x1002b2d0
xchg dword [edx], ecx
test ecx, ecx
jne 0x100095ba
mov ecx, dword [0x1002b288]
test ecx, ecx
mov edx, ecx
jle 0x10009579
lea eax, [ecx*4 + 0x1002b28c]
cmp dword [eax], esi
je 0x10009579
dec edx
sub eax, 4
test edx, edx
jg 0x1000956d
test edx, edx
jne 0x100095aa
push 0xf
pop ebx
cmp ecx, ebx
jg 0x10009586
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x1000959e
lea eax, [edx*4 + 0x1002b290]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x1000958c
cmp ecx, 0x10
jge 0x100095aa
inc ecx
mov dword [0x1002b288], ecx
xor eax, eax
mov ecx, 0x1002b2d0
xchg dword [ecx], eax
jmp 0x100093de
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret