Function at 0x41b814
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [section..data]
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 - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
test eax, eax
je 0x41b879
cmp dword [eax + 8], 1
jne 0x41b879
mov eax, ebx
mov ecx, edi
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
call fcn.00470dd6
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 0x41b92a
mov ecx, esi
mov edx, dword [eax + 4]
mov dword [ebp - 0x3c], edx
test edx, edx
je 0x41b914
mov eax, dword [eax]
mov ecx, edi
mov dword [ebp - 0x40], eax
call fcn.00416443
test byte [ebp + 0x10], 0x10
mov ecx, eax
mov dword [ebp - 0x48], ecx
je 0x41b8bd
test dword [ebp - 0x40], 0x10000000
je 0x41b90e
mov eax, dword [ebp + 0x10]
sar eax, cl
test al, 1
je 0x41b90e
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x41b8f9
test byte [ebp + 0x10], 0x30
je 0x41b8f9
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.00415347
pop ecx
pop ecx
test eax, eax
jne 0x41b963
push dword [ebp - 0x3c]
lea edx, [ebp - 0x68]
mov ecx, edi
call fcn.00416cd4
pop ecx
test eax, eax
je 0x41b94e
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 0x41b893
mov al, byte [ebx + 5]
push 5
pop ecx
test al, 4
je 0x41ba87
test al, 8
je 0x41b975
test byte [ebp + 0x10], 1
mov ecx, dword [ebp - 0x38]
je 0x41ba8a
add ecx, dword [ebx + 0x28]
jmp 0x41b9a5
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x48], esi
jne 0x41b95e
inc dword [ebp - 0x54]
jmp 0x41b914
inc dword [ebp - 0x58]
jmp 0x41b914
mov edx, dword [edx + 4]
mov ecx, edi
call fcn.0041a770
or eax, 0xffffffff
jmp 0x41bd22
movzx eax, word [ebx + 6]
cmp ax, cx
jne 0x41b9ad
test byte [ebp + 0x10], 1
je 0x41ba87
mov eax, ebx
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
call fcn.0041b75d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
add ecx, eax
mov dword [ebp - 0x38], ecx
jmp 0x41ba8a
imul ecx, eax, 0x1c
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x44]
mov ecx, dword [ecx + eax + 0x14]
test ecx, ecx
je 0x41ba87
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x41ba87
mov eax, ebx
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push edi
call ecx
add esp, 0x14
test eax, eax
jne 0x41b96d
mov ecx, esi
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x4c], ecx
jbe 0x41ba87
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + ecx*8 + 4]
mov edx, eax
mov ecx, edi
mov dword [ebp - 0x40], eax
call fcn.00416443
mov edx, dword [ebp + 0x10]
mov ecx, eax
sar edx, cl
test dl, 1
je 0x41ba77
test byte [ebp + 0x10], 0x30
mov eax, esi
mov dword [ebp - 0x34], eax
je 0x41ba6a
push dword [ebp - 0x40]
lea edx, [ebp - 0x2c]
mov ecx, edi
push ebx
call fcn.0041bd31
pop ecx
pop ecx
test eax, eax
js 0x41baf3
je 0x41ba5c
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.0041ce8e
mov eax, dword [ebp - 0x50]
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 0x41ba74
test eax, eax
je 0x41ba77
inc dword [ebp - 0x44]
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, dword [ebp - 0x4c]
jb 0x41ba02
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
xor edx, edx
add eax, dword [ebp - 0x44]
inc edx
add eax, dword [ebp - 0x54]
add eax, ecx
mov ecx, edi
cmp eax, edx
mov dword [ebp - 0x70], eax
cmovg edx, eax
shl edx, 3
call fcn.004154f3
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
jne 0x41bb20
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x41b96d
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41bae1
lea eax, [esi + 4]
mov esi, eax
mov edx, dword [esi]
mov ecx, edi
call fcn.00416f72
lea esi, [esi + 8]
sub ebx, 1
jne 0x41bacd
mov esi, dword [ebp - 0x3c]
mov ecx, dword [edi + 0x14]
push esi
lea eax, [ecx + 0x10]
push eax
call dword [ecx + 4]
pop ecx
pop ecx
jmp 0x41b96d
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x41b96d
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41bae1
lea eax, [esi + 4]
mov esi, eax
mov edx, dword [esi]
mov ecx, edi
call fcn.00416f72
lea esi, [esi + 8]
sub ebx, 1
jne 0x41bb0d
jmp 0x41bade
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x54]
add edx, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
add eax, 0x34
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], esi
cmp dword [eax + 0x24], esi
jle 0x41bc0a
mov ebx, dword [ebp - 0x48]
mov edx, eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x41bbf1
mov ecx, dword [ebx]
mov edx, eax
shr ecx, 0x1c
and ecx, 1
mov dword [ebp - 0x48], ecx
mov ecx, edi
call fcn.00416443
test byte [ebp + 0x10], 0x10
mov ecx, eax
mov dword [ebp - 0x44], ecx
je 0x41bb8a
cmp dword [ebp - 0x48], esi
je 0x41bbeb
mov eax, dword [ebp + 0x10]
sar eax, cl
test al, 1
je 0x41bbeb
push dword [ebp - 0x54]
lea edx, [ebp - 0x68]
mov ecx, edi
call fcn.00416cd4
pop ecx
test eax, eax
je 0x41bbb4
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x40], esi
jmp 0x41bbcf
cmp dword [ebp - 0x44], esi
jne 0x41bbc5
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
inc eax
mov dword [ebp - 0x5c], eax
jmp 0x41bbcf
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
inc eax
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x54]
mov ecx, edi
call fcn.0041642d
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x44]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + edx*8], eax
jmp 0x41bbee
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
add ebx, 8
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, dword [edx + 0x24]
jl 0x41bb58
mov ebx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x58]
mov al, byte [ebx + 5]
test al, 4
je 0x41bcef
test al, 8
je 0x41bc28
test byte [ebp + 0x10], 1
je 0x41bcef
mov edx, dword [ebx + 0x28]
jmp 0x41bc55
push 5
pop eax
cmp word [ebx + 6], ax
jne 0x41bc80
test byte [ebp + 0x10], 1
je 0x41bcef
mov eax, ebx
cdq
and edx, 0xffff
or edx, 0x80000
push edx
push eax
call fcn.0041b75d
pop ecx
pop ecx
mov edx, eax
mov ebx, dword [ebp - 0x30]
test edx, edx
jle 0x41bcf2
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 0x41bc66
jmp 0x41bcf2
cmp dword [ebp - 0x4c], esi
jbe 0x41bce0
mov eax, dword [ebp + 0x10]
lea ebx, [ecx + edx*8]
and eax, 0x10
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + esi*8 + 4]
mov edx, ecx
mov eax, dword [eax + esi*8]
mov dword [ebp - 0x48], ecx
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.00416443
cmp dword [ebp - 0x64], 0
mov ecx, eax
mov eax, dword [ebp - 0x3c]
je 0x41bcb9
test eax, eax
je 0x41bcd0
mov edx, dword [ebp + 0x10]
sar edx, cl
test dl, 1
je 0x41bcd0
mov edx, dword [ebp - 0x48]
mov dword [ebx + 4], edx
mov dword [ebx], eax
add ebx, 8
jmp 0x41bcda
mov edx, dword [ebp - 0x48]
mov ecx, edi
call fcn.00416f72
inc esi
cmp esi, dword [ebp - 0x4c]
jb 0x41bc91
mov ecx, dword [edi + 0x14]
push dword [ebp - 0x50]
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 0x41bd13
cmp dword [ebp - 0x40], 0
jne 0x41bd13
push edi
push 0x41b78d
push 8
mov edx, eax
mov ecx, ebx
call fcn.004017f2
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.00471848
leave
ret