Function at 0x419290
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0
je 0x4192aa
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [ebp - 4], 0
je 0x4192b6
cmp dword [ebp + 0x14], 0
jne 0x4192cd
cmp dword [ebp + 8], 0
je 0x4192c6
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
xor eax, eax
jmp 0x41976f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov cx, word [ecx + 4]
mov word [eax + 0x10], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov cx, word [ecx + 6]
mov word [eax + 0x12], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov cx, word [ecx + 8]
mov word [eax + 0x14], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov cx, word [ecx + 0xa]
mov word [eax + 0x16], cx
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xe]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xc]
push eax
call fcn.00417030
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov cx, word [ecx + 0x24]
mov word [eax + 0x38], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x26]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a]
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1ff
jae 0x4193bb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
jmp 0x4193c2
mov dword [ebp - 0x20], 0x1ff
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
push dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x2e
push eax
mov eax, dword [ebp + 0x14]
add eax, 0x58
push eax
call fcn.0045f5b0
add esp, 0xc
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 8]
mov byte [eax + 0x58], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x20]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1ff
jae 0x419406
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
jmp 0x41940d
mov dword [ebp - 0x24], 0x1ff
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x48], ecx
push dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1c]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x2e]
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + 0x1e]
add eax, ecx
push eax
mov eax, dword [ebp + 0x14]
add eax, 0x258
push eax
call fcn.0045f5b0
add esp, 0xc
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 8]
mov byte [eax + 0x258], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004088e0
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x4c], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408990
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x50], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408a10
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x54], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
cmp eax, dword [ecx + 0x34]
jb 0x4194c9
ja 0x4194b8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x28]
cmp eax, dword [ecx + 0x30]
jbe 0x4194c9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
jmp 0x4194d8
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax + 0x44]
jb 0x41954e
ja 0x4194f6
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax + 0x40]
jbe 0x41954e
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
cmp eax, dword [ecx + 0x34]
jb 0x419531
ja 0x419520
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 0x28]
cmp eax, dword [ecx + 0x30]
jbe 0x419531
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
jmp 0x419540
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
jmp 0x41955d
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x60], 0xffffffff
jne 0x41976c
cmp dword [ebp - 0x5c], 0
jne 0x41976c
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1e]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41976c
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x1c]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x2e]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 4
jae 0x4195b3
cmp dword [ebp + 8], 0
je 0x4195ac
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 9
xor eax, eax
jmp 0x41976f
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 4
cmp eax, dword [ebp - 0x14]
jbe 0x4195e8
cmp dword [ebp + 8], 0
je 0x4195e1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 9
xor eax, eax
jmp 0x41976f
cmp dword [ebp - 0x48], 1
jne 0x41974d
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x18], 0
je 0x419610
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x30], 0xffffffff
jne 0x41967a
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x34], 0
jne 0x41967a
cmp dword [ebp - 0x10], 8
jae 0x419645
cmp dword [ebp + 8], 0
je 0x41963e
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 9
xor eax, eax
jmp 0x41976f
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
xor edi, edi
mov eax, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [eax + 4]
mov cl, 0x20
call fcn.004456d0
or esi, eax
or edi, edx
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], edi
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
sub eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x28], 0xffffffff
jne 0x4196e4
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x2c], 0
jne 0x4196e4
cmp dword [ebp - 0x10], 8
jae 0x4196af
cmp dword [ebp + 8], 0
je 0x4196a8
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 9
xor eax, eax
jmp 0x41976f
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
xor edi, edi
mov eax, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [eax + 4]
mov cl, 0x20
call fcn.004456d0
or esi, eax
or edi, edx
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], edi
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
sub eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x40], 0xffffffff
jne 0x41974b
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x44], 0
jne 0x41974b
cmp dword [ebp - 0x10], 8
jae 0x419716
cmp dword [ebp + 8], 0
je 0x419712
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 9
xor eax, eax
jmp 0x41976f
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
xor edi, edi
mov eax, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [eax + 4]
mov cl, 0x20
call fcn.004456d0
or esi, eax
or edi, edx
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], edi
mov eax, dword [ebp - 0xc]
add eax, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
sub eax, 8
mov dword [ebp - 0x10], eax
jmp 0x41976c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
sub eax, 4
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x419596
xor eax, eax
inc eax
pop edi
pop esi
leave
ret