Function at 0x100e7bc0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x30]
push esi
lea esi, [eax + eax*4]
shl esi, 4
push esi
push ebp
call fcn.100ebcf0
mov edx, eax
add esp, 8
test edx, edx
mov dword [esp + 0x34], edx
jne 0x100e7bfc
mov eax, dword [esp + 0x30]
push eax
call fcn.100e7440
add esp, 4
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
push ebx
push edi
mov ecx, esi
shr ecx, 2
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x48]
test ah, 2
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + 0xc]
je 0x100e7d73
test edi, edi
je 0x100e7eb7
mov cl, byte [esp + 0x44]
xor ebx, ebx
test cl, cl
setne bl
lea esi, [edx + 0x10]
add ebx, 7
mov edx, dword [edi + 4]
push ebx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.100e7b80
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push edx
push ebp
call fcn.100ebe90
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
push ebp
call fcn.100ebe90
mov dword [esi], eax
mov edx, dword [edi + 4]
mov eax, dword [edx + 8]
push eax
push ebp
call fcn.100ebe90
mov dword [esi - 8], eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0xc]
push edx
push ebp
call fcn.100ebe90
mov dword [esi - 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
push ecx
push ebp
call fcn.100ebe90
mov dword [esi - 0x10], eax
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x14]
push eax
push ebp
call fcn.100ebe90
mov dword [esi - 0xc], eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x60]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x18]
xor edx, edx
mov dx, word [eax]
add esp, 0x3c
mov dword [esi + 0x38], edx
mov ecx, dword [eax + 2]
xor edx, edx
mov dword [esi + 0xc], ecx
mov dl, byte [eax + 6]
xor ecx, ecx
mov dword [esi + 0x3c], edx
mov cx, word [eax + 7]
xor edx, edx
mov dword [esi + 0x30], ecx
mov dl, byte [eax + 9]
mov eax, dword [esi + 0x3c]
cmp eax, 9
mov dword [esi + 0x34], edx
jg 0x100e7d1e
cmp eax, 7
jne 0x100e7d24
mov eax, dword [esi + 0xc]
cmp eax, 0xe
je 0x100e7d24
cmp eax, 8
je 0x100e7d24
cmp dword [esi + 0x3c], 0xd
jne 0x100e7d2b
or dword [esi + 0x30], 0x8000
mov al, byte [esp + 0x44]
test al, al
je 0x100e7d53
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x100e7d53
push eax
push ebp
call fcn.100ebe90
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esi + 0x2c], ecx
jmp 0x100e7d5a
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov edi, dword [edi]
add esi, 0x50
test edi, edi
jne 0x100e7c3d
jmp 0x100e7eb7
test edi, edi
je 0x100e7eb7
mov bl, byte [esp + 0x44]
xor ecx, ecx
test bl, bl
setne cl
mov ebx, eax
lea esi, [edx + 0xc]
add ecx, 5
mov dword [esp + 0x40], ecx
and ebx, 4
mov edx, dword [esp + 0x40]
mov eax, dword [edi + 4]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.100e7b80
mov edx, dword [edi + 4]
mov eax, dword [edx]
push eax
push ebp
call fcn.100ebe90
mov dword [esi - 4], eax
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
push edx
push ebp
call fcn.100ebe90
mov dword [esi - 0xc], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
and edx, 0xffffff
mov dword [esi + 0x10], edx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, 0x1013dc00
mov dword [esi + 8], eax
mov dword [esi + 4], eax
add esp, 0x1c
mov dword [esi + 0x40], edx
xor edx, edx
cmp ebx, edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x24], ecx
mov eax, dword [esp + 0x14]
mov dword [esi + 0x18], eax
je 0x100e7e35
xor ecx, ecx
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x10]
xor ecx, ecx
mov cx, word [eax]
xor eax, eax
mov dword [esi + 0x34], ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
xor eax, eax
mov al, byte [ecx + 2]
jmp 0x100e7e51
xor ecx, ecx
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x10]
xor ecx, ecx
mov cl, byte [eax]
xor eax, eax
mov dword [esi + 0x34], ecx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x10]
xor eax, eax
mov al, byte [ecx + 1]
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x40]
cmp ecx, 9
jg 0x100e7e6e
cmp ecx, 7
jne 0x100e7e73
mov eax, dword [esi + 0x10]
cmp eax, 0xe
je 0x100e7e73
cmp eax, 8
je 0x100e7e73
cmp ecx, 0xd
jne 0x100e7e7a
or dword [esi + 0x34], 0x8000
mov al, byte [esp + 0x44]
test al, al
je 0x100e7ea4
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x14]
cmp eax, edx
je 0x100e7ea4
push eax
push ebp
call fcn.100ebe90
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x2c]
add esp, 8
mov dword [esi + 0x30], edx
xor edx, edx
jmp 0x100e7ea7
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], edx
mov edi, dword [edi]
add esi, 0x50
cmp edi, edx
jne 0x100e7d95
mov eax, dword [esp + 0x38]
push eax
call fcn.100e7440
mov eax, dword [esp + 0x40]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x24
ret