Function at 0x10023bc0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x34]
push esi
mov esi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x1e8]
mov eax, dword [eax]
test byte [eax + 0x3c], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 8], eax
je 0x10023bed
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret
push ebp
mov ebp, dword [esi + 0x20]
lea ebx, [ebx + ebx*4]
shl ebx, 4
cmp dword [esp + 0x44], 0
mov edx, dword [ebx + ebp + 0x38]
lea eax, [ebx + ebp + 0x1c]
push edi
mov edi, dword [eax]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
je 0x10023c6b
cmp dword [esp + 0x44], 0
jne 0x10023e71
cmp dword [ebp], 1
jg 0x10023e71
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10023c46
test dword [eax + 4], 0x200000
jne 0x10023e71
mov edx, dword [esi]
call fcn.10009610
test eax, 0x200000
jne 0x10023e71
mov edx, dword [esi + 0x30]
call fcn.10009610
test eax, 0x200000
jne 0x10023e71
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x20]
test ecx, ecx
je 0x10023c7f
cmp dword [esi + 0x3c], 0
jne 0x10023e71
cmp dword [edi + 0x40], 0
jne 0x10023e71
movzx edx, word [esi + 6]
mov dword [esp + 0x1c], edx
test dl, dl
jns 0x10023c9d
test ecx, ecx
jne 0x10023e71
cmp dword [eax], 0
je 0x10023e71
movzx eax, word [edi + 6]
test al, 1
jne 0x10023e71
test ecx, ecx
je 0x10023ccb
cmp dword [ebp], 1
jg 0x10023e71
cmp dword [esp + 0x44], 0
jne 0x10023e71
and edx, 1
je 0x10023cdb
cmp dword [esp + 0x48], 0
jne 0x10023e71
cmp dword [esi + 0x30], 0
je 0x10023ceb
cmp dword [edi + 0x30], 0
jne 0x10023e71
cmp dword [esp + 0x44], 0
je 0x10023cfc
cmp dword [edi + 0x30], 0
jne 0x10023e71
test ecx, ecx
je 0x10023d17
cmp dword [esi + 0x24], 0
jne 0x10023e71
test ecx, ecx
je 0x10023d17
test dx, dx
jne 0x10023e71
movzx eax, word [edi + 6]
test eax, 0x3000
jne 0x10023e71
test dword [esp + 0x1c], 0x2000
je 0x10023d3a
cmp dword [edi + 0x34], 0
jne 0x10023e71
test byte [ebx + ebp + 0x2c], 0x20
lea eax, [ebx + ebp + 0x2c]
mov dword [esp + 0x34], eax
jne 0x10023e71
cmp dword [edi + 0x34], 0
je 0x10023dd5
cmp dword [edi + 0x30], 0
jne 0x10023e71
cmp dword [esp + 0x44], 0
jne 0x10023e71
test dx, dx
jne 0x10023e71
cmp dword [ebp], 1
jne 0x10023e71
mov eax, edi
mov dl, 9
test byte [eax + 6], dl
jne 0x10023e71
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x10023d9d
cmp byte [eax + 4], 0x74
jne 0x10023e71
mov eax, dword [eax + 0x20]
cmp dword [eax], 1
jl 0x10023e71
mov eax, ecx
test eax, eax
jne 0x10023d83
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10023dd5
cmp dword [eax], ecx
jle 0x10023dd5
mov eax, dword [eax + 4]
add eax, 0x14
cmp word [eax], 0
je 0x10023e71
mov edx, dword [esi + 0x30]
inc ecx
add eax, 0x18
cmp ecx, dword [edx]
jl 0x10023dc0
mov ecx, dword [ebx + ebp + 0x10]
mov eax, dword [esp + 0x3c]
push 0
push 0
lea edi, [ebx + ebp + 0x10]
push 0
push 0x15
mov dword [esp + 0x40], edi
mov dword [eax + 0x1e8], ecx
call fcn.10020620
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x1e8], edx
mov eax, dword [ecx + 0x34]
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x10023ebc
lea esp, [esp]
mov edx, dword [esi + 0x34]
mov ebp, dword [esi + 0x30]
mov edi, dword [esi + 0x3c]
mov ebx, dword [esi + 0x40]
xor eax, eax
push eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x14]
push esi
push eax
mov dword [esp + 0x28], edx
call fcn.10017220
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], ebp
mov dword [esi + 0x20], ecx
mov byte [esi + 4], 0x74
test eax, eax
jne 0x10023e7b
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x34], edx
jmp 0x10023e8f
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x34], ecx
test ecx, ecx
je 0x10023e89
mov dword [ecx + 0x38], eax
mov dword [eax + 0x38], esi
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x41], 0
jne 0x100241ca
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10023e20
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov edx, dword [ebx + ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
call fcn.10001ed0
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
call fcn.10001ed0
mov edx, dword [ebx + ebp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.10001ed0
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [ebx + ebp + 0xc], ecx
mov dword [ebx + ebp + 0x14], ecx
lea ebx, [ebx + ebp + 0x18]
mov dword [eax], ecx
mov eax, dword [ebx]
mov dword [edi], ecx
cmp eax, ecx
je 0x10023f41
movzx ecx, word [eax + 0x24]
cmp cx, 1
jne 0x10023f36
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0x198]
test ecx, ecx
jne 0x10023f25
mov ecx, edx
mov edx, dword [ecx + 0x208]
mov dword [eax + 0x44], edx
mov dword [ecx + 0x208], eax
jmp 0x10023f3b
dec ecx
mov word [eax + 0x24], cx
mov dword [ebx], 0
mov ebp, esi
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0x20]
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x10]
mov esi, dword [ebx]
mov byte [esp + 0x3c], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x10023f6c
mov ecx, dword [esp + 0x34]
mov dl, byte [ecx]
mov byte [esp + 0x3c], dl
jmp 0x10023f8d
push 0
push 0
xor eax, eax
call fcn.10017730
add esp, 8
mov dword [ebp + 0x20], eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x100241b8
mov edi, dword [esp + 0x10]
cmp esi, 1
jle 0x10023fb7
mov ecx, dword [esp + 0x40]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
push eax
push edi
call fcn.10013ab0
add esp, 0x10
mov dword [ebp + 0x20], eax
cmp byte [edi + 0x41], 0
mov dword [esp + 0x18], eax
jne 0x100241b8
test esi, esi
jle 0x1002400e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x1c], ebx
lea ebx, [eax + ecx + 8]
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x10]
mov edi, dword [ebx + 0x38]
push edx
call fcn.1000a470
mov esi, dword [esp + 0x20]
mov ecx, 0x14
mov edi, ebx
push 0x50
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
push 0
push esi
call sub.msvcrt.dll_memset
add esi, 0x50
add esp, 0x10
add ebx, 0x50
sub dword [esp + 0x28], 1
mov dword [esp + 0x1c], esi
jne 0x10023fd2
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov byte [eax + ecx + 0x2c], dl
mov edi, dword [ebp]
xor eax, eax
cmp dword [edi], eax
mov dword [esp + 0x3c], eax
jle 0x10024073
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x18]
add eax, ecx
cmp dword [eax + 4], 0
jne 0x10024061
mov edx, dword [eax + 8]
push edx
push ebx
call fcn.1000e430
add esp, 8
mov esi, eax
call fcn.10002190
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x18]
mov dword [eax + ecx + 4], esi
mov eax, dword [esp + 0x3c]
add dword [esp + 0x18], 0x18
inc eax
cmp eax, dword [edi]
mov dword [esp + 0x3c], eax
jl 0x10024033
mov edi, dword [esp + 0x14]
mov edx, dword [edi]
mov esi, dword [esp + 0x24]
mov eax, dword [ebp]
push edx
push esi
push eax
push ebx
call fcn.1001b5a0
add esp, 0x10
cmp dword [esp + 0x44], 0
je 0x100240b5
mov ecx, dword [edi]
mov edx, dword [ebp + 0x28]
push ecx
push esi
push edx
push ebx
call fcn.1001b5a0
mov eax, dword [edi]
mov ecx, dword [ebp + 0x2c]
push eax
push esi
push ecx
push ebx
call fcn.1001b4e0
add esp, 0x20
mov dword [ebp + 0x2c], eax
mov eax, dword [edi + 0x30]
xor ecx, ecx
cmp eax, ecx
je 0x100240ec
cmp dword [eax], ecx
mov dword [esp + 0x3c], ecx
jle 0x100240e0
mov edx, dword [eax + 4]
xor esi, esi
mov word [ecx + edx + 0x14], si
mov edx, dword [esp + 0x3c]
inc edx
add ecx, 0x18
cmp edx, dword [eax]
mov dword [esp + 0x3c], edx
jl 0x100240c6
mov dword [ebp + 0x30], eax
mov dword [edi + 0x30], 0
jmp 0x10024101
mov eax, dword [ebp + 0x30]
cmp eax, ecx
je 0x10024101
mov ecx, dword [edi]
push ecx
push esi
push eax
push ebx
call fcn.1001b5a0
add esp, 0x10
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10024118
push 0
push eax
push ebx
call fcn.10019dd0
add esp, 0xc
mov esi, eax
jmp 0x1002411a
xor esi, esi
cmp dword [esp + 0x48], 0
mov edx, dword [ebp + 0x24]
mov ecx, dword [esp + 0x24]
je 0x1002416b
mov dword [ebp + 0x2c], edx
mov dword [ebp + 0x24], esi
mov eax, dword [edi]
push eax
push ecx
push edx
push ebx
call fcn.1001b4e0
mov dword [ebp + 0x2c], eax
mov eax, dword [edi + 0x2c]
push 0
push eax
push ebx
call fcn.10019dd0
mov ecx, dword [ebp + 0x2c]
push ecx
mov esi, ebx
call fcn.10016f70
mov dword [ebp + 0x2c], eax
mov edx, dword [edi + 0x28]
push 0
push edx
mov eax, ebx
call fcn.10012b30
add esp, 0x28
mov dword [ebp + 0x28], eax
jmp 0x10024189
mov eax, dword [edi]
push eax
push ecx
push edx
push ebx
call fcn.1001b4e0
mov dword [ebp + 0x24], eax
push eax
mov eax, esi
mov esi, ebx
call fcn.10016f70
add esp, 0x14
mov dword [ebp + 0x24], eax
mov ax, word [edi + 6]
and ax, 1
or word [ebp + 6], ax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x100241a6
mov dword [ebp + 0x3c], eax
mov dword [edi + 0x3c], 0
mov ebp, dword [ebp + 0x34]
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x14], ecx
test ebp, ebp
jne 0x10023f43
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.1000b160
add esp, 8
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret