Function at 0x10002380
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
call fcn.100028e0
mov edx, eax
mov dword [ebp - 0xc], edx
test edx, edx
jne 0x10002398
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x3c]
lea ecx, [edx + 0x108]
push ebx
push esi
push edi
movzx ebx, word [eax + edx + 6]
add ecx, eax
mov edi, dword [eax + edx + 0x88]
xor edx, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x10002407
add ecx, 0x10
mov eax, dword [ecx]
mov esi, dword [ecx - 4]
add eax, esi
cmp eax, edi
jb 0x100023d0
cmp edi, esi
jae 0x1000241b
inc edx
add ecx, 0x28
cmp edx, ebx
jb 0x100023c1
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0xc]
xor edx, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 8], eax
mov ecx, eax
nop
mov eax, dword [ecx]
mov esi, dword [ecx - 4]
add eax, esi
cmp eax, edi
jb 0x100023ff
cmp edi, esi
jae 0x1000242e
inc edx
add ecx, 0x28
cmp edx, ebx
jb 0x100023f0
push dword [ebp - 0xc]
call fcn.10003a5d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
lea eax, [edx + edx*4]
mov eax, dword [ecx + eax*8 + 0x14]
sub eax, esi
add eax, edi
add eax, dword [ebp - 0xc]
jmp 0x100023db
mov ecx, dword [ebp - 4]
lea eax, [edx + edx*4]
mov eax, dword [ecx + eax*8 + 0x14]
sub eax, esi
add eax, edi
je 0x10002407
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x14], 0
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 8]
nop dword [eax]
mov eax, dword [ecx]
mov esi, dword [ecx - 4]
add eax, esi
cmp eax, edi
jb 0x1000246f
cmp edi, esi
jae 0x10002479
inc edx
add ecx, 0x28
cmp edx, ebx
jb 0x10002460
jmp 0x1000248a
mov ecx, dword [ebp - 4]
lea eax, [edx + edx*4]
mov eax, dword [ecx + eax*8 + 0x14]
sub eax, esi
add eax, edi
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], 0
mov edi, dword [edi + 0x24]
nop dword [eax]
mov eax, dword [ecx]
mov esi, dword [ecx - 4]
add eax, esi
cmp eax, edi
jb 0x100024af
cmp edi, esi
jae 0x100024b9
inc edx
add ecx, 0x28
cmp edx, ebx
jb 0x100024a0
jmp 0x100024ca
mov ecx, dword [ebp - 4]
lea eax, [edx + edx*4]
mov eax, dword [ecx + eax*8 + 0x14]
sub eax, esi
add eax, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp - 8]
mov edi, dword [eax + 0x20]
mov eax, dword [ecx]
mov esi, dword [ecx - 4]
add eax, esi
cmp eax, edi
jb 0x100024e8
cmp edi, esi
jae 0x1000259b
inc edx
add ecx, 0x28
cmp edx, ebx
jb 0x100024d5
xor eax, eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x18]
add ecx, edx
mov dword [ebp - 0x14], ecx
lea ecx, [eax + edx]
xor edx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x20], edx
jbe 0x10002407
mov esi, dword [ebp - 0x1c]
nop dword [eax]
xor eax, eax
test esi, esi
je 0x10002543
mov ebx, dword [ebp - 0x14]
nop dword [eax]
movzx ecx, word [ebx + eax*2]
cmp ecx, edx
je 0x1000253d
inc eax
cmp eax, esi
jb 0x10002530
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
cmp eax, esi
je 0x10002589
mov edi, dword [ecx + eax*4]
xor edx, edx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
mov esi, dword [ecx - 4]
add eax, esi
cmp eax, edi
jb 0x10002565
cmp edi, esi
jae 0x100025ae
inc edx
add ecx, 0x28
cmp edx, ebx
jb 0x10002556
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0xc]
push str.BaseThreadInitThunk
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100025be
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebp - 0x20]
jae 0x10002407
mov ecx, dword [ebp - 0x18]
jmp 0x10002520
mov ecx, dword [ebp - 4]
lea eax, [edx + edx*4]
mov eax, dword [ecx + eax*8 + 0x14]
sub eax, esi
add eax, edi
jmp 0x100024f2
mov ecx, dword [ebp - 4]
lea eax, [edx + edx*4]
mov eax, dword [ecx + eax*8 + 0x14]
sub eax, esi
add eax, edi
jmp 0x10002570
mov eax, dword [ebp - 0x2c]
xor edi, edi
mov esi, dword [ebp - 0x10]
xor ecx, ecx
mov esi, dword [eax + esi*4]
mov eax, dword [ebp - 8]
nop
mov edx, dword [eax - 4]
mov eax, dword [eax]
add eax, edx
cmp eax, esi
jb 0x100025df
cmp esi, edx
jae 0x10002601
mov eax, dword [ebp - 8]
inc ecx
add eax, 0x28
mov dword [ebp - 8], eax
cmp ecx, ebx
jb 0x100025d0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 4]
mov edi, dword [ecx + eax*8 + 0x14]
mov eax, dword [ebp + 8]
sub edi, edx
add edi, esi
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret