Function at 0x10008d10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x34]
mov cl, byte [ebx + 0xd]
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
cmp cl, 9
je 0x10008d2c
cmp cl, 8
jne 0x10008d6b
movzx eax, word [ebx + 8]
cmp eax, dword [ebp + 0x78]
jne 0x10008d6b
test byte [ebx + 6], 0x80
jne 0x10008d6b
mov eax, dword [ebp + 0x40]
add eax, 0xc
cmp byte [eax - 6], 0xf
jne 0x10008d6b
movzx edx, byte [eax - 5]
movzx ecx, cl
and ecx, 1
not ecx
and ecx, 5
sub ecx, 0xffffff80
cmp edx, ecx
jne 0x10008d6b
mov dword [ebp + 0x40], eax
mov ecx, dword [eax - 4]
add ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x10008d73
mov dword [esp + 0x24], 0
mov edx, 0xef
mov esi, ebx
mov eax, ebp
call fcn.100057b0
mov ecx, eax
mov edi, 1
shl edi, cl
movzx ecx, word [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x48]
movzx eax, byte [eax + ecx*8 + 6]
not edi
and edi, 0xef
mov dword [esp + 0x2c], eax
test al, al
jns 0x10008dba
push ecx
mov eax, edi
mov esi, ebp
call fcn.10005620
add esp, 4
mov dword [esp + 0x2c], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x48]
mov eax, 0x80
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], eax
not edx
and dword [ebp + 0x60], edx
movzx eax, word [ebx + 2]
lea esi, [ecx + eax*8]
mov dword [esp + 0x20], esi
mov esi, 0x8000
cmp ax, si
sbb eax, eax
neg eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov al, byte [eax + 4]
mov byte [esp + 0x13], al
jne 0x10008e71
and al, 0x1f
and edi, edx
mov byte [esp + 0x3c], al
mov esi, 0xff00
cmp al, 0xe
je 0x10008e13
mov esi, edi
movzx edx, word [ebx + 2]
movzx eax, byte [ecx + edx*8 + 6]
test al, al
jns 0x10008e2d
mov eax, esi
push edx
mov esi, ebp
call fcn.10005620
add esp, 4
mov edx, 1
mov ecx, eax
shl edx, cl
mov dword [esp + 0x18], eax
not edx
and dword [ebp + 0x60], edx
cmp byte [esp + 0x3c], 4
je 0x10008e71
mov eax, dword [ebp + 0x58]
and edx, edi
and eax, edx
jne 0x10008e58
mov eax, ebp
call fcn.10005190
jmp 0x10008e61
bsr ecx, eax
mov dword [esp + 0x40], ecx
mov eax, ecx
mov edx, 1
mov ecx, eax
shl edx, cl
mov dword [esp + 0x30], eax
or dword [ebp + 0x5c], edx
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x10008ea2
cmp byte [ebx + 0xd], 9
jne 0x10008ea2
sub ecx, eax
mov dword [eax - 4], ecx
mov byte [eax - 5], 0x84
add eax, 0xfffffffa
mov byte [eax], 0xf
mov dword [ebp + 0x40], eax
mov dword [esp + 0x24], 0
jmp 0x10008eba
mov edi, dword [ebp + 0x4c]
mov eax, dword [esp + 0x14]
sub edi, 0x128
push eax
mov ecx, ebp
call fcn.10004cc0
add esp, 4
mov cl, byte [esp + 0x14]
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0x14]
and cl, 7
mov dl, cl
add dl, dl
add dl, dl
mov byte [eax - 1], 0
add dl, dl
mov byte [esp + 0x11], cl
add cl, dl
mov dword [esp + 0x34], eax
add eax, 0xfffffffe
sub cl, 0x40
mov byte [eax], 0x75
mov byte [eax - 1], cl
mov dword [eax - 5], 0x850000fe
add eax, 0xfffffffe
mov edx, esi
and edx, 0x80
mov byte [esp + 0x12], cl
mov dword [ebp + 0x40], eax
mov ecx, esi
mov dword [esp + 0x1c], edx
jne 0x10008f24
mov edx, esi
dec eax
and dl, 7
mov byte [eax], 0x10
mov ebx, 0x40
cmp dl, 4
jne 0x10008f35
dec eax
mov byte [eax], 0x24
jmp 0x10008f35
mov dword [eax - 4], 0x10
add eax, 0xfffffffc
mov ecx, 5
xor ebx, ebx
mov dl, byte [esp + 0x11]
add dl, dl
add dl, dl
add dl, dl
and cl, 7
add cl, dl
add cl, bl
mov byte [eax - 1], cl
mov dword [eax - 5], 0x8b0000fe
lea ebx, [eax - 2]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x40], dl
mov dword [ebp + 0x40], ebx
test eax, eax
je 0x10008f73
sub eax, ebx
mov dword [ebx - 4], eax
lea eax, [ebx - 6]
mov byte [ebx - 5], 0x84
mov byte [eax], 0xf
jmp 0x10008f82
mov al, byte [esp + 0x3c]
sub al, bl
mov byte [ebx - 1], al
lea eax, [ebx - 2]
mov byte [eax], 0x74
mov cl, byte [esp + 0x13]
and cl, 0x1f
mov dword [ebp + 0x40], eax
mov byte [esp + 0x3c], cl
cmp cl, 0xe
jne 0x10009139
cmp dword [esp + 0x28], 0
je 0x100090b8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ecx]
movsx edx, al
cmp eax, edx
jne 0x10008fc5
dec dword [ebp + 0x40]
mov ecx, dword [ebp + 0x40]
mov byte [ecx], al
mov dword [esp + 0x24], 0x830000fe
jmp 0x10008fd7
mov ecx, dword [ebp + 0x40]
mov dword [ecx - 4], eax
add dword [ebp + 0x40], 0xfffffffc
mov dword [esp + 0x24], 0x810000fe
cmp dword [esp + 0x1c], 0
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 0x40]
mov eax, edi
jne 0x10009000
mov edx, edi
dec esi
and dl, 7
mov byte [esi], 8
mov ecx, 0x40
cmp dl, 4
jne 0x10009011
dec esi
mov byte [esi], 0x24
jmp 0x10009011
mov dword [esi - 4], 8
add esi, 0xfffffffc
mov eax, 5
xor ecx, ecx
and al, 7
add al, cl
mov ecx, dword [esp + 0x20]
add al, 0x38
mov byte [esi - 1], al
mov eax, dword [esp + 0x24]
mov dword [esi - 5], eax
movsx eax, al
add eax, esi
sub bl, al
mov byte [eax - 1], bl
add eax, 0xfffffffe
mov byte [eax], 0x75
mov dword [ebp + 0x40], eax
mov edx, dword [ecx]
mov ecx, dword [edx + 4]
movsx edx, cl
cmp ecx, edx
jne 0x10009054
dec eax
mov dword [ebp + 0x40], eax
mov byte [eax], cl
mov dword [esp + 0x24], 0x830000fe
jmp 0x10009063
mov dword [eax - 4], ecx
add dword [ebp + 0x40], 0xfffffffc
mov dword [esp + 0x24], 0x810000fe
cmp dword [esp + 0x1c], 0
mov eax, dword [ebp + 0x40]
mov ecx, edi
jne 0x10009088
mov ebx, edi
dec eax
and bl, 7
mov byte [eax], 0xc
mov edx, 0x40
cmp bl, 4
jne 0x10009099
dec eax
mov byte [eax], 0x24
jmp 0x10009099
mov dword [eax - 4], 0xc
add eax, 0xfffffffc
mov ecx, 5
xor edx, edx
and cl, 7
add cl, dl
add cl, 0x38
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x24]
mov dword [eax - 5], ecx
movsx ecx, cl
add ecx, eax
mov dword [ebp + 0x40], ecx
jmp 0x1000923a
mov eax, dword [ebp + 0x40]
mov edi, dword [esp + 0x14]
mov dl, bl
sub dl, al
cmp dword [esp + 0x1c], 0
lea esi, [eax - 2]
mov byte [eax - 1], dl
mov byte [esi], 0x7a
mov dword [ebp + 0x40], esi
mov eax, edi
jne 0x100090f1
mov edx, edi
dec esi
and dl, 7
mov byte [esi], 8
mov ecx, 0x40
cmp dl, 4
jne 0x10009102
dec esi
mov byte [esi], 0x24
jmp 0x10009102
mov dword [esi - 4], 8
add esi, 0xfffffffc
mov eax, 5
xor ecx, ecx
mov dl, byte [esp + 0x18]
and dl, 7
add dl, dl
add dl, dl
add dl, dl
and al, 7
add dl, al
lea eax, [esi - 4]
add dl, cl
mov byte [esi - 1], dl
mov dword [esi - 5], 0x2e0f66fc
sub bl, al
mov byte [eax - 1], bl
mov byte [eax - 2], 0x73
add eax, 0xfffffffd
mov dword [ebp + 0x40], eax
mov byte [eax], 0xf2
jmp 0x100091ec
cmp cl, 2
jbe 0x100091de
cmp dword [esp + 0x28], 0
je 0x1000916a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push 8
push eax
mov eax, dword [ecx]
push ebp
mov ecx, 0x838107
call fcn.10004b20
mov edi, dword [esp + 0x20]
add esp, 0xc
jmp 0x100091c7
cmp dword [esp + 0x1c], 0
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 0x40]
mov eax, edi
jne 0x10009193
mov edx, edi
dec esi
and dl, 7
mov byte [esi], 8
mov ecx, 0x40
cmp dl, 4
jne 0x100091a4
dec esi
mov byte [esi], 0x24
jmp 0x100091a4
mov dword [esi - 4], 8
add esi, 0xfffffffc
mov eax, 5
xor ecx, ecx
mov dl, byte [esp + 0x18]
and dl, 7
add dl, dl
add dl, dl
add dl, dl
and al, 7
add dl, al
add dl, cl
mov byte [esi - 1], dl
mov dword [esi - 5], 0x3b0000fe
add esi, 0xfffffffe
mov dword [ebp + 0x40], esi
mov eax, dword [ebp + 0x40]
mov cl, byte [esp + 0x3c]
sub bl, al
mov byte [eax - 1], bl
add eax, 0xfffffffe
mov byte [eax], 0x75
mov dword [ebp + 0x40], eax
jmp 0x100091e2
mov edi, dword [esp + 0x14]
dec dword [ebp + 0x40]
mov eax, dword [ebp + 0x40]
not cl
mov byte [eax], cl
cmp dword [esp + 0x1c], 0
mov eax, dword [ebp + 0x40]
mov ecx, edi
jne 0x10009211
mov ebx, edi
dec eax
and bl, 7
mov byte [eax], 0xc
mov edx, 0x40
cmp bl, 4
jne 0x10009222
dec eax
mov byte [eax], 0x24
jmp 0x10009222
mov dword [eax - 4], 0xc
add eax, 0xfffffffc
mov ecx, 5
xor edx, edx
and cl, 7
add cl, dl
add cl, 0x38
mov byte [eax - 1], cl
mov dword [eax - 5], 0x830000fe
add eax, 0xfffffffe
mov dword [ebp + 0x40], eax
mov cl, byte [ebp + 0x40]
mov eax, dword [esp + 0x34]
sub cl, al
mov byte [eax - 1], cl
mov esi, dword [ebp + 0x40]
cmp esi, dword [ebp + 0x44]
jae 0x10009255
mov eax, ebp
call fcn.10004980
cmp dword [esp + 0x28], 0
je 0x1000929c
mov ecx, dword [esp + 0x20]
call fcn.10006160
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x100092a4
mov edx, dword [esp + 0x2c]
mov ecx, edx
mov eax, esi
test dl, dl
js 0x100092d6
dec eax
and dl, 7
mov byte [eax], 0x14
mov ebx, 0x40
cmp dl, 4
jne 0x100092e7
and cl, 7
add cl, byte [esp + 0x40]
dec eax
mov byte [eax], 0x24
add cl, bl
jmp 0x1000944a
mov dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x2c]
mov edx, ebx
and edx, 0x80
mov ecx, ebx
mov eax, esi
mov dword [esp + 0x2c], edx
jne 0x100092f5
mov edx, ebx
dec eax
and dl, 7
mov byte [eax], 0x14
mov dword [esp + 0x24], 0x40
cmp dl, 4
jne 0x1000930c
dec eax
mov byte [eax], 0x24
jmp 0x1000930c
mov dword [eax - 4], 0x14
add eax, 0xfffffffc
mov ecx, 5
xor ebx, ebx
and cl, 7
add cl, byte [esp + 0x40]
add cl, bl
jmp 0x1000944a
mov dword [eax - 4], 0x14
add eax, 0xfffffffc
mov ecx, 5
mov dword [esp + 0x24], 0
and cl, 7
add cl, byte [esp + 0x40]
mov dword [eax - 5], 0x30000fe
add cl, byte [esp + 0x24]
add eax, 0xfffffffe
mov byte [eax + 1], cl
mov dword [ebp + 0x40], eax
dec eax
test dword [ebp + 0x68], 0x200
mov edi, 0xc10000fe
mov dword [ebp + 0x40], eax
je 0x10009355
mov cl, byte [esp + 0x12]
mov byte [eax], 0x18
mov eax, dword [ebp + 0x40]
mov byte [eax - 1], cl
mov dword [eax - 5], 0x6b0000fe
add eax, 0xfffffffe
mov dword [ebp + 0x40], eax
jmp 0x10009388
mov dl, byte [esp + 0x11]
mov byte [eax], 3
mov eax, dword [ebp + 0x40]
sub dl, 0x20
mov byte [eax - 1], dl
mov dword [eax - 5], edi
push 0
add eax, 0xfffffffe
push 0x40
mov dword [ebp + 0x40], eax
mov eax, dword [esp + 0x1c]
push eax
push eax
push eax
push 0x8d0000fe
mov esi, ebp
call fcn.10004a20
add esp, 0x18
cmp dword [esp + 0x28], 0
je 0x100093ac
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
mov ecx, 0x838104
mov edi, ebp
call fcn.10004ac0
mov eax, dword [ebp + 0x40]
add esp, 4
jmp 0x10009410
cmp byte [esp + 0x3c], 4
jne 0x10009462
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x40]
test cl, cl
js 0x100093de
mov dl, cl
dec eax
and dl, 7
mov byte [eax], 8
mov dword [esp + 0x3c], 0x40
cmp dl, 4
jne 0x100093f5
dec eax
mov byte [eax], 0x24
jmp 0x100093f5
mov dword [eax - 4], 8
add eax, 0xfffffffc
mov ecx, 5
mov dword [esp + 0x3c], 0
and cl, 7
add cl, byte [esp + 0x40]
mov dword [eax - 5], 0x230000fe
add cl, byte [esp + 0x3c]
add eax, 0xfffffffe
mov byte [eax + 1], cl
mov dword [ebp + 0x40], eax
cmp dword [esp + 0x2c], 0
mov ecx, ebx
jne 0x10009430
dec eax
and bl, 7
mov byte [eax], 0x1c
mov edx, 0x40
cmp bl, 4
jne 0x10009441
dec eax
mov byte [eax], 0x24
jmp 0x10009441
mov dword [eax - 4], 0x1c
add eax, 0xfffffffc
mov ecx, 5
xor edx, edx
and cl, 7
add cl, byte [esp + 0x40]
add cl, dl
mov byte [eax - 1], cl
pop edi
mov dword [eax - 5], 0x8b0000fe
add eax, 0xfffffffe
pop esi
mov dword [ebp + 0x40], eax
pop ebp
pop ebx
add esp, 0x28
ret
cmp dword [esp + 0x2c], 0
mov ecx, dword [ebp + 0x40]
mov eax, ebx
jne 0x10009488
dec ecx
and bl, 7
mov byte [ecx], 0x1c
mov dword [esp + 0x2c], 0x40
cmp bl, 4
jne 0x1000949f
dec ecx
mov byte [ecx], 0x24
jmp 0x1000949f
mov dword [ecx - 4], 0x1c
add ecx, 0xfffffffc
mov eax, 5
mov dword [esp + 0x2c], 0
mov bl, byte [esp + 0x30]
mov dl, byte [esp + 0x40]
mov dword [ecx - 5], 0x230000fe
and al, 7
add al, dl
add al, byte [esp + 0x2c]
and bl, 7
mov byte [ecx - 1], al
mov dword [ecx - 7], 0x2b0000fe
lea esi, [ecx - 2]
add esi, 0xfffffffd
lea eax, [edx + ebx - 0x40]
mov byte [esi + 2], al
mov dword [ebp + 0x40], esi
mov byte [esi], 0xd
mov esi, dword [ebp + 0x40]
mov dword [esi - 5], edi
lea ecx, [ebx - 0x40]
mov byte [esi - 1], cl
mov byte [esi - 3], al
mov dword [esi - 7], 0x330000fe
lea ecx, [esi - 2]
add ecx, 0xfffffffd
mov dword [ebp + 0x40], ecx
mov byte [ecx], 5
mov esi, dword [ebp + 0x40]
mov cl, byte [esp + 0x11]
mov dl, bl
add dl, dl
mov dword [esi - 5], edi
add dl, dl
add dl, dl
add esi, 0xfffffffe
lea eax, [ecx - 0x40]
mov byte [esi + 1], al
mov dword [esi - 5], 0x2b0000fe
mov byte [esp + 0x40], al
add esi, 0xfffffffd
lea eax, [ecx + edx - 0x40]
mov byte [esi + 2], al
mov dword [ebp + 0x40], esi
mov byte [esi], 0xe
mov ecx, dword [ebp + 0x40]
mov dword [esp + 0x30], ecx
movzx ecx, byte [esp + 0x40]
mov esi, dword [esp + 0x30]
mov byte [esi - 1], cl
mov ecx, esi
mov dword [ecx - 5], edi
add ecx, 0xfffffffe
cmp byte [esp + 0x3c], 0xe
mov byte [ecx - 1], al
lea eax, [ecx - 2]
mov dword [ecx - 5], 0x330000fe
mov dword [ebp + 0x40], eax
jne 0x100095c8
mov dl, byte [esp + 0x12]
mov esi, dword [esp + 0x20]
mov byte [eax - 1], dl
mov dword [eax - 5], 0x30000fe
add eax, 0xfffffffe
mov edx, ebp
mov dword [ebp + 0x40], eax
call fcn.100050d0
lea edx, [eax + 4]
mov eax, dword [esp + 0x14]
push eax
push 0x8b0000fe
mov ecx, 4
mov esi, ebp
call fcn.100049a0
mov cl, byte [esp + 0x20]
mov eax, dword [ebp + 0x40]
and cl, 7
add cl, cl
add cl, cl
add cl, cl
add esp, 8
add cl, bl
sub cl, 0x40
pop edi
mov byte [eax - 1], cl
mov dword [eax - 5], 0x7e0f66fc
add eax, 0xfffffffc
pop esi
mov dword [ebp + 0x40], eax
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x18]
mov bl, cl
and bl, 7
add bl, dl
mov edx, dword [esp + 0x14]
sub bl, 0x40
mov byte [eax - 1], bl
mov dword [eax - 5], 0x8b0000fe
push edx
add eax, 0xfffffffe
push 0x8d0000fe
mov edx, 0xfb3ee249
mov esi, ebp
mov dword [ebp + 0x40], eax
call fcn.100049a0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret