Function at 0x49ea80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.004bdb70
mov eax, dword [0x52600c]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x1058], eax
xor edi, edi
mov eax, dword [edx]
mov dword [ebp - 0x1038], ecx
mov dword [ebp - 0x1054], ebx
cmp eax, 0x20424b41
jne 0x49eac8
mov edi, dword [ecx + 4]
add edi, 0x20
jmp 0x49ead5
cmp eax, 0x2b424b41
jne 0x49ead5
mov edi, dword [ecx + 4]
add edi, 0x40
cmp eax, 0x20424b41
jne 0x49eae4
mov esi, dword [ecx + 8]
sub esi, 0x20
jmp 0x49eaf9
cmp eax, 0x2b424b41
jne 0x49eaf3
mov esi, dword [ecx + 8]
sub esi, 0x40
jmp 0x49eaf9
mov esi, dword [ebp - 0x1058]
mov ecx, dword [edx + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [edx + 0x10]
add eax, ecx
mov dword [ebp - 0x1050], eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x1030], esi
mov esi, dword [ebp - 0x1038]
mov dword [ebp - 0x1048], eax
mov dword [ebp - 0x1018], edi
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
sub eax, ecx
add eax, dword [ebp - 0x1050]
mov dword [ebp - 0x1044], eax
lea ecx, [eax - 1]
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x1048]
mov ecx, ebx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x103c], eax
mov eax, dword [esi + 0xc]
mov esi, dword [eax + 0x18]
sub esi, edx
test dword [eax + 8], 0x40000000
mov dword [ebp - 0x1034], esi
mov esi, dword [ebp - 0x1030]
mov dword [ebp - 0x1014], esi
je 0x49ebea
call dword [ebp - 0x103c]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 0x1c]
add esi, eax
mov ecx, ebx
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x102c], esi
lea esi, [eax*4]
mov eax, dword [ebx]
mov dword [ebp - 0x1028], esi
mov dword [ebp - 0x1024], esi
call dword [eax + 0x14]
add eax, esi
sub esp, 0x10
neg eax
mov dword [ebp - 0x1020], eax
mov eax, esp
movups xmm0, xmmword [ebp - 0x102c]
sub esp, 0xc
movups xmmword [eax], xmm0
mov eax, esp
movq xmm0, qword [ebp - 0x1018]
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.0049f0a0
add esp, 0x1c
jmp 0x49edb3
call dword [ebp - 0x103c]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 0x1c]
add esi, eax
mov ecx, ebx
mov eax, dword [ebp - 0x1034]
mov dword [ebp - 0x102c], esi
mov dword [ebp - 0x1034], eax
lea esi, [eax*4]
mov eax, dword [ebx]
mov dword [ebp - 0x1028], esi
mov dword [ebp - 0x1024], esi
call dword [eax + 0x14]
add eax, esi
neg eax
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x100c]
movups xmm0, xmmword [ebp - 0x102c]
push 0xfee
push 0
movups xmmword [ebp - 0x102c], xmm0
push eax
movq xmm0, qword [ebp - 0x1018]
movq qword [ebp - 0x1018], xmm0
call fcn.004bf140
xor eax, eax
add esp, 0xc
mov edi, 0xfee
cmp dword [ebp - 0x1030], eax
jbe 0x49edb3
mov ecx, dword [ebp - 0x1024]
xor edx, edx
mov esi, dword [ebp - 0x102c]
mov dword [ebp - 0x1030], ecx
nop dword [eax]
mov ebx, dword [ebp - 0x1018]
shr eax, 1
mov dword [ebp - 0x1040], eax
test eax, 0x100
jne 0x49ecb7
mov al, byte [ebx + edx]
inc edx
movzx eax, al
or eax, 0xff00
mov dword [ebp - 0x1040], eax
mov bl, byte [ebx + edx]
test al, 1
je 0x49ecf5
mov byte [esi], bl
inc edx
inc esi
sub ecx, 1
mov dword [ebp - 0x1030], ecx
jne 0x49ecdf
mov eax, dword [ebp - 0x1028]
add esi, dword [ebp - 0x1020]
mov dword [ebp - 0x1030], eax
movzx eax, di
inc edi
and edi, 0xfff
mov byte [ebp + eax - 0x100c], bl
jmp 0x49ed89
mov eax, dword [ebp - 0x1018]
mov al, byte [eax + edx + 1]
add edx, 2
mov dword [ebp - 0x104c], edx
movzx edx, al
mov ecx, edx
movzx eax, bl
and ecx, 0xf0
and edx, 0xf
shl ecx, 4
add edx, 3
or cx, ax
movzx eax, dx
xor edx, edx
movzx ecx, cx
cmp dx, ax
jae 0x49ed83
mov edx, ecx
mov dword [ebp - 0x103c], eax
mov ecx, dword [ebp - 0x1030]
nop dword [eax]
mov eax, edx
and eax, 0xfff
mov bl, byte [ebp + eax - 0x100c]
mov byte [esi], bl
inc esi
sub ecx, 1
jne 0x49ed62
mov ecx, dword [ebp - 0x1028]
add esi, dword [ebp - 0x1020]
movzx eax, di
inc edx
inc edi
and edi, 0xfff
sub dword [ebp - 0x103c], 1
mov byte [ebp + eax - 0x100c], bl
jne 0x49ed40
mov dword [ebp - 0x1030], ecx
mov edx, dword [ebp - 0x104c]
mov ecx, dword [ebp - 0x1030]
mov eax, dword [ebp - 0x1040]
cmp edx, dword [ebp - 0x1014]
jb 0x49ec90
mov eax, dword [ebp - 0x1034]
mov ebx, dword [ebp - 0x1054]
mov dword [ebp - 0x1034], eax
mov ecx, dword [ebp - 0x1050]
mov edi, dword [ebp - 0x1044]
mov eax, dword [ebx]
sub edi, ecx
push ecx
push dword [ebp - 0x1048]
mov ecx, ebx
mov dword [ebp - 0x1044], edi
call dword [eax + 0x10]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 0x1c]
mov edx, dword [ebx]
mov ecx, ebx
add esi, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x1034]
mov dword [ebp - 0x1030], eax
cmp edx, 1
jle 0x49ee30
lea ecx, [esi + 7]
dec edx
nop dword [eax]
movzx eax, byte [ecx - 4]
lea ecx, [ecx + 4]
add byte [ecx - 4], al
movzx eax, byte [ecx - 9]
add byte [ecx - 5], al
movzx eax, byte [ecx - 0xa]
add byte [ecx - 6], al
movzx eax, byte [ecx - 0xb]
add byte [ecx - 7], al
sub edx, 1
jne 0x49ee00
mov eax, dword [ebp - 0x1030]
mov edx, dword [ebp - 0x1034]
cmp edi, 1
jle 0x49eecf
mov ecx, dword [ebp - 0x1030]
lea edi, [eax - 1]
lea ebx, [esi + 1]
mov dword [ebp - 0x103c], edi
lea esi, [eax + 2]
mov eax, dword [ebp - 0x1044]
dec eax
mov dword [ebp - 0x104c], esi
mov dword [ebp - 0x1040], eax
test edx, edx
jle 0x49eeb6
lea eax, [esi + ebx]
mov edx, ebx
mov esi, dword [ebp - 0x1034]
not edi
movzx ecx, byte [edi + eax]
lea edx, [edx + 4]
add byte [eax], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 3]
add byte [eax - 5], cl
movzx ecx, byte [edx - 4]
add byte [eax - 6], cl
movzx ecx, byte [edx - 5]
add byte [eax - 7], cl
sub esi, 1
jne 0x49ee72
mov eax, dword [ebp - 0x1040]
mov ecx, dword [ebp - 0x1030]
mov esi, dword [ebp - 0x104c]
mov edi, dword [ebp - 0x103c]
mov edx, dword [ebp - 0x1034]
add ebx, ecx
sub eax, 1
mov dword [ebp - 0x1040], eax
jne 0x49ee61
mov ebx, dword [ebp - 0x1054]
mov edi, dword [ebp - 0x1044]
mov esi, dword [ebp - 0x1038]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
test ecx, 0x40000000
je 0x49ef00
mov eax, dword [ebx]
push ecx
mov ecx, dword [ebp - 0x1050]
push edi
push edx
push ecx
push dword [ebp - 0x1048]
mov ecx, ebx
call dword [eax + 0xd8]
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
add eax, 0x10
push eax
push dword [ebp - 0x1058]
call edi
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 8], 0
jge 0x49f089
mov eax, dword [ebp + 0x18]
mov esi, dword [ecx + 0xc]
cmp eax, 2
jne 0x49ef33
mov eax, esi
and eax, 0xffffff
jmp 0x49ef44
cmp eax, 1
jne 0x49ef44
test esi, 0xff000000
je 0x49f089
movzx eax, word [ecx + 4]
mov dword [ebp - 0x1030], eax
movzx eax, word [ecx + 6]
mov dword [ebp - 0x1038], eax
lea eax, [ecx + 0x10]
push eax
lea eax, [ebp - 0x101c]
push eax
call edi
mov ecx, dword [ebp - 0x1010]
mov eax, ecx
mov edi, dword [ebp - 0x1018]
sub eax, edi
test eax, eax
jle 0x49f06a
mov eax, dword [ebp - 0x1014]
sub eax, dword [ebp - 0x101c]
test eax, eax
jle 0x49f06a
test edi, edi
jle 0x49efbb
mov eax, dword [ebx]
mov ecx, ebx
push 1
push esi
push edi
push dword [ebp - 0x1030]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0xd0]
mov ecx, dword [ebp - 0x1010]
mov edi, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1038]
cmp ecx, eax
jge 0x49eff0
mov edx, dword [ebx]
sub eax, ecx
push 1
push esi
push eax
push dword [ebp - 0x1030]
mov eax, dword [ebp + 0x10]
add eax, ecx
mov ecx, ebx
push eax
push dword [ebp + 0xc]
call dword [edx + 0xd0]
mov ecx, dword [ebp - 0x1010]
mov edi, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x101c]
test eax, eax
jle 0x49f020
mov edx, dword [ebx]
sub ecx, edi
push 1
push esi
push ecx
push eax
mov eax, dword [ebp + 0x10]
mov ecx, ebx
add eax, edi
push eax
push dword [ebp + 0xc]
call dword [edx + 0xd0]
mov ecx, dword [ebp - 0x1010]
mov edi, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
cmp eax, dword [ebp - 0x1030]
jge 0x49f089
mov edx, dword [ebx]
sub ecx, edi
push 1
push esi
push ecx
mov ecx, dword [ebp - 0x1030]
sub ecx, eax
mov eax, dword [ebp + 0x10]
push ecx
add eax, edi
mov ecx, ebx
push eax
mov eax, dword [ebp - 0x1014]
add eax, dword [ebp + 0xc]
push eax
call dword [edx + 0xd0]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bcfcc
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx]
mov ecx, ebx
push 1
push esi
push dword [ebp - 0x1038]
push dword [ebp - 0x1030]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0xd0]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcfcc
mov esp, ebp
pop ebp
ret 0x14