Function at 0x10059421
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor eax, eax
push esi
push edi
mov edi, ecx
or ecx, 0xffffffff
mov esi, dword [edi + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
movzx ebx, word [ecx + 6]
mov dword [edi + 0x9c], eax
cmp word [ecx + 4], ax
mov word [ebp - 0x10], ax
seta al
mov byte [edi + 0x4c], al
mov eax, dword [ecx]
mov dword [edi + 0x78], eax
mov edx, dword [edi + 0x78]
movzx eax, byte [ecx + 6]
imul edx, edx, 3
and eax, 3
mov dword [edi + 0x88], eax
lea ecx, [edx + eax]
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x88]
mov ecx, dword [eax*4 + 0x10006098]
mov eax, dword [esi + 0x250]
add ecx, edx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], ebx
mov dword [edi + 0x7c], eax
cmp eax, 0xffffffff
je 0x100594d5
mov edx, dword [esi + 0x250]
mov ebx, dword [edi + 0x78]
xor ecx, ecx
mov esi, eax
mov eax, esi
imul eax, eax, 3
add eax, ecx
cmp dword [edx + eax*4], ebx
je 0x100594c9
inc ecx
cmp ecx, 3
jb 0x100594b7
mov ebx, dword [ebp - 8]
mov esi, dword [edi + 8]
mov dword [edi + 0x90], ecx
test ebx, 0x4000
jne 0x100594f0
mov eax, dword [esi + 0x258]
mov ecx, dword [edi + 0x78]
mov ax, word [eax + ecx*2]
mov word [edi + 0x6c], ax
jmp 0x10059504
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edi + 0x6c], ax
lea eax, [ecx + 1]
mov dword [edi + 0x18], eax
movzx eax, word [edi + 0x6c]
imul eax, eax, 0x14
add eax, dword [esi + 0x25c]
push 1
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
add eax, dword [ecx]
mov dword [edi + 0x70], eax
inc dword [ecx]
push dword [edi + 0x50]
inc dword [edi + 0x3c]
cmp byte [edi + 0x4c], 0
push dword [edi + 0x78]
lea ecx, [ebp - 0x28]
je 0x10059849
call fcn.10053608
mov esi, dword [ebp + 8]
xor eax, eax
cmp ax, word [esi + 4]
jae 0x10059584
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.100546b4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.1004cbb4
mov ecx, dword [ebp - 4]
imul ecx, ecx, 3
add eax, ecx
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + 0x24c]
lea ecx, [ecx + eax*4]
mov eax, dword [edi + 0x98]
mov dword [eax + ebx*4], ecx
movzx eax, word [esi + 4]
inc ebx
cmp ebx, eax
jb 0x10059548
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x28]
mov dword [edi + 0x84], eax
call fcn.1004cbb4
mov dword [edi + 0x94], eax
movzx eax, word [esi + 4]
mov dword [edi + 0x9c], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
jne 0x100595b5
or dword [edi + 0x80], eax
jmp 0x100595c4
mov dword [edi + 0x80], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x8c], eax
test ebx, 0x8000
jne 0x100595e2
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x258]
mov ecx, dword [ebp - 4]
mov ax, word [eax + ecx*2]
mov word [edi + 0x6e], ax
jmp 0x100595f6
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov ax, word [eax + ecx*2]
mov word [edi + 0x6e], ax
lea eax, [ecx + 1]
mov dword [edi + 0x18], eax
movzx edx, word [edi + 0x6e]
mov eax, dword [edi + 8]
imul edx, edx, 0x14
add edx, dword [eax + 0x25c]
mov eax, dword [edx + 4]
add eax, dword [edx + 8]
mov dword [edi + 0x74], eax
inc dword [edx + 8]
movzx esi, word [edi + 0x6c]
inc dword [edi + 0x3c]
imul esi, esi, 0x14
inc dword [edi + 0x48]
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + esi + 0x10]
mov ecx, dword [edx + esi + 0xc]
add ecx, eax
inc eax
mov dword [edx + esi + 0x10], eax
mov eax, ebx
and eax, 0x80
mov dword [edi + 0x54], ecx
mov dword [ebp + 8], eax
jne 0x1005967c
test bl, 0x10
jne 0x1005967c
test bl, 0x40
je 0x10059655
test bl, 0x20
jne 0x1005967c
movzx esi, word [edi + 0x6c]
inc dword [edi + 0x48]
imul esi, esi, 0x14
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + esi + 0x10]
mov ecx, dword [edx + esi + 0xc]
add ecx, eax
inc eax
mov dword [edx + esi + 0x10], eax
mov dword [edi + 0x58], ecx
jmp 0x100596a1
test ax, ax
je 0x10059686
mov eax, dword [edi + 0x50]
jmp 0x1005969e
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi + 8]
imul ecx, ecx, 3
add ecx, dword [edi + 0x90]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x58], eax
test ebx, 0x800
je 0x100596d0
movzx esi, word [edi + 0x6c]
inc dword [edi + 0x48]
imul esi, esi, 0x14
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + esi + 0x10]
mov ecx, dword [edx + esi + 0xc]
add ecx, eax
inc eax
mov dword [edx + esi + 0x10], eax
mov dword [edi + 0x64], ecx
jmp 0x1005970f
test ebx, 0x400
jne 0x100596ed
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x88]
imul ecx, ecx, 3
add ecx, dword [eax*4 + 0x10006098]
jmp 0x10059700
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi + 0x90]
imul ecx, ecx, 3
add ecx, dword [eax*4 + 0x10006094]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x64], eax
test ebx, 0x200
je 0x1005971f
mov eax, dword [edi + 0x54]
mov dword [edi + 0x5c], eax
jmp 0x10059744
movzx esi, word [edi + 0x6e]
inc dword [edi + 0x48]
imul esi, esi, 0x14
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + esi + 0x10]
mov ecx, dword [edx + esi + 0xc]
add ecx, eax
inc eax
mov dword [edx + esi + 0x10], eax
mov dword [edi + 0x5c], ecx
test bl, 0x40
je 0x1005974e
mov eax, dword [edi + 0x58]
jmp 0x100597bc
mov eax, ebx
and eax, 0x100
jne 0x10059783
test bl, 0x20
jne 0x10059783
movzx esi, word [edi + 0x6e]
inc dword [edi + 0x48]
imul esi, esi, 0x14
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + esi + 0x10]
mov ecx, dword [edx + esi + 0xc]
add ecx, eax
inc eax
mov dword [edx + esi + 0x10], eax
mov dword [edi + 0x60], ecx
jmp 0x100597bf
test ax, ax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x24c]
je 0x100597aa
mov ecx, dword [edi + 0x84]
imul ecx, ecx, 3
lea edx, [edi + 0x94]
add ecx, dword [edx]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x60], eax
jmp 0x100597c5
mov ecx, dword [edi + 0x80]
imul ecx, ecx, 3
add ecx, dword [edi + 0x8c]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x60], eax
lea edx, [edi + 0x94]
test ebx, 0x2000
je 0x100597f4
movzx esi, word [edi + 0x6e]
inc dword [edi + 0x48]
imul esi, esi, 0x14
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + esi + 0x10]
mov ecx, dword [edx + esi + 0xc]
add ecx, eax
inc eax
mov dword [edx + esi + 0x10], eax
mov dword [edi + 0x68], ecx
jmp 0x10059835
test ebx, 0x1000
jne 0x10059810
mov ecx, dword [edi + 0x84]
mov eax, dword [edx]
imul ecx, ecx, 3
add ecx, dword [eax*4 + 0x10006094]
jmp 0x10059826
mov ecx, dword [edi + 0x80]
mov eax, dword [edi + 0x8c]
imul ecx, ecx, 3
add ecx, dword [eax*4 + 0x10006098]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x68], eax
cmp word [ebp + 8], 0
jne 0x1005996c
or dword [edi + 0x50], 0xffffffff
jmp 0x1005996c
or dword [edi + 0x80], 0xffffffff
or dword [edi + 0x84], 0xffffffff
or dword [edi + 0x74], 0xffffffff
call fcn.10053608
cmp dword [ebp - 0x20], 0xffffffff
je 0x100598a7
lea ecx, [ebp - 0x28]
call fcn.100546b4
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1004cbb4
imul esi, esi, 3
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + 0x24c]
add eax, esi
lea edx, [ecx + eax*4]
mov ecx, dword [edi + 0x9c]
mov eax, dword [edi + 0x98]
mov dword [eax + ecx*4], edx
inc dword [edi + 0x9c]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10059866
mov ebx, dword [ebp - 8]
movzx esi, word [edi + 0x6c]
inc dword [edi + 0x48]
imul esi, esi, 0x14
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + esi + 0x10]
mov ecx, dword [edx + esi + 0xc]
add ecx, eax
inc eax
mov dword [edx + esi + 0x10], eax
mov dword [edi + 0x54], ecx
test bl, 0x90
jne 0x100598f8
movzx esi, word [edi + 0x6c]
inc dword [edi + 0x48]
imul esi, esi, 0x14
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + esi + 0x10]
mov ecx, dword [edx + esi + 0xc]
add ecx, eax
inc eax
mov dword [edx + esi + 0x10], eax
mov dword [edi + 0x58], ecx
jmp 0x100598fe
mov eax, dword [edi + 0x50]
mov dword [edi + 0x58], eax
test ebx, 0x800
je 0x1005992d
movzx esi, word [edi + 0x6c]
inc dword [edi + 0x48]
imul esi, esi, 0x14
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + esi + 0x10]
mov ecx, dword [edx + esi + 0xc]
add ecx, eax
inc eax
mov dword [edx + esi + 0x10], eax
mov dword [edi + 0x64], ecx
jmp 0x1005996c
test ebx, 0x400
jne 0x1005994a
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x88]
imul ecx, ecx, 3
add ecx, dword [eax*4 + 0x10006098]
jmp 0x1005995d
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi + 0x90]
imul ecx, ecx, 3
add ecx, dword [eax*4 + 0x10006094]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + ecx*4]
mov dword [edi + 0x64], eax
pop edi
pop esi
pop ebx
leave
ret 4