Function at 0x100079b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10027004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], ebx
call fcn.100077a0
test eax, eax
je 0x10007d0e
mov eax, dword [edi + 0x104]
mov dword [ebp - 0x10], eax
mov eax, dword [0x100283d8]
mov dword [ebp - 0x28], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 8]
push 0x40
push 0x40
push dword [ebp - 0x10]
add eax, ecx
call eax
mov eax, dword [edi + 0x104]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
push 0
push edi
mov edi, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [esi + 8]
push 0x40
push edi
add eax, ecx
call eax
mov eax, dword [ebp - 0x14]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10007d0e
add edi, dword [eax + 0x3c]
mov eax, dword [0x100283d8]
mov dword [ebp - 0x10], edi
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 8]
push 0x40
push 0xf8
push edi
add eax, ecx
call eax
mov eax, dword [0x100283d8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
push 0
push edi
mov edi, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [esi + 8]
push 0x40
push edi
add eax, ecx
call eax
cmp dword [edi], 0x4550
jne 0x10007d0e
mov eax, dword [ebp - 0x18]
add edi, 0xf8
mov dword [ebp - 0x10], edi
movzx eax, word [eax + 6]
lea edi, [eax + eax*4]
mov eax, dword [0x100283d8]
shl edi, 3
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 8]
push 0x40
push edi
mov edi, dword [ebp - 0x10]
add eax, ecx
push edi
call eax
mov eax, dword [ebp - 0x18]
xor esi, esi
mov ecx, edi
mov dword [ebx + 8], 0
xor edx, edx
mov dword [ebp - 0x14], ecx
cmp si, word [eax + 6]
jae 0x10007cba
nop dword [eax + eax]
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 8]
mov ebx, dword [ebp - 0x1c]
lea eax, [esi + edi]
cmp eax, dword [ebx + 0x110]
mov ebx, dword [ebp - 0x24]
ja 0x10007bd1
mov eax, dword [ebp - 0xc]
inc edx
inc dword [ebx + 8]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
movzx eax, word [eax + 6]
cmp edx, eax
jl 0x10007ba0
jmp 0x10007cba
mov eax, dword [ebp - 0x1c]
sub esi, dword [eax + 0x110]
mov eax, 5
add esi, edi
cmp esi, eax
cmova esi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 4], esi
movzx eax, word [eax + 6]
lea edi, [eax + eax*4]
mov eax, dword [0x100283d8]
shl edi, 3
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
mov dword [esi], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi + 8]
push 0x40
push edi
mov edi, dword [ebp - 0x20]
add eax, ecx
push edi
call eax
mov ecx, dword [ebx + 4]
mov esi, edi
mov edx, dword [ebx]
test ecx, ecx
je 0x10007c51
mov al, byte [esi]
lea edx, [edx + 1]
mov byte [edx - 1], al
lea esi, [esi + 1]
sub ecx, 1
jne 0x10007c41
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
movzx eax, word [eax + 6]
lea edi, [eax + eax*4]
mov eax, dword [0x100283d8]
shl edi, 3
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [esi + 0xc]
inc dword [esi + 4]
add ecx, 0xfffff988
push 0
push ebx
mov ebx, dword [ebp - 0x20]
mov dword [esi], eax
mov eax, dword [esi + 8]
push edi
push ebx
add eax, ecx
call eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], 1
sub ebx, dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
sub ebx, dword [eax + 0x104]
mov eax, dword [ebp - 0x24]
mov dword [eax + 0xc], ebx
mov eax, dword [0x100283d8]
mov edi, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028528]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add edx, 0xfffff988
inc dword [esi + 4]
add ecx, edx
push 0
push edi
push 0x40
push dword [ebp - 0x10]
mov dword [esi], eax
call ecx
mov eax, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011c5f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011c5f
mov esp, ebp
pop ebp
ret