Function at 0x1000b61
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, ebp
call fcn.0100084c
cmp edi, 5
mov ebx, 0xfffffffe
ja 0x1001473
test eax, eax
jne 0x1001473
cmp dword [ebp + 0xc], 0
je 0x1000baf
mov esi, dword [ebp + 0x1c]
cmp dword [ebp + 4], 0
je 0x1000ba0
cmp dword [ebp], 0
je 0x1000baf
mov eax, dword [esi + 4]
cmp edi, 4
je 0x1000bbc
cmp eax, 0x29a
jne 0x1000bbc
mov eax, dword [0x112df7c]
mov dword [ebp + 0x18], eax
jmp 0x1001473
cmp dword [ebp + 0x10], 0
jne 0x1000bd4
mov eax, dword [0x112df88]
mov ebx, 0xfffffffb
mov dword [ebp + 0x18], eax
jmp 0x1001473
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x28], edi
cmp dword [esi + 0x14], 0
je 0x1000bf6
mov ecx, ebp
call fcn.010014c0
cmp dword [ebp + 0x10], 0
je 0x100137f
mov eax, dword [esi + 4]
jmp 0x1000c4a
cmp dword [ebp + 4], 0
jne 0x1000c4a
mov edi, 4
xor ebx, ebx
cmp dword [esp + 0x1c], edi
setg byte [esp + 2]
cmp ecx, edi
setg byte [esp + 3]
cmp dword [esp + 0x1c], edi
mov edi, dword [esp + 0x1c]
je 0x1000c4a
mov dl, byte [esp + 2]
mov edi, dword [esp + 0x1c]
add ecx, ecx
mov bl, dl
lea edi, [edi + edi]
xor edx, edx
lea ebx, [ebx + ebx*8]
sub edi, ebx
mov bh, byte [esp + 3]
mov dl, bh
lea edx, [edx + edx*8]
sub ecx, edx
cmp edi, ecx
mov edi, dword [esp + 0x1c]
jle 0x1000bc2
cmp eax, 0x2a
je 0x1000c69
cmp eax, 0x29a
jne 0x1000d3d
cmp dword [ebp + 4], 0
jne 0x1000bc2
jmp 0x100126f
cmp dword [esi + 0x18], 0
jne 0x1000c7b
mov dword [esi + 4], 0x71
jmp 0x1001269
mov eax, dword [esi + 0x30]
xor edi, edi
mov edx, 0
shl eax, 0xc
add eax, 0xffff8800
cmp dword [esi + 0x88], 1
jg 0x1000cbc
mov ecx, dword [esi + 0x84]
mov edx, 0
cmp ecx, 2
jl 0x1000cbc
mov edx, 0x40
cmp ecx, 6
jl 0x1000cbc
setne cl
movzx edx, cl
or edx, 2
shl edx, 6
or edx, eax
mov ecx, edx
or ecx, 0x20
cmp dword [esi + 0x6c], edi
cmove ecx, edx
mov edx, 0x8421085
mov eax, ecx
mul edx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov edx, eax
shl edx, 5
sub eax, edx
add eax, ecx
or eax, ecx
mov ecx, esi
xor eax, 0x1f
mov edx, eax
call fcn.0100150a
cmp dword [esi + 0x6c], edi
je 0x1000d0f
movzx edx, word [ebp + 0x32]
mov ecx, esi
call fcn.0100150a
movzx edx, word [ebp + 0x30]
mov ecx, esi
call fcn.0100150a
xor ebx, ebx
push ebx
push ebx
push ebx
call fcn.00fffc8c
add esp, 0xc
mov ecx, ebp
mov dword [ebp + 0x30], eax
mov dword [esi + 4], 0x71
call fcn.010014c0
cmp dword [esi + 0x14], ebx
mov edi, dword [esp + 0x1c]
jne 0x10012fd
mov eax, dword [esi + 4]
cmp eax, 0x39
jne 0x1000e3f
xor edi, edi
push edi
push edi
push edi
call fcn.00f0fc4a
add esp, 0xc
mov dword [ebp + 0x30], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
lea edx, [ecx + 1]
mov dword [esi + 0x14], edx
mov byte [eax + ecx], 0x1f
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
lea edx, [ecx + 1]
mov dword [esi + 0x14], edx
mov byte [eax + ecx], 0x8b
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
lea edx, [ecx + 1]
mov dword [esi + 0x14], edx
mov byte [eax + ecx], 8
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x1000ed9
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
lea eax, [edx + 1]
mov dword [esi + 0x14], eax
xor eax, eax
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov al, 2
mov ecx, dword [esi + 0x84]
cmp ecx, 9
je 0x1000e01
cmp dword [esi + 0x88], 1
mov al, 4
setg dl
cmp ecx, 2
jl 0x1000e01
shl dl, 2
mov eax, edx
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
lea edx, [ecx + 1]
mov dword [esi + 0x14], edx
mov byte [eax + ecx], 0xa
mov ecx, ebp
mov dword [esi + 4], 0x71
call fcn.010014c0
cmp dword [esi + 0x14], 0
jne 0x100137f
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x1c]
cmp eax, 0x5a
jg 0x10010fc
cmp eax, 0x45
je 0x1001012
cmp eax, 0x49
jne 0x1001269
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x1001141
mov ecx, dword [esi + 0x14]
mov eax, ecx
cmp ecx, dword [esi + 0xc]
jne 0x1000eaa
sub ecx, eax
jbe 0x1000e92
mov edx, dword [esi + 0x1c]
mov edx, dword [edx + 0x2c]
test edx, edx
je 0x1000e92
add eax, dword [esi + 8]
push ecx
push eax
push dword [ebp + 0x30]
call fcn.00f0fc4a
add esp, 0xc
mov dword [ebp + 0x30], eax
mov ecx, ebp
call fcn.010014c0
xor ecx, ecx
cmp dword [esi + 0x14], 0
mov eax, 0
jne 0x100137f
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov edx, dword [esi + 8]
mov edi, dword [edi + 0x1c]
lea ebp, [ebx + 1]
mov dword [esi + 0x20], ebp
mov bl, byte [edi + ebx]
lea edi, [ecx + 1]
mov dword [esi + 0x14], edi
test bl, bl
mov byte [edx + ecx], bl
je 0x100110f
mov ecx, dword [esi + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x1000e6c
cmp dword [eax], edi
setne cl
cmp dword [eax + 0x2c], edi
setne dl
add dl, dl
cmp dword [eax + 0x10], edi
setne ch
shl ch, 2
or ch, cl
cmp dword [eax + 0x1c], edi
setne cl
shl cl, 3
or cl, ch
cmp dword [eax + 0x24], edi
setne al
shl al, 4
or al, cl
mov ecx, dword [esi + 8]
or al, dl
mov edx, dword [esi + 0x14]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 4]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 5]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 6]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 7]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov al, 2
mov ecx, dword [esi + 0x84]
cmp ecx, 9
je 0x1000f8f
cmp dword [esi + 0x88], 1
mov al, 4
setg dl
cmp ecx, 2
jl 0x1000f8f
shl dl, 2
mov eax, edx
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 0xc]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x10], 0
je 0x1000fe6
mov edx, dword [esi + 0x14]
mov al, byte [eax + 0x14]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov al, byte [eax + 0x15]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov eax, dword [esi + 0x1c]
mov edi, dword [esp + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x1001004
push dword [esi + 0x14]
push dword [esi + 8]
push dword [ebp + 0x30]
call fcn.00f0fc4a
add esp, 0xc
mov dword [ebp + 0x30], eax
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0x45
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10010f0
movzx ebx, word [eax + 0x14]
mov eax, dword [esi + 0x20]
mov ebp, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
sub ebx, eax
lea edx, [ebp + ebx]
cmp edx, edi
jbe 0x10010a2
add eax, ecx
mov ecx, dword [esi + 8]
sub edi, ebp
add ecx, ebp
push edi
push eax
push ecx
call fcn.010f94a0
add esp, 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x14], eax
sub eax, ebp
jbe 0x1001078
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x1001078
add ebp, dword [esi + 8]
push eax
push ebp
mov eax, dword [esp + 0x20]
mov ebp, eax
push dword [eax + 0x30]
call fcn.00f0fc4a
add esp, 0xc
mov dword [ebp + 0x30], eax
mov ecx, dword [esp + 0x18]
add dword [esi + 0x20], edi
call fcn.010014c0
cmp dword [esi + 0x14], 0
jne 0x100137f
mov eax, dword [esi + 0x1c]
sub ebx, edi
mov edi, dword [esi + 0xc]
xor ebp, ebp
mov ecx, dword [eax + 0x10]
mov eax, dword [esi + 0x20]
cmp ebx, edi
ja 0x1001037
add eax, ecx
mov ecx, dword [esi + 8]
add ecx, ebp
push ebx
push eax
push ecx
call fcn.010f94a0
add esp, 0xc
add ebx, dword [esi + 0x14]
mov dword [esi + 0x14], ebx
sub ebx, ebp
jbe 0x10010e1
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x10010e1
add ebp, dword [esi + 8]
push ebx
push ebp
mov eax, dword [esp + 0x20]
mov edi, eax
push dword [eax + 0x30]
call fcn.00f0fc4a
add esp, 0xc
mov dword [edi + 0x30], eax
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0x49
jmp 0x1000e5a
cmp eax, 0x5b
je 0x1001148
cmp eax, 0x67
je 0x10011f5
jmp 0x1001269
mov ecx, dword [esi + 0x1c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp dword [ecx + 0x2c], 0
je 0x100113a
mov ecx, dword [esi + 0x14]
sub ecx, eax
jbe 0x100113a
add eax, dword [esi + 8]
push ecx
push eax
push dword [ebp + 0x30]
call fcn.00f0fc4a
add esp, 0xc
mov dword [ebp + 0x30], eax
mov dword [esi + 0x20], 0
mov dword [esi + 4], 0x5b
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x24], 0
je 0x10011ee
mov ecx, dword [esi + 0x14]
mov eax, ecx
cmp ecx, dword [esi + 0xc]
jne 0x1001198
sub ecx, eax
jbe 0x1001180
mov edx, dword [esi + 0x1c]
mov edx, dword [edx + 0x2c]
test edx, edx
je 0x1001180
add eax, dword [esi + 8]
push ecx
push eax
push dword [ebp + 0x30]
call fcn.00f0fc4a
add esp, 0xc
mov dword [ebp + 0x30], eax
mov ecx, ebp
call fcn.010014c0
xor ecx, ecx
cmp dword [esi + 0x14], 0
mov eax, 0
jne 0x100137f
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov edx, dword [esi + 8]
mov edi, dword [edi + 0x24]
lea ebp, [ebx + 1]
mov dword [esi + 0x20], ebp
mov bl, byte [edi + ebx]
lea edi, [ecx + 1]
mov dword [esi + 0x14], edi
test bl, bl
mov byte [edx + ecx], bl
je 0x10011c3
mov ecx, dword [esi + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x100115a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp dword [ecx + 0x2c], 0
je 0x10011ee
mov ecx, dword [esi + 0x14]
sub ecx, eax
jbe 0x10011ee
add eax, dword [esi + 8]
push ecx
push eax
push dword [ebp + 0x30]
call fcn.00f0fc4a
add esp, 0xc
mov dword [ebp + 0x30], eax
mov dword [esi + 4], 0x67
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x1001251
mov eax, dword [esi + 0x14]
lea ecx, [eax + 2]
cmp ecx, dword [esi + 0xc]
jbe 0x100121c
mov ecx, ebp
call fcn.010014c0
cmp dword [esi + 0x14], 0
jne 0x100137f
xor eax, eax
mov cl, byte [ebp + 0x30]
mov edx, dword [esi + 8]
lea edi, [eax + 1]
mov dword [esi + 0x14], edi
mov byte [edx + eax], cl
mov edx, dword [esi + 0x14]
mov al, byte [ebp + 0x31]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x1c]
mov byte [ecx + edx], al
xor eax, eax
push eax
push eax
push eax
call fcn.00f0fc4a
add esp, 0xc
mov dword [ebp + 0x30], eax
mov ecx, ebp
mov dword [esi + 4], 0x71
call fcn.010014c0
cmp dword [esi + 0x14], 0
jne 0x100137f
cmp dword [ebp + 4], 0
jne 0x100128a
cmp dword [esi + 0x74], 0
jne 0x100128a
test edi, edi
je 0x100138d
cmp dword [esi + 4], 0x29a
je 0x100138d
mov eax, dword [esi + 0x84]
test eax, eax
jne 0x100129d
push edi
push esi
call fcn.01001530
jmp 0x10012cf
mov ecx, dword [esi + 0x88]
cmp ecx, 3
je 0x10012b8
cmp ecx, 2
jne 0x10012c3
mov ecx, esi
mov edx, edi
call fcn.010018cc
jmp 0x10012d2
mov ecx, esi
mov edx, edi
call fcn.01001a51
jmp 0x10012d2
lea eax, [eax + eax*2]
push edi
push esi
call dword [eax*4 + 0x112e10c]
add esp, 8
mov ecx, eax
or ecx, 1
cmp ecx, 3
jne 0x10012e3
mov dword [esi + 4], 0x29a
mov ecx, eax
mov edx, 2
or ecx, 2
cmp ecx, edx
jne 0x1001309
xor ebx, ebx
cmp dword [ebp + 0x10], 0
jne 0x1001473
mov dword [esi + 0x28], 0xffffffff
jmp 0x1001473
cmp eax, 1
jne 0x100138d
cmp edi, 5
je 0x100136e
mov ebx, dword [esp + 0x1c]
cmp ebx, 1
jne 0x1001327
push esi
call fcn.0103fddc
add esp, 4
jmp 0x100136e
xor edi, edi
push edi
push edi
push edi
push esi
call fcn.0103fc1f
add esp, 0x10
cmp ebx, 3
jne 0x100136e
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x4c]
mov word [eax + ecx*2 - 2], 0
mov eax, dword [esi + 0x4c]
lea eax, [eax + eax - 2]
push eax
push edi
push dword [esi + 0x44]
call fcn.010f9fa0
add esp, 0xc
cmp dword [esi + 0x74], edi
jne 0x100136e
xor eax, eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x16b4], eax
mov ecx, ebp
call fcn.010014c0
cmp dword [ebp + 0x10], 0
mov edi, dword [esp + 0x1c]
jne 0x100138d
mov dword [esi + 0x28], 0xffffffff
xor ebx, ebx
jmp 0x1001473
xor ebx, ebx
cmp edi, 4
jne 0x1001473
mov eax, dword [esi + 0x18]
test eax, eax
jg 0x10013a7
xor ebx, ebx
inc ebx
jmp 0x1001473
mov edx, dword [ebp + 0x30]
cmp eax, 2
jne 0x1001442
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
lea edi, [ecx + 1]
mov dword [esi + 0x14], edi
mov byte [eax + ecx], dl
mov edx, dword [esi + 0x14]
mov al, byte [ebp + 0x31]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov al, byte [ebp + 0x32]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov al, byte [ebp + 0x33]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov al, byte [ebp + 8]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov al, byte [ebp + 9]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov al, byte [ebp + 0xa]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
mov edx, dword [esi + 0x14]
mov al, byte [ebp + 0xb]
mov ecx, dword [esi + 8]
lea edi, [edx + 1]
mov dword [esi + 0x14], edi
mov byte [ecx + edx], al
jmp 0x1001457
shr edx, 0x10
mov ecx, esi
call fcn.0100150a
movzx edx, word [ebp + 0x30]
mov ecx, esi
call fcn.0100150a
mov ecx, ebp
call fcn.010014c0
mov eax, dword [esi + 0x18]
test eax, eax
jle 0x100146a
neg eax
mov dword [esi + 0x18], eax
xor ebx, ebx
cmp dword [esi + 0x14], 0
sete bl
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret