Function at 0x10034f80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], edx
mov edi, dword [ebx + 0xa0]
mov dword [esp + 0x1c], edi
mov eax, dword [edi + 0x30]
mov dword [esp + 0x34], eax
test eax, eax
je 0x100351c4
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov edi, dword [edi + 0x2c]
xor eax, eax
add edi, ecx
test edx, edx
push 0
sete al
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
push dword [edi + 0x16]
push dword [edi + 0x12]
mov eax, dword [eax + 0x30]
dec eax
cmp edx, eax
sete cl
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 6]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0
mov eax, dword [edi + 2]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov eax, dword [edi + 0xa]
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x1003504e
push dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x14]
push dword [ebp + 0x10]
push dword [esi + 0x30]
push ebx
call fcn.1005d160
jmp 0x10035112
cmp eax, 8
jne 0x10035070
push 0
push dword [esp + 0x10]
mov ecx, esi
push dword [esp + 0x18]
push dword [ebp + 0x10]
push dword [esi + 0x30]
push ebx
call fcn.1005dba0
jmp 0x10035112
cmp eax, 0xc
jne 0x10035090
push dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x14]
push dword [ebp + 0x10]
push dword [esi + 0x30]
push ebx
call fcn.1005cb10
jmp 0x10035112
cmp eax, 0x12e
jne 0x100350f5
cmp dword [esi + 0x8d4], 0
je 0x100350b8
push dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x14]
push dword [ebp + 0x10]
push dword [esi + 0x30]
push ebx
call fcn.10035490
jmp 0x10035112
mov edx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000019
test edx, edx
je 0x100350de
mov ecx, dword [edx]
lea eax, [esi + 0x74c]
push eax
push 0
push ebx
push 0xa0000019
push edx
call dword [ecx + 0x14]
cmp dword [esi + 0x73c], 0
je 0x100350f1
mov dword [esi + 0x740], 1
xor eax, eax
jmp 0x10035112
cmp eax, 0xe
jne 0x10035168
push dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x14]
push 1
push dword [ebp + 0x10]
push dword [esi + 0x30]
push ebx
call fcn.1005d4d0
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x28], ecx
test eax, eax
je 0x100351c6
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
mov edi, dword [esp + 0x1c]
add ecx, 0x1a
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
cmp edx, dword [esp + 0x34]
jb 0x10034fb6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esi + 4]
mov dword [esi + 0x744], 0xa0000019
test edx, edx
je 0x10035192
mov ecx, dword [edx]
lea eax, [esi + 0x74c]
push eax
push 0
push ebx
push 0xa0000019
push edx
call dword [ecx + 0x14]
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0x73c], 0
je 0x100351a5
mov dword [esi + 0x740], 1
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x28], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc