Function at 0x10005ed0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 0x2c
movsx eax, word [ecx + 0xe]
push ebx
mov edx, dword [ecx + 4]
push esi
push edi
push ebp
push eax
push edx
call fcn.100382f0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], eax
add esp, 8
mov eax, dword [ecx + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
add eax, 0x64
push eax
call fcn.100365b0
mov dword [esp + 0x30], eax
add esp, 4
test eax, eax
jne 0x10005f2c
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x30]
add eax, 0x3e8
push eax
call fcn.100365b0
mov dword [esp + 0x18], eax
add esp, 4
test eax, eax
jne 0x10005f53
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
mov eax, dword [0x1004e46c]
add eax, 0xc8
push eax
call fcn.100365b0
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x10005f7b
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
mov eax, dword [0x1004e46c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.10036430
mov dword [esp + 0x34], eax
add esp, 0xc
test eax, eax
jne 0x10005fcf
mov eax, dword [esp + 0x2c]
push eax
call fcn.10036640
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.10036640
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call fcn.10036640
add esp, 4
mov eax, 0xfffffff4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x44]
xor eax, eax
mov ax, word [ecx + 4]
xor ebp, ebp
mov bp, word [ecx + 6]
xor ebx, ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 1
cmp dword [ecx + 8], ebx
jle 0x100061d1
imul eax, dword [esp + 0x38]
mov dword [esp + 0x34], eax
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [esp + 0x34], edx
je 0x10006109
mov ecx, dword [esp + 0x10]
inc ebx
movzx esi, byte [ebx + ecx - 1]
cmp esi, 0x80
jne 0x10006056
lea esi, [ebx + ecx + 1]
xor eax, eax
mov al, byte [ebx + ecx]
inc ebx
mov edi, dword [esp + 0x14]
mov ecx, eax
shr ecx, 2
add edi, edx
mov dword [esp + 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
add edx, eax
and ecx, 3
add ebx, eax
rep movsb byte es:[edi], byte [esi]
add dword [esp + 0x18], eax
jmp 0x100060fb
test esi, esi
je 0x100060a2
mov eax, esi
and eax, 0x80
cmp eax, 1
mov eax, 0
adc eax, 0xffffffff
and esi, 0x7f
and eax, 0xff
mov dword [esp + 0x1c], esi
mov ch, al
mov edi, dword [esp + 0x14]
mov cl, al
add edi, edx
mov eax, ecx
shl eax, 0x10
mov ax, cx
mov ecx, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
and ecx, 3
rep stosb byte es:[edi], al
add edx, esi
add dword [esp + 0x18], esi
jmp 0x100060fb
mov ecx, dword [esp + 0x10]
cmp byte [ebx + ecx], 0
jne 0x100060bb
add ebx, 2
xor eax, eax
mov al, byte [ebx + ecx]
inc ebx
mov dword [esp + 0x24], eax
jmp 0x100060fb
test esi, esi
jne 0x100060fb
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ebx + ecx]
inc ebx
test eax, eax
jle 0x100060f9
add ecx, ebx
mov dword [esp + 0x1c], ecx
mov ecx, eax
imul ecx, ebp
add dword [esp + 0x18], ecx
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
add edi, edx
mov ecx, ebp
shr ecx, 2
add edx, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
dec eax
jne 0x100060dc
add ebx, ebp
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x34], eax
ja 0x10006013
mov ecx, dword [esp + 0x44]
xor eax, eax
mov ax, word [ecx + 4]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x18]
push edx
push ecx
push eax
call fcn.10006240
add esp, 0x10
cmp dword [esp + 0x24], 0
jle 0x1000615c
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
push eax
inc dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
call dword [esp + 0x5c]
mov dword [esp + 0x38], eax
add esp, 0x10
dec esi
jne 0x10006136
mov dword [esp + 0x24], 1
cmp dword [esp + 0x28], 0
jl 0x10006202
mov eax, dword [esp + 0x30]
lea eax, [eax + eax*2]
add eax, ebx
cmp eax, dword [0x1004e46c]
jle 0x100061c0
mov edx, dword [0x1004e46c]
mov esi, dword [esp + 0x10]
sub edx, ebx
add esi, ebx
mov edi, dword [esp + 0x10]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x1004e46c]
sub eax, edx
add edx, dword [esp + 0x10]
push eax
push edx
mov eax, dword [esp + 0x48]
xor ebx, ebx
push eax
call fcn.10036430
mov dword [esp + 0x34], eax
add esp, 0xc
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
cmp dword [ecx + 8], eax
jg 0x10006003
mov eax, dword [esp + 0x2c]
push eax
call fcn.10036640
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.10036640
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call fcn.10036640
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x2c]
push eax
call fcn.10036640
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.10036640
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call fcn.10036640
mov eax, dword [esp + 0x2c]
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret