Function at 0x100369d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + 0x1e8]
mov ebp, dword [esi + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x20], edi
lea edi, [eax*8]
sub edi, eax
add edi, edi
add edi, edi
add edi, edi
cmp dword [esp + 0x40], 0
mov eax, dword [edi + ebp + 0x20]
mov ebx, dword [edi + ebp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
je 0x10036a2c
test edx, edx
je 0x10036a37
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
test edx, edx
je 0x10036a37
cmp word [ebp], 1
jg 0x10036a22
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 8]
test ecx, ecx
je 0x10036a47
cmp dword [esi + 0x28], 0
jne 0x10036a22
cmp dword [ebx + 0x2c], 0
jne 0x10036a22
cmp dword [esi + 0x24], 0
je 0x10036a5d
test ecx, ecx
je 0x10036a5d
cmp dword [ebx + 0x18], 0
jne 0x10036a22
cmp word [eax], 0
je 0x10036a22
test byte [ebx + 6], 1
jne 0x10036a6d
test ecx, ecx
je 0x10036a7b
cmp word [ebp], 1
jg 0x10036a22
cmp dword [esp + 0x40], 0
jne 0x10036a22
mov dx, word [esi + 6]
and dx, 1
je 0x10036a8c
cmp dword [esp + 0x44], 0
jne 0x10036a22
cmp dword [esi + 0x18], 0
je 0x10036a98
cmp dword [ebx + 0x18], 0
jne 0x10036a22
cmp dword [esp + 0x40], 0
je 0x10036aa9
cmp dword [ebx + 0x18], 0
jne 0x10036a22
test ecx, ecx
je 0x10036ab7
cmp dword [esi + 0xc], 0
jne 0x10036a22
test byte [edi + ebp + 0x1d], 0x20
lea eax, [edi + ebp + 0x1d]
mov dword [esp + 0x28], eax
jne 0x10036a22
cmp dword [ebx + 0x1c], 0
je 0x10036b65
cmp dword [ebx + 0x18], 0
jne 0x10036a22
cmp dword [esp + 0x40], 0
jne 0x10036a22
test dx, dx
jne 0x10036a22
cmp word [ebp], 1
jne 0x10036a22
mov eax, ebx
mov dl, 5
test byte [eax + 6], dl
jne 0x10036a22
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x10036b1b
cmp byte [eax + 4], 0x71
jne 0x10036a22
mov eax, dword [eax + 8]
test eax, eax
je 0x10036a22
cmp word [eax], 1
jne 0x10036a22
mov eax, ecx
test eax, eax
jne 0x10036b01
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10036b65
cmp dword [ecx], eax
jle 0x10036b65
mov ecx, dword [ecx + 0xc]
add ecx, 0xa
jmp 0x10036b50
cmp word [ecx], 0
je 0x10036a22
mov edx, dword [esi + 0x18]
inc eax
add ecx, 0x10
cmp eax, dword [edx]
jl 0x10036b50
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + ebp + 0xc]
push 0
push 0
push 0
push 0x15
push eax
mov dword [eax + 0x1e8], ecx
call fcn.1003d020
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov dword [eax + 0x1e8], edx
mov eax, dword [ebx + 0x1c]
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x10036c1f
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x18]
xor eax, eax
push eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x14]
push esi
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
call fcn.10039de0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esi + 0x28], ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 8], ebp
mov byte [esi + 4], 0x71
mov dword [esi + 0x24], 0
test eax, eax
jne 0x10036bf1
mov eax, dword [esp + 0x1c]
jmp 0x10036bff
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], 0
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x1e], 0
jne 0x10036ef5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10036ba1
mov edx, dword [edi + ebp + 8]
mov eax, dword [edi + ebp + 0x18]
mov ebx, dword [esp + 0x10]
push edx
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], eax
call fcn.1000eef0
mov eax, dword [edi + ebp + 0xc]
push eax
push ebx
call fcn.1000eef0
mov ecx, dword [edi + ebp + 0x10]
push ecx
push ebx
call fcn.1000eef0
mov eax, dword [edi + ebp + 0x14]
xor edx, edx
mov dword [edi + ebp + 8], edx
mov dword [edi + ebp + 0xc], edx
mov dword [edi + ebp + 0x10], edx
mov dword [edi + ebp + 0x18], edx
lea edi, [edi + ebp + 0x14]
add esp, 0x18
cmp eax, edx
je 0x10036c97
movzx ecx, word [eax + 0x20]
cmp cx, 1
jne 0x10036c90
mov ecx, dword [esp + 0x38]
mov ebx, dword [ecx + 0x204]
mov dword [eax + 0x4c], ebx
mov dword [ecx + 0x204], eax
jmp 0x10036c95
dec ecx
mov word [eax + 0x20], cx
mov dword [edi], edx
mov ebp, esi
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
mov edi, dword [edx + 8]
mov ebx, dword [esp + 0x10]
movsx esi, word [edi]
mov byte [esp + 0x38], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x10036cca
mov ecx, dword [esp + 0x28]
mov dl, byte [ecx]
mov byte [esp + 0x38], dl
jmp 0x10036cec
push 0
push 0
push 0
push ebx
call fcn.1001e7d0
add esp, 0x10
mov dword [ebp + 8], eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x10036ee3
mov ebx, dword [esp + 0x10]
cmp esi, 1
jle 0x10036d16
mov ecx, dword [esp + 0x3c]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
push eax
push ebx
call fcn.1001cb40
add esp, 0x10
mov dword [ebp + 8], eax
cmp byte [ebx + 0x1e], 0
mov dword [esp + 0x18], eax
jne 0x10036ee3
test esi, esi
jle 0x10036d5a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx + 8]
lea ebx, [edi + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x1c]
push 0x38
push 0
mov ecx, 0xe
mov esi, ebx
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.100aa530
add dword [esp + 0x28], 0x38
add esp, 0xc
add ebx, 0x38
sub dword [esp + 0x20], 1
jne 0x10036d31
mov dl, byte [esp + 0x38]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov byte [eax + ecx + 0x1d], dl
mov esi, dword [ebp]
xor ebx, ebx
cmp dword [esi], ebx
mov dword [esp + 0x38], ebx
jle 0x10036dbc
jmp 0x10036d80
mov eax, dword [esi + 0xc]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x10036dac
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10036dac
mov edx, dword [eax + 0x10]
shr edx, 2
push edx
push ecx
push edi
call fcn.1000f5d0
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov dword [ecx + ebx + 4], eax
mov eax, dword [esp + 0x38]
inc eax
add ebx, 0x10
cmp eax, dword [esi]
mov dword [esp + 0x38], eax
jl 0x10036d80
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebp]
push edx
push ebx
push eax
push edi
call fcn.10036980
add esp, 0x10
cmp dword [esp + 0x40], 0
je 0x10036dfb
mov ecx, dword [esi]
mov edx, dword [ebp + 0x10]
push ecx
push ebx
push edx
push edi
call fcn.10036980
mov eax, dword [esi]
mov ecx, dword [ebp + 0x14]
push eax
push ebx
push ecx
push edi
call fcn.10036830
add esp, 0x20
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10036e0e
mov dword [ebp + 0x18], eax
mov dword [esi + 0x18], 0
jmp 0x10036e23
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x10036e23
mov edx, dword [esi]
push edx
push ebx
push eax
push edi
call fcn.10036980
add esp, 0x10
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10036e3c
push 0
push eax
push edi
call fcn.10039c70
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x10036e44
mov dword [esp + 0x38], 0
cmp dword [esp + 0x44], 0
je 0x10036e91
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], ecx
mov edx, dword [esi]
push edx
push ebx
push eax
push edi
call fcn.10036830
mov ecx, dword [esi + 0x14]
push 0
push ecx
push edi
call fcn.10039c70
mov edx, dword [ebp + 0x14]
push eax
push edx
push edi
call fcn.1003a1a0
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x10]
push 0
push eax
push edi
call fcn.10038510
add esp, 0x34
mov dword [ebp + 0x10], eax
jmp 0x10036eb4
mov ecx, dword [esi]
mov edx, dword [ebp + 0xc]
push ecx
push ebx
push edx
push edi
call fcn.10036830
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edi
call fcn.1003a1a0
add esp, 0x1c
mov dword [ebp + 0xc], eax
mov dx, word [esi + 6]
and dx, 1
or word [ebp + 6], dx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10036ed1
mov dword [ebp + 0x28], eax
mov dword [esi + 0x28], 0
mov ebp, dword [ebp + 0x1c]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
test ebp, ebp
jne 0x10036ca0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.100333f0
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret