Function at 0x49e670
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, ecx
push ebx
push esi
push edi
mov edi, dword [eax]
mov esi, edx
mov ecx, dword [eax + 0x1e8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], eax
test byte [edi + 0x3c], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], edi
je 0x49e6a7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x20], eax
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov dword [esp + 0x34], ecx
lea edx, [ecx + 8]
mov ecx, dword [edx + eax + 0x30]
add edx, eax
mov dword [esp + 0x1c], ecx
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x18], edx
mov ebx, dword [edx + 0x14]
je 0x49e70d
cmp dword [ebp + 0xc], 0
jne 0x49e69e
cmp dword [eax], 1
jg 0x49e69e
mov eax, dword [esi + 0x24]
test eax, eax
je 0x49e6f0
test dword [eax + 4], 0x200000
jne 0x49e69e
mov ecx, dword [esi]
call fcn.004780b0
test eax, 0x200000
jne 0x49e69e
mov ecx, dword [esi + 0x30]
call fcn.004780b0
test eax, 0x200000
jne 0x49e69e
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x20]
test eax, eax
je 0x49e71d
cmp dword [esi + 0x3c], 0
jne 0x49e69e
cmp dword [ebx + 0x40], 0
jne 0x49e69e
movzx edx, word [esi + 6]
test dl, dl
jns 0x49e737
test eax, eax
jne 0x49e69e
cmp dword [ecx], 0
je 0x49e69e
movzx ecx, word [ebx + 6]
test cl, 1
jne 0x49e69e
test eax, eax
je 0x49e768
mov ecx, dword [esp + 0x20]
cmp dword [ecx], 1
jg 0x49e69e
cmp dword [ebp + 0xc], 0
jne 0x49e69e
mov ecx, edx
and ecx, 1
je 0x49e779
cmp dword [ebp + 0x10], 0
jne 0x49e69e
cmp dword [esi + 0x30], 0
je 0x49e789
cmp dword [ebx + 0x30], 0
jne 0x49e69e
cmp dword [ebp + 0xc], 0
je 0x49e799
cmp dword [ebx + 0x30], 0
jne 0x49e69e
test eax, eax
je 0x49e7b4
cmp dword [esi + 0x24], 0
jne 0x49e69e
test eax, eax
je 0x49e7b4
test cx, cx
jne 0x49e69e
movzx eax, word [ebx + 6]
test eax, 0x3000
jne 0x49e69e
test edx, 0x2000
je 0x49e7d5
cmp dword [ebx + 0x34], 0
jne 0x49e69e
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 0x20
jne 0x49e69e
cmp dword [ebx + 0x34], 0
lea eax, [ebx + 0x34]
mov dword [esp + 0x28], eax
je 0x49e872
cmp dword [ebx + 0x30], 0
jne 0x49e69e
cmp dword [ebp + 0xc], 0
jne 0x49e69e
test cx, cx
jne 0x49e69e
mov eax, dword [esp + 0x20]
cmp dword [eax], 1
jne 0x49e69e
mov edi, edi
test byte [ebx + 6], 9
jne 0x49e69e
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x49e83b
cmp byte [ebx + 4], 0x74
jne 0x49e69e
mov eax, dword [ebx + 0x20]
cmp dword [eax], 1
jl 0x49e69e
mov ebx, ecx
test ebx, ebx
jne 0x49e820
mov eax, dword [esi + 0x30]
test eax, eax
je 0x49e872
mov edx, dword [eax]
test edx, edx
jle 0x49e872
mov eax, dword [eax + 4]
add eax, 0x14
cmp word [eax], 0
je 0x49e69e
inc ecx
add eax, 0x18
cmp ecx, edx
jl 0x49e860
mov eax, dword [esp + 0x18]
mov edx, 0x15
mov ebx, dword [esp + 0x30]
mov ecx, ebx
push 0
push 0
mov eax, dword [eax + 8]
push 0
mov dword [ebx + 0x1e8], eax
call fcn.0047fce0
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [ebx + 0x1e8], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
test eax, eax
je 0x49e952
mov eax, dword [esi + 0x30]
mov edx, esi
mov ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x40]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x34]
push 0
mov dword [esp + 0x30], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.00477bb0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x20], ecx
mov byte [esi + 4], 0x74
test eax, eax
jne 0x49e91d
mov eax, dword [esp + 0x2c]
jmp 0x49e92e
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x34], ecx
test ecx, ecx
je 0x49e92b
mov dword [ecx + 0x38], eax
mov dword [eax + 0x38], esi
mov edi, dword [esp + 0x14]
mov dword [esi + 0x34], eax
cmp byte [edi + 0x41], 0
jne 0x49ecc3
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x49e8b4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x14]
mov ebx, eax
mov edx, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], ebx
call fcn.00444ae0
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [eax + 8]
call fcn.00444ae0
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [eax + 0xc]
call fcn.00444ae0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
test ecx, ecx
je 0x49e9f0
movzx eax, word [ecx + 0x24]
cmp eax, 1
jne 0x49e9d9
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x198]
test eax, eax
cmovne edx, eax
mov eax, dword [edx + 0x208]
mov dword [ecx + 0x44], eax
mov dword [edx + 0x208], ecx
jmp 0x49e9de
dec eax
mov word [ecx + 0x24], ax
mov eax, dword [esp + 0x18]
mov dword [eax + 0x10], 0
lea esp, [esp]
mov eax, dword [ebx + 0x20]
mov edx, dword [esi + 0x20]
mov byte [esp + 0x13], 0
mov dword [esp + 0x38], eax
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
test edx, edx
je 0x49ea1a
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x24]
mov byte [esp + 0x13], al
jmp 0x49ea3f
push 0
push 0
xor edx, edx
mov ecx, edi
call fcn.004853d0
mov edx, eax
add esp, 8
mov dword [esp + 0x28], edx
mov dword [esi + 0x20], edx
test edx, edx
je 0x49ecb3
mov ecx, dword [esp + 0x20]
cmp ecx, 1
jle 0x49ea6e
mov eax, dword [ebp + 8]
inc eax
push eax
lea eax, [ecx - 1]
mov ecx, edi
push eax
call fcn.00485290
mov edx, eax
add esp, 8
mov dword [esi + 0x20], edx
cmp byte [edi + 0x41], 0
mov dword [esp + 0x28], edx
jne 0x49ecb3
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x49eae9
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
add ebx, 8
mov esi, dword [esp + 0x14]
add edi, 8
add ebx, edx
mov edx, dword [ebx + 0x38]
mov ecx, esi
call fcn.004850e0
movdqu xmm0, xmmword [edi]
push 0x50
push 0
movdqu xmmword [ebx], xmm0
push edi
movdqu xmm0, xmmword [edi + 0x10]
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmm0, xmmword [edi + 0x20]
movdqu xmmword [ebx + 0x20], xmm0
movdqu xmm0, xmmword [edi + 0x30]
movdqu xmmword [ebx + 0x30], xmm0
movdqu xmm0, xmmword [edi + 0x40]
movdqu xmmword [ebx + 0x40], xmm0
call fcn.00525d00
add esp, 0xc
lea ebx, [ebx + 0x50]
add edi, 0x50
dec dword [esp + 0x20]
jne 0x49ea86
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov al, byte [esp + 0x13]
mov byte [ecx + edx + 0x2c], al
xor ecx, ecx
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
cmp dword [eax], ecx
jle 0x49eb51
xor ebx, ebx
mov esi, eax
lea esp, [esp]
mov eax, dword [esi + 4]
cmp dword [ebx + eax + 4], 0
jne 0x49eb39
mov edx, dword [ebx + eax + 8]
mov ecx, edi
call fcn.00444f60
mov edi, eax
mov ecx, edi
call fcn.00447890
mov ecx, dword [esi + 4]
mov dword [ebx + ecx + 4], edi
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
inc ecx
add ebx, 0x18
mov dword [esp + 0x30], ecx
cmp ecx, dword [esi]
jl 0x49eb10
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
push dword [ebx]
mov edi, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x20]
mov edx, dword [esi]
call fcn.0049e560
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x49eb93
push dword [ebx]
mov edx, dword [esi + 0x28]
mov ecx, edi
push dword [esp + 0x20]
call fcn.0049e560
push dword [ebx]
mov edx, dword [esi + 0x2c]
mov ecx, edi
push dword [esp + 0x28]
call fcn.0049e490
add esp, 0x10
mov dword [esi + 0x2c], eax
mov edi, dword [ebx + 0x30]
test edi, edi
je 0x49ebe3
xor edx, edx
cmp dword [edi], edx
jle 0x49ebb8
xor ecx, ecx
mov eax, dword [edi + 4]
lea ecx, [ecx + 0x18]
xor esi, esi
inc edx
mov word [eax + ecx - 4], si
cmp edx, dword [edi]
jl 0x49eba2
mov esi, dword [esp + 0x24]
mov dword [esi + 0x30], edi
mov dword [ebx + 0x30], 0
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x24]
test edx, edx
je 0x49ec00
push 0
push 0
mov ecx, edi
call fcn.004772a0
add esp, 8
mov dword [esp + 0x30], eax
mov ecx, eax
jmp 0x49ec06
mov edx, dword [esi + 0x30]
test edx, edx
je 0x49ebc2
push dword [ebx]
mov edi, dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x20]
call fcn.0049e560
add esp, 8
jmp 0x49ebc6
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp dword [ebp + 0x10], 0
je 0x49ec5a
mov eax, dword [esi + 0x24]
mov edx, eax
mov dword [esi + 0x24], ecx
mov ecx, edi
mov dword [esi + 0x2c], eax
push dword [ebx]
push dword [esp + 0x20]
call fcn.0049e490
mov dword [esi + 0x2c], eax
mov ecx, edi
mov edx, dword [ebx + 0x2c]
push 0
push 0
call fcn.004772a0
mov edx, dword [esi + 0x2c]
mov ecx, edi
push eax
call fcn.00476dc0
add esp, 0x14
mov dword [esi + 0x2c], eax
mov edx, dword [ebx + 0x28]
mov ecx, edi
push 0
call fcn.00477620
add esp, 4
mov dword [esi + 0x28], eax
jmp 0x49ec80
push dword [ebx]
mov edx, dword [esi + 0x24]
mov ecx, edi
push dword [esp + 0x20]
call fcn.0049e490
push dword [esp + 0x38]
mov edx, eax
mov dword [esi + 0x24], eax
mov ecx, edi
call fcn.00476dc0
add esp, 0xc
mov dword [esi + 0x24], eax
mov ax, word [ebx + 6]
and ax, 1
or word [esi + 6], ax
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x49ec9d
mov dword [esi + 0x3c], eax
mov dword [ebx + 0x3c], 0
mov esi, dword [esi + 0x34]
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ebx
test esi, esi
jne 0x49e9f0
mov edx, dword [esp + 0x3c]
mov ecx, edi
push 1
call fcn.00497e90
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret