Function at 0x10003484
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, ecx
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [eax + 0x3c]
push esi
xor esi, esi
add ebx, eax
mov dword [ebp - 0x18], eax
mov dword [ecx], esi
mov ecx, dword [ebp + 0x14]
mov eax, 0x14c
mov dword [ecx], esi
mov dword [ebp - 0x14], ebx
cmp word [ebx + 4], ax
jne 0x10003795
movzx eax, word [ebx + 0x14]
push edi
mov dword [ebp - 0x10], esi
mov ecx, esi
movzx esi, word [ebx + 6]
lea edi, [ebx + 0x18]
add edi, eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], esi
test esi, esi
je 0x100034eb
mov edx, dword [ebx + 0x88]
mov eax, edi
cmp dword [eax + 0xc], edx
je 0x100034e8
inc ecx
add eax, 0x28
cmp ecx, esi
jb 0x100034d9
jmp 0x100034eb
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test esi, esi
je 0x10003523
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 0xc]
mov edx, 0x1000
mov ecx, esi
cmp edi, ebx
je 0x1000350a
mov ecx, dword [edi + 8]
call fcn.1000379b
add dword [ebp - 4], eax
add edi, 0x28
dec dword [ebp - 0x28]
jne 0x100034fc
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0xc]
and dword [ebp - 8], 0
test esi, esi
je 0x10003560
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], edi
mov edx, 0x200
cmp edi, ebx
je 0x10003545
mov ecx, dword [edi + 0x10]
jmp 0x10003547
mov ecx, esi
call fcn.1000379b
add dword [ebp - 8], eax
add edi, 0x28
dec dword [ebp - 0x28]
jne 0x10003537
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0xc]
imul esi, esi, 0x28
sub esi, dword [ebp - 0x18]
mov edx, 0x200
add esi, edi
mov ecx, esi
call fcn.1000379b
mov edx, 0x1000
mov ecx, esi
mov edi, eax
call fcn.1000379b
add eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
add eax, edi
mov ecx, eax
mov dword [ebp - 0x28], eax
call 0x100053b0
mov edx, dword [ebp - 0x18]
mov esi, eax
push edi
mov ecx, esi
mov dword [ebp - 4], esi
call 0x10005240
mov edi, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x2c], 0
add edi, esi
xor edx, edx
mov dword [edi + 0x8c], eax
movzx eax, word [edi + 0x14]
movzx esi, word [ebx + 6]
lea ecx, [edi + 0x18]
add ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], edi
mov dword [ebp - 8], ecx
test esi, esi
je 0x100035f5
mov ecx, eax
mov edi, dword [ebx + 0xa0]
cmp dword [ecx + 0xc], edi
mov edi, dword [ebp - 0x34]
je 0x100035ef
inc edx
add ecx, 0x28
cmp edx, esi
jb 0x100035d7
jmp 0x100035f2
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 8]
xor ebx, ebx
mov edx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
test esi, esi
je 0x10003736
lea edx, [ecx + 0x24]
lea esi, [eax + 0x14]
sub ecx, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 8], ecx
lea eax, [esi - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x1000366f
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push dword [esi - 4]
lea edx, [eax + edx]
add ecx, eax
call 0x10005240
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
add dword [esi + ecx], eax
add edx, dword [esi + ecx - 8]
mov ebx, dword [ebp - 0x14]
lea eax, [esi - 0x14]
mov dword [esi + ecx - 8], edx
cmp eax, dword [ebp - 0x2c]
jne 0x100036f2
mov dword [edi + 0xa0], edx
jmp 0x100036f2
mov edi, dword [esi - 8]
mov ecx, dword [esi - 0xc]
add ecx, edi
mov edx, 0x1000
call fcn.1000379b
mov ecx, dword [ebp + 0xc]
mov edx, 0x1000
lea ecx, [edi + ecx]
mov esi, eax
call fcn.1000379b
mov ecx, dword [ebp - 0x24]
sub eax, esi
mov edi, dword [ecx]
mov ecx, dword [ecx - 4]
add ecx, edi
mov edx, 0x200
mov dword [ebp - 0x30], eax
call fcn.1000379b
mov ecx, dword [ebp + 0xc]
mov edx, 0x200
lea ecx, [edi + ecx]
mov esi, eax
call fcn.1000379b
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub eax, esi
lea ecx, [edi + ecx]
mov dword [ebp - 0x1c], eax
call 0x10005240
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0xc]
mov edx, 0x200
mov ecx, eax
mov dword [esi - 0x1c], eax
call fcn.1000379b
mov edi, dword [ebp - 0x34]
mov dword [esi - 0x14], eax
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
test byte [eax], 0x60
je 0x10003714
mov ecx, dword [esi - 4]
mov edx, 0x200
call fcn.1000379b
mov edx, dword [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
jmp 0x10003717
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
add eax, 0x28
mov dword [ebp - 0xc], eax
movzx eax, word [ebx + 6]
inc ecx
add esi, 0x28
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], esi
cmp ecx, eax
jb 0x10003621
mov eax, dword [ebp - 0x3c]
and dword [edi + 0x58], 0
push 0xb75474
mov dword [edi + 0x50], eax
mov dword [edi + 0x20], edx
call dword [0xb75050]
mov esi, eax
test esi, esi
je 0x10003784
push 0xb75484
push esi
call dword [0xb750d8]
mov ebx, dword [ebp - 0x28]
test eax, eax
je 0x1000377b
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
push ebx
push dword [ebp - 4]
call eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x58], eax
push esi
call dword [0xb7506c]
jmp 0x10003787
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
pop edi
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop esi
pop ebx
leave
ret 0x10