Function at 0x4b15cb
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
lea ebp, [esp - 0x700]
sub esp, 0x780
mov eax, dword [0x604cd2a8]
and dword [ebp - 0x38], 0
push ebx
mov dword [ebp + 0x6fc], eax
mov eax, dword [ebp + 0x710]
cmp dword [eax], 0xff
push esi
push edi
mov edi, 0x80004005
jbe 0x4b1608
mov edi, 0x9f20406d
jmp 0x4b1f21
mov ebx, dword [ebp + 0x70c]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x10]
add ecx, 0x1f
and eax, 0xffffffe0
and ecx, 0xffffffe0
sub ecx, eax
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
shr ecx, 3
mov edx, 0x7fff
cmp ecx, edx
mov dword [ebp + 0x70c], ecx
ja 0x4b1f1c
cmp eax, edx
ja 0x4b1f1c
imul eax, ecx
add eax, 0x40
mov esi, eax
cmp esi, 0x3ec
ja 0x4b165d
lea eax, [ebp - 4]
mov dword [ebp - 8], eax
mov edi, eax
jmp 0x4b1673
push esi
push 0x40
call dword [0x604514b4]
test eax, eax
mov dword [ebp - 8], eax
je 0x4b1f21
mov edi, eax
and dword [ebp - 0x20], 0
mov ecx, esi
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 8]
add eax, esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x24]
cmp eax, dword [ebx + 0x2c]
jge 0x4b179d
mov edi, dword [ebp + 0x708]
mov eax, dword [edi]
mov esi, dword [0x60451194]
push 0
push 1
push 1
push dword [eax + 0x18]
call esi
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edi]
push dword [eax + 0x18]
call esi
mov eax, dword [ebp + 0x708]
push ecx
mov edi, esp
push dword [eax]
lea esi, [ebx + 0xc]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.004a8d11
cmp dword [ebx + 0x40], 0
mov eax, dword [ebx + 0x24]
jne 0x4b1776
mov ecx, dword [ebx + 0x14]
cmp ecx, eax
jle 0x4b1705
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x20], 1
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x20]
cmp edx, esi
jle 0x4b172b
mov eax, dword [ebp - 0x20]
shl eax, 4
inc dword [ebp - 0x20]
mov dword [ebp + eax - 0x78], edx
mov edx, dword [ebx + 0x1c]
mov dword [ebp + eax - 0x80], esi
mov dword [ebp + eax - 0x7c], ecx
mov dword [ebp + eax - 0x74], edx
mov edi, dword [ebx + 0x18]
mov edx, dword [ebx + 0x28]
cmp edi, edx
jge 0x4b1751
mov eax, dword [ebp - 0x20]
shl eax, 4
inc dword [ebp - 0x20]
mov dword [ebp + eax - 0x7c], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [ebp + eax - 0x80], edi
mov dword [ebp + eax - 0x78], edx
mov dword [ebp + eax - 0x74], ecx
mov ecx, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x2c]
cmp ecx, edi
jge 0x4b179d
mov eax, dword [ebp - 0x20]
shl eax, 4
inc dword [ebp - 0x20]
mov dword [ebp + eax - 0x80], esi
mov dword [ebp + eax - 0x7c], ecx
mov dword [ebp + eax - 0x78], edx
mov dword [ebp + eax - 0x74], edi
jmp 0x4b179d
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x20]
push 0xf00021
sub edx, eax
push edx
mov edx, dword [ebx + 0x28]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 0x708]
mov eax, dword [eax]
push ecx
push dword [eax + 0x18]
call dword [0x60451078]
mov al, byte [ebx + 6]
test al, 2
je 0x4b17d0
test al, 8
jne 0x4b17d0
mov cl, al
and cl, 0x51
sub cl, 0x51
neg cl
sbb ecx, ecx
inc ecx
and al, 0x11
shl ecx, 1
xor edx, edx
cmp al, 0x11
setne dl
xor eax, eax
or ecx, edx
shl ecx, 1
cmp byte [ebx + 7], al
setne al
or eax, ecx
jmp 0x4b17d2
xor eax, eax
mov eax, dword [eax*4 + 0x60454798]
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x710]
mov esi, dword [eax]
lea ecx, [eax + 4]
mov eax, dword [ebx + 0x10]
mov edx, eax
and edx, 0x1f
add esi, ecx
sub eax, edx
cmp ecx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], eax
jae 0x4b1ab1
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0xff
jne 0x4b1911
inc ecx
cmp ecx, esi
mov dword [ebp - 0x14], ecx
ja 0x4b1ad3
mov eax, esi
sub eax, ecx
cmp eax, 2
jb 0x4b1ad3
movzx eax, byte [ecx]
inc ecx
cmp eax, 0x100
sbb edi, edi
and edi, 0x60fb7913
add edi, 0x9f0486ed
mov dword [ebp + 0x710], eax
mov dword [ebp - 0x14], ecx
js 0x4b1f21
movzx edi, byte [ecx]
inc ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x708]
mov edx, dword [ecx]
add edx, 0x3c0
cmp edi, dword [edx + 4]
ja 0x4b1abf
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
mov dword [eax], edi
movzx ecx, byte [ebx + 2]
mov dword [eax + 4], ecx
mov eax, dword [edx + 4]
imul eax, dword [ebp + 0x710]
add eax, dword [edx + 8]
mov edx, dword [ebp - 0x14]
sub edx, edi
lea ecx, [edx - 3]
cmp ecx, esi
ja 0x4b1ac9
mov ecx, edi
sub ecx, dword [ebp - 0x14]
lea ecx, [ecx + esi + 3]
cmp ecx, edi
jb 0x4b1ac9
lea ecx, [edx - 3]
cmp ecx, dword [ebp - 0x3c]
jb 0x4b1ac9
mov ecx, edi
lea esi, [edx - 3]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx + 7], 0
jne 0x4b1a9c
test byte [ebx + 6], 0x20
jne 0x4b1a9c
test byte [eax + 1], 0x80
je 0x4b1908
mov byte [eax + 2], 0
mov byte [eax + 3], 0
jmp 0x4b1a9c
mov byte [eax + 1], 0
jmp 0x4b1a9c
cmp al, 0xfe
jne 0x4b1a4e
inc ecx
cmp ecx, esi
mov dword [ebp - 0x14], ecx
jae 0x4b1add
movzx eax, byte [ecx]
inc ecx
cmp eax, 0x100
sbb edi, edi
and edi, 0x60fb7913
add edi, 0x9f0486ed
mov dword [ebp + 0x710], eax
mov dword [ebp - 0x14], ecx
js 0x4b1f21
cmp byte [ebx + 7], 0
jne 0x4b1998
mov dl, byte [ebx + 6]
test dl, 0x20
jne 0x4b1998
cmp ecx, esi
jae 0x4b1ae7
movsx ax, byte [ecx]
inc ecx
test al, al
mov dword [ebp - 0x14], ecx
jns 0x4b1988
cmp ecx, esi
ja 0x4b1af1
sub esi, ecx
cmp esi, 2
jb 0x4b1af1
mov ax, word [ecx]
inc ecx
inc ecx
mov dword [ebp - 0x14], ecx
test dl, 2
movsx eax, ax
je 0x4b1995
add dword [ebp - 0x28], eax
jmp 0x4b1998
add dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x708]
mov eax, dword [eax]
mov edx, dword [ebp + 0x710]
add eax, 0x3c0
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx edx, byte [ebx + 2]
cmp dword [ecx + 4], edx
jne 0x4b1afb
mov edx, dword [ecx]
cmp edx, 0x100
ja 0x4b1b05
mov esi, dword [eax + 4]
imul esi, dword [ebp + 0x710]
add esi, dword [eax + 8]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea edi, [ebp + 0x5fc]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + 0x5fc]
lea esi, [ebp + edx + 0x5fc]
cmp eax, esi
mov dword [ebp - 0x30], eax
jae 0x4b1a9c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x3fc]
push eax
push dword [ebp + 0x70c]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x10]
push ebx
push dword [ebp + 0x708]
call dword [ebp - 0xc]
inc dword [ebp - 0x10]
mov edi, eax
test edi, edi
jl 0x4b1f21
cmp dword [ebp - 0x30], esi
jb 0x4b1a06
jmp 0x4b1a9c
cmp dword [ebp - 0x10], 0xff
lea eax, [ebp - 0x34]
push eax
jae 0x4b1a64
lea eax, [ebp + 0x3fc]
push eax
jmp 0x4b1a66
push 0
push dword [ebp + 0x70c]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
push dword [ebp + 0x708]
call dword [ebp - 0xc]
inc dword [ebp - 0x10]
mov edi, eax
test edi, edi
jl 0x4b1f21
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x14], esi
jb 0x4b181a
cmp dword [ebp - 0x10], 0xff
jae 0x4b1b0f
mov eax, dword [ebp - 0x10]
and word [ebp + eax*2 + 0x3fc], 0
jmp 0x4b1b17
mov edi, 0x9f204120
jmp 0x4b1f21
mov edi, 0x9f20412c
jmp 0x4b1f21
mov edi, 0x9f204113
jmp 0x4b1f21
mov edi, 0x9f204148
jmp 0x4b1f21
mov edi, 0x9f204152
jmp 0x4b1f21
mov edi, 0x9f204156
jmp 0x4b1f21
mov edi, 0x9f208169
jmp 0x4b1f21
mov edi, 0x9f204170
jmp 0x4b1f21
and word [ebp + 0x5fa], 0
mov edi, dword [ebp + 0x708]
mov eax, dword [edi]
cmp dword [eax + 0x3e4], 0
je 0x4b1e68
mov ecx, dword [eax + 0x18]
cmp ecx, dword [eax + 0x10]
jne 0x4b1e68
cmp dword [eax + 0x2f4], 0
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0xc], ecx
je 0x4b1b5b
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp + 0x710], ecx
jmp 0x4b1ba5
mov edx, dword [eax + 0x2f8]
cmp ecx, edx
jg 0x4b1b68
mov dword [ebp - 0xc], edx
mov ecx, dword [eax + 0x300]
mov edx, dword [ebx + 0x18]
inc ecx
cmp edx, ecx
mov dword [ebp - 0x18], edx
jl 0x4b1b7c
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0x14]
mov edx, dword [eax + 0x2fc]
cmp ecx, edx
mov dword [ebp + 0x710], ecx
jg 0x4b1b95
mov dword [ebp + 0x710], edx
mov ecx, dword [eax + 0x304]
mov esi, dword [ebx + 0x1c]
inc ecx
cmp esi, ecx
jl 0x4b1ba5
mov esi, ecx
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], esi
jge 0x4b1e7b
cmp dword [ebp + 0x710], esi
jge 0x4b1e7b
cmp dword [ebp - 0xc], 0
jl 0x4b1e7b
cmp ecx, dword [eax + 0x3dc]
jg 0x4b1e7b
cmp dword [ebp + 0x710], 0
jl 0x4b1e7b
cmp esi, dword [eax + 0x3e0]
jg 0x4b1e7b
call dword [0x60451130]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x710]
mov ecx, dword [ebx + 0x24]
sub edx, dword [ebx + 0x10]
sub eax, dword [ebx + 0x14]
cmp ecx, dword [ebx + 0x2c]
mov ecx, dword [edi]
mov edi, dword [ecx + 0x268]
jge 0x4b1d47
cmp edi, 0x18
jne 0x4b1c84
push ecx
imul eax, dword [ebp + 0x70c]
mov edi, esp
push ecx
lea esi, [ebx + 0xc]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, esp
lea esi, [ebx + 8]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x1c]
sub esi, dword [ebp + 0x710]
mov edi, dword [ecx + 0x264]
push esi
mov esi, dword [ecx + 0x3dc]
add eax, dword [ebp - 8]
imul edi, esi
imul edi, dword [ebp + 0x710]
add edi, dword [ecx + 0x3e4]
mov ecx, dword [ebp - 0x24]
push esi
push dword [ebp - 0x18]
add edx, ecx
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0x708]
push edi
push dword [ebp + 0x70c]
push edx
push eax
call fcn.004c3c6f
jmp 0x4b1da5
cmp edi, 0x10
je 0x4b1ce9
cmp edi, 0xf
je 0x4b1ce9
mov edi, dword [ecx + 0x3dc]
imul eax, dword [ebp + 0x70c]
sub esi, dword [ebp + 0x710]
mov dword [ebp - 0x1c], edi
movzx edi, byte [ebx + 0xc]
push edi
movzx edi, byte [ebx + 8]
push edi
add eax, dword [ebp - 8]
push esi
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp + 0x708]
push esi
imul esi, dword [ebp + 0x710]
push dword [ebp - 0x18]
add esi, dword [ecx + 0x3e4]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
push esi
push dword [ebp + 0x70c]
add edx, ecx
push edx
push eax
mov ecx, edi
call fcn.004c40bd
jmp 0x4b1e7b
movzx edi, word [ebx + 0xc]
imul eax, dword [ebp + 0x70c]
sub esi, dword [ebp + 0x710]
push edi
movzx edi, word [ebx + 8]
push edi
mov edi, dword [ecx + 0x264]
push esi
mov esi, dword [ecx + 0x3dc]
add eax, dword [ebp - 8]
imul edi, esi
imul edi, dword [ebp + 0x710]
add edi, dword [ecx + 0x3e4]
mov ecx, dword [ebp - 0x24]
push esi
push dword [ebp - 0x18]
add edx, ecx
push dword [ebp - 0xc]
push edi
push dword [ebp + 0x70c]
mov edi, dword [ebp + 0x708]
push edx
push eax
mov ecx, edi
call fcn.004c3ebb
jmp 0x4b1e7b
cmp edi, 0x18
jne 0x4b1db0
push ecx
imul eax, dword [ebp + 0x70c]
mov edi, esp
lea esi, [ebx + 8]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x1c]
sub esi, dword [ebp + 0x710]
mov edi, dword [ecx + 0x264]
push esi
mov esi, dword [ecx + 0x3dc]
add eax, dword [ebp - 8]
imul edi, esi
imul edi, dword [ebp + 0x710]
add edi, dword [ecx + 0x3e4]
mov ecx, dword [ebp - 0x24]
push esi
push dword [ebp - 0x18]
add edx, ecx
push dword [ebp - 0xc]
mov ecx, dword [ebp + 0x708]
push edi
push dword [ebp + 0x70c]
push edx
push eax
call fcn.004c4617
mov edi, dword [ebp + 0x708]
jmp 0x4b1e7b
cmp edi, 0x10
je 0x4b1e12
cmp edi, 0xf
je 0x4b1e12
mov edi, dword [ecx + 0x3dc]
imul eax, dword [ebp + 0x70c]
sub esi, dword [ebp + 0x710]
mov dword [ebp - 0x1c], edi
movzx edi, byte [ebx + 0xc]
push edi
movzx edi, byte [ebx + 8]
push edi
add eax, dword [ebp - 8]
push esi
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp + 0x708]
push esi
imul esi, dword [ebp + 0x710]
push dword [ebp - 0x18]
add esi, dword [ecx + 0x3e4]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
push esi
push dword [ebp + 0x70c]
add edx, ecx
push edx
push eax
mov ecx, edi
call fcn.004c498d
jmp 0x4b1e7b
movzx edi, word [ebx + 8]
imul eax, dword [ebp + 0x70c]
sub esi, dword [ebp + 0x710]
push edi
mov edi, dword [ecx + 0x264]
push esi
mov esi, dword [ecx + 0x3dc]
add eax, dword [ebp - 8]
imul edi, esi
imul edi, dword [ebp + 0x710]
add edi, dword [ecx + 0x3e4]
mov ecx, dword [ebp - 0x24]
push esi
push dword [ebp - 0x18]
add edx, ecx
push dword [ebp - 0xc]
push edi
push dword [ebp + 0x70c]
mov edi, dword [ebp + 0x708]
push edx
push eax
mov ecx, edi
call fcn.004c47eb
jmp 0x4b1e7b
push dword [ebp + 0x70c]
push dword [ebp - 0x24]
push dword [ebp - 8]
push ebx
push edi
call fcn.004c4bd7
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
push dword [ebp - 8]
mov ecx, dword [edi + 4]
push eax
mov eax, dword [ebp + 0x70c]
shl eax, 3
push eax
call fcn.004b15a9
cmp dword [ebp - 0x20], 0
jbe 0x4b1ed7
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x7c]
mov dword [ebp + 0x708], eax
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi - 4]
push 0xf00021
sub edx, eax
push edx
mov edx, dword [esi + 4]
sub edx, ecx
push edx
push eax
mov eax, dword [edi]
push ecx
push dword [eax + 0x18]
call dword [0x60451078]
add esi, 0x10
dec dword [ebp + 0x708]
jne 0x4b1ea9
lea eax, [ebp - 4]
cmp dword [ebp - 8], eax
je 0x4b1ee8
push dword [ebp - 8]
call dword [0x604514ac]
push dword [ebx + 0x1c]
mov eax, dword [edi]
push dword [ebx + 0x14]
mov ecx, dword [eax + 0x18]
push dword [ebx + 0x18]
cmp ecx, dword [eax + 0x9fc]
push dword [ebx + 0x10]
lea eax, [ebp + 0x3fc]
jne 0x4b1f0a
push ecx
jmp 0x4b1f0c
push 0
push dword [ebp - 0x10]
mov ecx, dword [edi + 4]
push eax
call fcn.004b1553
xor edi, edi
jmp 0x4b1f21
mov edi, 0x9f21c094
mov ecx, dword [ebp + 0x6fc]
mov eax, edi
call fcn.00496795
pop edi
pop esi
pop ebx
add ebp, 0x700
leave
ret 0xc