Function at 0x41b108
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4c1004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
push esi
xor esi, esi
mov dword [ebp - 0x6c], eax
push edi
mov edi, ecx
mov dword [eax], esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x38], esi
mov dword [ecx], esi
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
test eax, eax
je 0x41b16d
cmp dword [eax + 8], 1
jne 0x41b16d
mov eax, ebx
mov ecx, edi
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
call fcn.0046c38b
pop ecx
pop ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x30], esi
lea eax, [ecx + 0x34]
mov dword [ebp - 0x34], eax
cmp dword [ecx + 0x24], esi
jle 0x41b21e
mov ecx, esi
mov edx, dword [eax + 4]
mov dword [ebp - 0x54], edx
test edx, edx
je 0x41b208
mov eax, dword [eax]
mov ecx, edi
mov dword [ebp - 0x58], eax
call fcn.00415da1
test byte [ebp + 0x10], 0x10
mov ecx, eax
mov dword [ebp - 0x40], ecx
je 0x41b1b1
test dword [ebp - 0x58], 0x10000000
je 0x41b202
mov eax, dword [ebp + 0x10]
sar eax, cl
test al, 1
je 0x41b202
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x41b1ed
test byte [ebp + 0x10], 0x30
je 0x41b1ed
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + ecx*8]
mov eax, dword [eax + 0x14]
push dword [eax + 4]
push dword [eax]
call fcn.00414c90
pop ecx
pop ecx
test eax, eax
jne 0x41b257
push dword [ebp - 0x54]
lea edx, [ebp - 0x68]
mov ecx, edi
call fcn.00416634
pop ecx
test eax, eax
je 0x41b242
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x5c]
inc ecx
add eax, 8
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
cmp ecx, dword [edx + 0x24]
jl 0x41b187
mov al, byte [ebx + 5]
push 5
pop ecx
test al, 4
je 0x41b37b
test al, 8
je 0x41b269
test byte [ebp + 0x10], 1
mov ecx, dword [ebp - 0x38]
je 0x41b37e
add ecx, dword [ebx + 0x28]
jmp 0x41b299
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x40], esi
jne 0x41b252
inc dword [ebp - 0x4c]
jmp 0x41b208
inc dword [ebp - 0x50]
jmp 0x41b208
mov edx, dword [edx + 4]
mov ecx, edi
call fcn.0041a05a
or eax, 0xffffffff
jmp 0x41b5c0
movzx eax, word [ebx + 6]
cmp ax, cx
jne 0x41b2a1
test byte [ebp + 0x10], 1
je 0x41b37b
mov eax, ebx
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
call fcn.0041b051
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
add ecx, eax
mov dword [ebp - 0x38], ecx
jmp 0x41b37e
imul ecx, eax, 0x18
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x44]
mov ecx, dword [ecx + eax + 0x14]
test ecx, ecx
je 0x41b37b
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x41b37b
mov eax, ebx
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
call ecx
add esp, 0x14
test eax, eax
jne 0x41b261
mov ecx, esi
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x44], ecx
jbe 0x41b37b
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + ecx*8 + 4]
mov edx, eax
mov ecx, edi
mov dword [ebp - 0x58], eax
call fcn.00415da1
mov edx, dword [ebp + 0x10]
mov ecx, eax
sar edx, cl
test dl, 1
je 0x41b36b
test byte [ebp + 0x10], 0x30
mov eax, esi
mov dword [ebp - 0x34], eax
je 0x41b35e
push dword [ebp - 0x58]
lea edx, [ebp - 0x2c]
mov ecx, edi
push ebx
call fcn.0041b5cf
pop ecx
pop ecx
test eax, eax
js 0x41b43f
je 0x41b350
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x2c]
shr eax, 2
mov ecx, edi
and eax, 1
mov dword [ebp - 0x34], eax
call fcn.0041c646
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [eax + edx*8], ecx
mov eax, ecx
test byte [ebp + 0x10], 0x10
je 0x41b368
test eax, eax
je 0x41b36b
inc dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, dword [ebp - 0x44]
jb 0x41b2f6
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x50]
xor edx, edx
add eax, dword [ebp - 0x3c]
inc edx
add eax, dword [ebp - 0x4c]
add eax, ecx
mov ecx, edi
cmp eax, edx
mov dword [ebp - 0x70], eax
cmovg edx, eax
shl edx, 3
call fcn.00414e36
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x41b43f
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x4c]
add edx, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
add eax, 0x34
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], esi
cmp dword [eax + 0x24], esi
jle 0x41b4a8
mov ebx, dword [ebp - 0x40]
mov edx, eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x41b48f
mov ecx, dword [ebx]
mov edx, eax
shr ecx, 0x1c
and ecx, 1
mov dword [ebp - 0x40], ecx
mov ecx, edi
call fcn.00415da1
test byte [ebp + 0x10], 0x10
mov ecx, eax
mov dword [ebp - 0x3c], ecx
je 0x41b415
cmp dword [ebp - 0x40], esi
je 0x41b489
mov eax, dword [ebp + 0x10]
sar eax, cl
test al, 1
je 0x41b489
push dword [ebp - 0x4c]
lea edx, [ebp - 0x68]
mov ecx, edi
call fcn.00416634
pop ecx
test eax, eax
je 0x41b452
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x3c], eax
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], esi
jmp 0x41b46d
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ecx, edi
call fcn.0041b0bf
pop ecx
jmp 0x41b261
cmp dword [ebp - 0x3c], esi
jne 0x41b463
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
inc eax
mov dword [ebp - 0x5c], eax
jmp 0x41b46d
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
inc eax
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x4c]
mov ecx, edi
call fcn.00415d8b
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ecx + edx*8], eax
jmp 0x41b48c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x54]
add ebx, 8
inc eax
mov dword [ebp - 0x54], eax
cmp eax, dword [edx + 0x24]
jl 0x41b3e3
mov ebx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x50]
mov al, byte [ebx + 5]
test al, 4
je 0x41b58d
test al, 8
je 0x41b4c6
test byte [ebp + 0x10], 1
je 0x41b58d
mov edx, dword [ebx + 0x28]
jmp 0x41b4f3
push 5
pop eax
cmp word [ebx + 6], ax
jne 0x41b51e
test byte [ebp + 0x10], 1
je 0x41b58d
mov eax, ebx
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
call fcn.0041b051
pop ecx
pop ecx
mov edx, eax
mov ebx, dword [ebp - 0x30]
test edx, edx
jle 0x41b590
mov eax, dword [ebp - 0x60]
lea ecx, [ebx + eax*8]
mov eax, esi
mov dword [ecx], 1
or eax, 0x80000000
lea ecx, [ecx + 8]
inc esi
mov dword [ecx - 4], eax
cmp esi, edx
jl 0x41b504
jmp 0x41b590
cmp dword [ebp - 0x44], esi
jbe 0x41b57e
mov eax, dword [ebp + 0x10]
lea ebx, [ecx + edx*8]
and eax, 0x10
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + esi*8 + 4]
mov edx, ecx
mov eax, dword [eax + esi*8]
mov dword [ebp - 0x40], ecx
mov ecx, edi
mov dword [ebp - 0x54], eax
call fcn.00415da1
cmp dword [ebp - 0x64], 0
mov ecx, eax
mov eax, dword [ebp - 0x54]
je 0x41b557
test eax, eax
je 0x41b56e
mov edx, dword [ebp + 0x10]
sar edx, cl
test dl, 1
je 0x41b56e
mov edx, dword [ebp - 0x40]
mov dword [ebx + 4], edx
mov dword [ebx], eax
add ebx, 8
jmp 0x41b578
mov edx, dword [ebp - 0x40]
mov ecx, edi
call fcn.004168b1
inc esi
cmp esi, dword [ebp - 0x44]
jb 0x41b52f
mov ecx, dword [edi + 0x14]
push dword [ebp - 0x48]
lea eax, [ecx + 0x10]
push eax
call dword [ecx + 4]
pop ecx
pop ecx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x41b5b1
cmp dword [ebp - 0x58], 0
jne 0x41b5b1
push edi
push 0x41b081
push 8
mov edx, eax
mov ecx, ebx
call fcn.00401820
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
mov dword [eax], ebx
mov eax, dword [ebp - 0x70]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046cdfd
leave
ret