Function at 0x4cd290
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x60]
movzx ebp, byte [eax + 6]
mov eax, dword [edi + 0x54]
mov dword [esp + 0x1c], ebp
mov eax, dword [eax + 0x10]
mov ebx, dword [eax - 4]
sar ebx, 3
sub ebx, ebp
dec ebx
cmp dword [edi + 0xb8], 0
mov dword [esp + 0x18], ebx
jle 0x4cd373
mov ebp, dword [esp + 0x30]
xor ecx, ecx
test ebx, ebx
cmovns ecx, ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
cmp ebp, 1
je 0x4cd2e9
cmp ebp, 0xffffffff
cmove ebp, ecx
lea edx, [ebx + ebp]
jmp 0x4cd2f3
mov edx, dword [edi + 0x6c]
cmp ebx, edx
jb 0x4cd2f6
lea edx, [ebx + 1]
mov dword [edi + 0x6c], edx
mov eax, dword [edi + 0x70]
add eax, edx
cmp eax, 0xfa
jae 0x4cd901
xor esi, esi
test ebp, ebp
jle 0x4cd36b
lea edx, [ebx*4]
mov eax, ecx
mov ebx, ecx
mov dword [esp + 0x28], edx
neg ebx
not eax
shl ebx, 2
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x64]
cmp esi, ecx
jge 0x4cd350
mov ecx, dword [ebx + eax - 4]
test ecx, ecx
jne 0x4cd355
mov eax, dword [esp + 0x20]
add eax, esi
push eax
push edi
call fcn.004cd910
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edi + 0x64]
add esp, 8
jmp 0x4cd355
mov ecx, 0x7fff
mov dword [edx + eax], ecx
inc esi
mov ecx, dword [esp + 0x1c]
add edx, 4
add ebx, 4
mov dword [esp + 0x28], edx
cmp esi, ebp
jl 0x4cd326
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor eax, eax
mov dword [edi + 0x7a], 0x47130012
mov ecx, edi
mov word [edi + 0x78], ax
call fcn.004e3930
lea ecx, [ebp*8 + 0xb]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
test ebp, ebp
js 0x4cd540
mov esi, dword [esp + 0x2c]
test ebx, ebx
jle 0x4cd511
cmp ebx, ebp
mov eax, ebx
cmovge eax, ebp
mov dword [esp + 0x1c], eax
jl 0x4cd3cc
lea edx, [ecx + ebp*8]
mov ecx, edi
call fcn.004e0160
mov ecx, 0x193
jmp 0x4cd3e1
mov eax, dword [edi + 0x54]
mov ecx, edi
mov edx, dword [eax + 0x10]
mov edx, dword [edx - 4]
call fcn.004e0160
mov ecx, 0x893
mov edx, dword [esp + 0x10]
mov word [edi + 0x7c], cx
mov ecx, edi
movzx ebp, dx
movzx eax, ax
mov word [edi + 0x78], bp
mov word [edi + 0x7a], ax
call fcn.004e3930
mov eax, 0x2a13
mov word [edi + 0x7a], bp
mov word [edi + 0x7c], ax
mov ecx, edi
mov eax, 0x8000
mov word [edi + 0x78], ax
call fcn.004e3930
mov edx, dword [esp + 0x28]
mov ecx, edi
add edx, 0xfffffff8
mov esi, eax
call fcn.004e0160
movzx ecx, ax
mov eax, 0x2905
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x7c], ax
mov word [edi + 0x78], si
call fcn.004e3930
xor ebp, ebp
mov edx, eax
mov dword [esp + 0x20], edx
cmp dword [esp + 0x1c], ebp
jle 0x4cd4cc
mov ecx, dword [esp + 0x2c]
neg ebx
shl ecx, 2
mov dword [esp + 0x28], ecx
shl ebx, 3
mov eax, dword [edi + 0x54]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + ebx - 4]
cmp esi, 0xfffffff2
jae 0x4cd47a
mov esi, 0xe
jmp 0x4cd47c
not esi
mov eax, esi
mov word [edi + 0x78], dx
or eax, 0x4880
mov word [edi + 0x7a], bp
mov ecx, edi
mov word [edi + 0x7c], ax
call fcn.004e3930
mov ecx, eax
cmp esi, 2
ja 0x4cd4a9
imul ecx, esi, 0xffffff
add ecx, 0x7fff
mov edx, dword [esp + 0x28]
inc ebp
mov eax, dword [edi + 0x64]
add ebx, 8
mov dword [edx + eax], ecx
add edx, 4
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
cmp ebp, dword [esp + 0x1c]
jl 0x4cd464
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
jge 0x4cd4f5
lea ecx, [ebx + esi]
mov edx, ebp
shl ecx, 2
sub edx, ebx
mov eax, dword [edi + 0x64]
lea ecx, [ecx + 4]
mov dword [ecx + eax - 4], 0x7fff
sub edx, 1
jne 0x4cd4e2
cmp ebp, 1
jne 0x4cd503
cmp esi, dword [edi + 0x6c]
jb 0x4cd36b
lea eax, [esi + ebp]
mov dword [edi + 0x6c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov edx, ecx
mov ecx, edi
call fcn.004e0160
mov edx, dword [esp + 0x10]
mov ecx, 0x293
mov word [edi + 0x7c], cx
movzx ecx, dx
movzx eax, ax
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.004e3930
xor ebx, ebx
jmp 0x4cd4d4
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 4]
cmp cl, 0x41
jne 0x4cd8e9
mov eax, ecx
and eax, 0xff000000
cmp eax, 0x2000000
jne 0x4cd8e9
mov eax, ecx
and eax, 0xff0000
cmp eax, 0x10000
jne 0x4cd8e9
mov eax, dword [edi + 0x54]
shr ecx, 8
movzx esi, cl
mov eax, dword [eax + 0x10]
cmp dword [eax + esi*8 + 4], 0xfffffff7
jne 0x4cd8e9
mov eax, dword [eax + esi*8]
cmp byte [eax + 6], 0x10
jne 0x4cd8e9
push 8
push eax
push edi
call fcn.004e0580
mov ecx, dword [edi + 0x64]
mov ebp, eax
add esp, 0xc
mov eax, dword [ecx + esi*4]
test eax, eax
jne 0x4cd5b9
push esi
push edi
call fcn.004cd910
add esp, 8
mov ecx, 0x888
mov word [edi + 0x78], ax
mov word [edi + 0x7c], cx
mov ecx, edi
mov word [edi + 0x7a], bp
call fcn.004e3930
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], 0x7fff
mov ebp, dword [eax + ecx*4 - 4]
mov eax, dword [edi + 0x54]
mov eax, dword [eax + 0x10]
lea eax, [eax + ecx*8]
add eax, 0xfffffff8
push eax
push ebp
push edi
call fcn.004e9a80
mov esi, eax
add esp, 0xc
mov dword [esp + 0x20], esi
test esi, esi
js 0x4cd8e9
je 0x4cd6ac
mov ecx, ebp
shr ecx, 0x18
and ecx, 0x1f
sub ecx, 0xf
cmp ecx, 4
jbe 0x4cd655
mov eax, ebp
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x4cd641
mov ecx, edi
mov dword [edi + 0x7a], 0x5e8e0000
mov word [edi + 0x78], bp
call fcn.004e3930
mov ebp, eax
mov ecx, edi
mov dword [edi + 0x7a], 0x5b93226e
mov word [edi + 0x78], bp
call fcn.004e3930
mov ebp, eax
movzx eax, bp
mov ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, 0x8000
cmp ax, cx
jae 0x4cd6b3
mov edx, dword [esp + 0x28]
mov ecx, edi
lea edx, [edx + esi*8]
call fcn.004e0160
movzx ecx, ax
mov edx, 0x193
cmp esi, ebx
mov word [edi + 0x7a], cx
mov eax, 0x93
mov ecx, edi
cmovle eax, edx
mov word [edi + 0x7c], ax
mov eax, dword [esp + 0x10]
movzx eax, ax
mov word [edi + 0x78], ax
call fcn.004e3930
sub dword [esp + 0x28], 8
jmp 0x4cd828
movzx eax, bp
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x28]
mov ecx, edi
cmp esi, ebx
jg 0x4cd798
neg edx
call fcn.004e0160
mov edx, dword [esp + 0x10]
mov ecx, 0x2913
mov word [edi + 0x7c], cx
movzx ecx, dx
movzx eax, ax
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.004e3930
cmp dword [esp + 0x1c], 0
mov ebp, eax
je 0x4cd722
xor edx, edx
mov ecx, edi
call fcn.004e0160
movzx ecx, ax
mov eax, 0x193
mov word [edi + 0x7a], cx
mov ecx, edi
movzx esi, bp
mov word [edi + 0x7c], ax
mov word [edi + 0x78], si
call fcn.004e3930
mov ebp, esi
mov esi, dword [esp + 0x20]
jmp 0x4cd725
movzx ebp, bp
mov edx, 3
mov ecx, edi
call fcn.004e0160
mov ecx, 0x2513
movzx eax, ax
mov word [edi + 0x7c], cx
mov ecx, edi
mov word [edi + 0x78], bp
mov word [edi + 0x7a], ax
call fcn.004e3930
mov dword [esp + 0x14], eax
test esi, esi
je 0x4cd8c8
or edx, 0xffffffff
mov ecx, edi
call fcn.004e0160
movzx ecx, ax
mov eax, 0x2913
mov word [edi + 0x7c], ax
mov eax, dword [esp + 0x18]
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x78], ax
call fcn.004e3930
mov ecx, dword [esp + 0x14]
mov ebp, eax
push ebx
push ebp
push ecx
push edi
call fcn.004cc260
add esp, 0x10
jmp 0x4cd830
call fcn.004e0160
mov dword [esp + 0x1c], eax
mov ecx, edi
test esi, esi
je 0x4cd7f2
mov edx, 3
call fcn.004e0160
movzx ecx, ax
mov eax, 0x2413
mov word [edi + 0x7c], ax
mov eax, dword [esp + 0x18]
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x78], ax
call fcn.004e3930
mov ecx, 0x2913
mov word [edi + 0x78], ax
mov eax, dword [esp + 0x1c]
mov word [edi + 0x7c], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.004e3930
mov dword [esp + 0x1c], eax
jmp 0x4cd7fd
xor edx, edx
call fcn.004e0160
mov dword [esp + 0x14], eax
mov eax, 0x93
mov ecx, edi
mov word [edi + 0x7c], ax
mov eax, dword [esp + 0x10]
movzx eax, ax
mov word [edi + 0x78], ax
mov eax, dword [esp + 0x1c]
mov word [edi + 0x7a], ax
call fcn.004e3930
test esi, esi
je 0x4cd8c8
cmp esi, ebx
jg 0x4cd8c8
mov ecx, dword [esp + 0x10]
mov eax, 0x2a13
mov word [edi + 0x7c], ax
mov eax, 0x8000
mov word [edi + 0x78], ax
movzx eax, cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.004e3930
mov edx, dword [esp + 0x28]
mov ecx, edi
mov esi, eax
lea edx, [edx - 8]
call fcn.004e0160
movzx ecx, ax
mov eax, 0x2905
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x7c], ax
mov word [edi + 0x78], si
call fcn.004e3930
mov ecx, dword [edi + 0x54]
mov edx, eax
mov eax, dword [esp + 0x20]
sub eax, ebx
mov ecx, dword [ecx + 0x10]
mov esi, dword [ecx + eax*8 - 0xc]
cmp esi, 0xfffffff2
jae 0x4cd89d
mov esi, 0xe
jmp 0x4cd89f
not esi
mov eax, 0x3805
mov word [edi + 0x78], dx
mov ecx, edi
mov word [edi + 0x7c], ax
mov word [edi + 0x7a], bp
call fcn.004e3930
push esi
push 0
push eax
push edi
call fcn.004cb5c0
add esp, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x64]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [eax + edx*4 - 8], ecx
lea eax, [edx - 1]
mov dword [edi + 0x6c], eax
mov byte [edi + 0x77], 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
movsd xmm0, qword [0x592130]
push 7
push edi
movsd qword [edi + 0x950], xmm0
call fcn.004a52f0
push 3
push edi
call fcn.004a52b0
int3