Function at 0x49f410
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0xac
mov eax, dword [ecx + 0xb8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + edi*4]
lea edi, [ecx + 0x38]
mov ecx, edi
mov eax, dword [eax + 8]
mov dword [ebp - 0x98], eax
call fcn.004bcaa0
mov ecx, edi
mov edx, eax
mov dword [ebp - 0x94], eax
mov eax, dword [esi + 0xb8]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004b3e50
sub esp, 4
cmp dword [ebp - 0x98], eax
je 0x49f5e0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x6c]
test al, al
jne 0x49f620
mov eax, dword [ebx + 0x50]
lea ebx, [esi + 0xd8]
mov dword [ebp - 0xa0], ebx
xor ebx, ebx
mov edx, dword [eax + 4]
mov dword [ebp - 0x9c], eax
mov eax, dword [eax + 8]
sub eax, edx
cmp eax, 0x13
jle 0x49f5f4
mov dword [ebp - 0x8c], edi
jmp 0x49f4e9
mov eax, dword [ebp - 0x90]
mov ecx, esi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0049f410
sub esp, 8
mov eax, dword [ebp - 0x9c]
add ebx, 1
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub eax, edx
sar eax, 2
imul eax, eax, 0xcccccccd
cmp ebx, eax
jge 0x49f5f4
lea eax, [ebx + ebx*4]
mov ecx, dword [ebp - 0x8c]
mov edi, dword [edx + eax*4]
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b3df0
mov ecx, dword [ebp - 0x8c]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], ebx
mov dword [esp], eax
call fcn.004bb800
mov ecx, dword [ebp - 0x8c]
sub esp, 0xc
mov dword [ebp - 0x90], eax
call fcn.004b4090
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x8c]
mov dword [esp + 4], 1
mov dword [esp], 0x20
mov dword [esi + 0xd4], eax
call fcn.004b6350
mov ecx, dword [ebp - 0x8c]
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b78c0
mov ecx, dword [esi + 0xdc]
sub esp, 0xc
cmp ecx, dword [esi + 0xe0]
mov dword [ebp - 0x84], eax
je 0x49f600
test ecx, ecx
je 0x49f597
mov dword [ecx], eax
add ecx, 4
mov dword [esi + 0xdc], ecx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
test al, al
jne 0x49f4b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x6c]
test al, al
jne 0x49f4b0
mov eax, dword [ebp - 0x90]
mov ecx, esi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0049e5a0
sub esp, 8
jmp 0x49f4c7
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0049e5a0
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.0063d220
sub esp, 4
jmp 0x49f5a0
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x84], 0x6f2308
call dword [eax + 0x6c]
test al, al
movzx eax, byte [ebx + 4]
jne 0x49f8b0
lea edx, [eax - 0xd]
cmp dl, 1
jbe 0x49fbef
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebx + 5]
mov edx, eax
shl edx, 4
mov byte [ebp - 0x90], dl
sar al, 4
sar byte [ebp - 0x90], 4
movzx edx, byte [ebp - 0x90]
mov byte [ebp - 0xa4], al
shl eax, 4
and edx, 0xf
mov byte [ebp - 0x9c], dl
or byte [ebp - 0x9c], al
movzx edx, byte [ebp - 0x9c]
mov byte [ebp - 0x7f], dl
movzx eax, byte [ebx + 6]
mov byte [ebp - 0x8c], al
movzx eax, byte [ebp - 0x7e]
and byte [ebp - 0x8c], 0xf
and eax, 0xfffffff0
or al, byte [ebp - 0x8c]
mov byte [ebp - 0x7e], al
movzx edx, byte [ebx + 8]
mov byte [ebp - 0xa0], dl
movzx edx, byte [ebp - 0x7c]
and byte [ebp - 0xa0], 1
and edx, 0xfffffffe
or dl, byte [ebp - 0xa0]
mov byte [ebp - 0x7c], dl
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebx + 0x50]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx + 0x54]
cmp byte [ebp - 0xa4], 0
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x2c], ecx
jle 0x49fbc7
movzx ecx, byte [ebp - 0x8c]
and eax, 0xfffffff0
mov byte [ebp - 0x7e], al
cmp cl, 1
mov byte [ebp - 0x7f], cl
je 0x49fcdb
mov eax, dword [ebp - 0x98]
mov ecx, edi
mov dword [esp], eax
call fcn.004b3e50
xor edx, edx
mov dword [ebp + 8], ebx
mov ebx, edx
mov dword [ebp - 0x90], eax
lea eax, [esi + 0xd8]
sub esp, 4
mov dword [ebp - 0x98], eax
jmp 0x49f7d4
mov eax, dword [ebp - 0x8c]
mov ecx, esi
mov dword [esp + 4], eax
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.0049f410
sub esp, 8
add ebx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
call dword [eax + 0x40]
cmp ebx, eax
jge 0x49f5f4
mov eax, dword [ebp - 0x90]
mov ecx, edi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004bb800
mov ecx, edi
sub esp, 0xc
mov dword [ebp - 0x8c], eax
call fcn.004b4090
mov eax, dword [ebp - 0x94]
mov ecx, edi
mov dword [esp + 4], 1
mov dword [esp], 0x20
mov dword [esi + 0xd4], eax
call fcn.004b6350
mov ecx, edi
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b78c0
mov edx, dword [esi + 0xdc]
sub esp, 0xc
cmp edx, dword [esi + 0xe0]
mov dword [ebp - 0x88], eax
je 0x49fa76
test edx, edx
je 0x49f86e
mov dword [edx], eax
add edx, 4
mov dword [esi + 0xdc], edx
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x49f7b4
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x49f7b4
cmp byte [ebp - 0x80], 0xa
je 0x49f9a0
mov eax, dword [ebp - 0x8c]
mov ecx, edi
mov dword [esp], eax
call fcn.004bcb30
sub esp, 4
jmp 0x49f7d1
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x5c]
mov ecx, ebx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x3c], eax
movzx eax, byte [ebx + 5]
mov byte [ebp - 0x7f], al
movzx eax, byte [ebp - 0x7e]
movzx edx, byte [ebx + 6]
and eax, 0xfffffff0
and edx, 0xf
or eax, edx
mov byte [ebp - 0x7e], al
movzx eax, byte [ebp - 0x7c]
movzx edx, byte [ebx + 8]
and eax, 0xfffffffe
and edx, 1
or eax, edx
mov byte [ebp - 0x7c], al
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
call dword [eax + 0x54]
mov edx, dword [eax + 4]
test edx, edx
je 0x49fb35
mov eax, dword [edx + 8]
sub eax, dword [edx + 4]
sar eax, 3
cmp eax, 1
jne 0x49fb35
mov dword [ebp - 0x38], 0
jmp 0x49f786
mov ecx, edi
call fcn.004b6b30
mov edx, eax
mov eax, dword [esi + 0xb8]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + 0xc]
lea ecx, [eax - 0x14]
cmp ecx, 2
jbe 0x49fa92
cmp eax, 0x17
jne 0x49f897
mov dword [esp], edx
mov ecx, edi
mov dword [ebp - 0xa0], edx
call fcn.004b3d10
mov ecx, edi
sub esp, 4
mov dword [ebp - 0x9c], eax
call fcn.004b5d40
mov edx, dword [ebp - 0x9c]
mov ecx, edi
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004b69b0
mov edx, dword [ebp - 0xa0]
sub esp, 8
cmp edx, eax
jne 0x49fd9c
mov eax, dword [esi + 0xb8]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], edx
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax + 8]
je 0x49f897
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.005a2a60
mov edx, dword [ebp - 0x9c]
mov ecx, esi
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0049e280
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0xa0]
sub esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
jmp 0x49fb15
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x88]
mov dword [esp], eax
call fcn.0063d220
sub esp, 4
jmp 0x49f877
mov ecx, edi
mov dword [ebp - 0x9c], edx
call fcn.004b5d40
mov edx, dword [ebp - 0x9c]
cmp edx, eax
jne 0x49fce6
mov eax, dword [esi + 0xb8]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], edx
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax + 8]
je 0x49f897
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], 0x20
call fcn.004b6350
mov ecx, edi
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004b78c0
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x9c]
sub esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov ecx, edi
mov dword [esp], 0xab
call fcn.004bbc60
sub esp, 0x10
mov dword [ebp - 0x8c], eax
jmp 0x49f897
call fcn.004cb890
mov dword [esp], 0xc
mov ecx, eax
call fcn.004cba30
mov dword [eax + 4], 0
mov edx, eax
sub esp, 4
mov dword [eax], 0x6f1f98
mov dword [eax + 8], 1
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x8c], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x49f786
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
cmp ecx, 0xf
jle 0x49f786
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x49fe3d
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x8c]
mov byte [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0062cbe0
sub esp, 0x10
jmp 0x49f786
cmp byte [ebp - 0x90], 1
jle 0x49fe2b
movzx eax, byte [ebp - 0x9c]
and edx, 0xfffffffe
mov byte [ebp - 0x7c], dl
and eax, 0xfffffff0
or eax, 1
mov byte [ebp - 0x7f], al
jmp 0x49f786
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 4]
mov eax, dword [eax]
movzx edx, byte [eax + 4]
mov byte [ebp - 0x80], dl
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x60]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 0x64]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x68]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x78], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x74], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x70], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x6c], edx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x68], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x64], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x5c], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x54], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x44], edx
mov edx, dword [eax + 0x44]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x3c], edx
movzx edx, byte [ebp - 0x7f]
movzx ecx, byte [eax + 5]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx ecx, byte [eax + 5]
and edx, 0xf
and ecx, 0xfffffff0
or edx, ecx
mov byte [ebp - 0x7f], dl
movzx edx, byte [ebp - 0x7e]
movzx ecx, byte [eax + 6]
and edx, 0xfffffff0
and ecx, 0xf
or edx, ecx
mov byte [ebp - 0x7e], dl
movzx edx, byte [ebp - 0x7c]
movzx ecx, byte [eax + 8]
and edx, 0xfffffffe
and ecx, 1
or edx, ecx
mov byte [ebp - 0x7c], dl
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x58]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
jmp 0x49f786
or edx, 1
mov byte [ebp - 0x7c], dl
jmp 0x49f786
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], 0x20
mov dword [ebp - 0xa0], edx
call fcn.004b6350
mov ecx, edi
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004b78c0
mov ecx, edi
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp], 0x20
mov dword [ebp - 0x9c], eax
call fcn.004b6350
mov ecx, edi
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004b78c0
mov edx, dword [ebp - 0xa0]
sub esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov ecx, edi
mov dword [esp], 0xa9
call fcn.004bc160
sub esp, 0x14
mov dword [ebp - 0x8c], eax
jmp 0x49f897
mov ecx, edi
mov dword [esp + 4], 0
mov dword [esp], 1
mov dword [ebp - 0xa4], edx
call fcn.005a2a60
mov edx, dword [ebp - 0x9c]
mov ecx, esi
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0049e280
mov ecx, edi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0xa0], eax
call fcn.005a2a60
mov edx, dword [ebp - 0x9c]
mov ecx, esi
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0049e280
mov edx, dword [ebp - 0xa4]
sub esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], eax
jmp 0x49fd7c
cmp byte [ebp - 0xa0], 0
jne 0x49fbd4
jmp 0x49f786
mov dword [ebp - 0x9c], edx
call fcn.004cb890
mov dword [esp], 0x10
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov dword [ebp - 0x90], eax
call fcn.004cb890
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x9c]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 0xc], 0
mov dword [edx + 4], ecx
mov eax, dword [eax + 4]
jmp 0x49fb92