Function at 0x4d2a60
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 0x4d2b43
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 0x4d2ab9
cmp ebp, 0xffffffff
cmove ebp, ecx
lea edx, [ebx + ebp]
jmp 0x4d2ac3
mov edx, dword [edi + 0x6c]
cmp ebx, edx
jb 0x4d2ac6
lea edx, [ebx + 1]
mov dword [edi + 0x6c], edx
mov eax, dword [edi + 0x70]
add eax, edx
cmp eax, 0xfa
jae 0x4d30d1
xor esi, esi
test ebp, ebp
jle 0x4d2b3b
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 0x4d2b20
mov ecx, dword [ebx + eax - 4]
test ecx, ecx
jne 0x4d2b25
mov eax, dword [esp + 0x20]
add eax, esi
push eax
push edi
call fcn.004d30e0
mov edx, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [edi + 0x64]
add esp, 8
jmp 0x4d2b25
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 0x4d2af6
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.004e9100
lea ecx, [ebp*8 + 0xb]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
test ebp, ebp
js 0x4d2d10
mov esi, dword [esp + 0x2c]
test ebx, ebx
jle 0x4d2ce1
cmp ebx, ebp
mov eax, ebx
cmovge eax, ebp
mov dword [esp + 0x1c], eax
jl 0x4d2b9c
lea edx, [ecx + ebp*8]
mov ecx, edi
call fcn.004e5930
mov ecx, 0x193
jmp 0x4d2bb1
mov eax, dword [edi + 0x54]
mov ecx, edi
mov edx, dword [eax + 0x10]
mov edx, dword [edx - 4]
call fcn.004e5930
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.004e9100
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.004e9100
mov edx, dword [esp + 0x28]
mov ecx, edi
add edx, 0xfffffff8
mov esi, eax
call fcn.004e5930
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.004e9100
xor ebp, ebp
mov edx, eax
mov dword [esp + 0x20], edx
cmp dword [esp + 0x1c], ebp
jle 0x4d2c9c
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 0x4d2c4a
mov esi, 0xe
jmp 0x4d2c4c
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.004e9100
mov ecx, eax
cmp esi, 2
ja 0x4d2c79
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 0x4d2c34
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
cmp ebx, ebp
jge 0x4d2cc5
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 0x4d2cb2
cmp ebp, 1
jne 0x4d2cd3
cmp esi, dword [edi + 0x6c]
jb 0x4d2b3b
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.004e5930
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.004e9100
xor ebx, ebx
jmp 0x4d2ca4
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 4]
cmp cl, 0x41
jne 0x4d30b9
mov eax, ecx
and eax, 0xff000000
cmp eax, 0x2000000
jne 0x4d30b9
mov eax, ecx
and eax, 0xff0000
cmp eax, 0x10000
jne 0x4d30b9
mov eax, dword [edi + 0x54]
shr ecx, 8
movzx esi, cl
mov eax, dword [eax + 0x10]
cmp dword [eax + esi*8 + 4], 0xfffffff7
jne 0x4d30b9
mov eax, dword [eax + esi*8]
cmp byte [eax + 6], 0x10
jne 0x4d30b9
push 8
push eax
push edi
call fcn.004e5d50
mov ecx, dword [edi + 0x64]
mov ebp, eax
add esp, 0xc
mov eax, dword [ecx + esi*4]
test eax, eax
jne 0x4d2d89
push esi
push edi
call fcn.004d30e0
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.004e9100
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.004ef250
mov esi, eax
add esp, 0xc
mov dword [esp + 0x20], esi
test esi, esi
js 0x4d30b9
je 0x4d2e7c
mov ecx, ebp
shr ecx, 0x18
and ecx, 0x1f
sub ecx, 0xf
cmp ecx, 4
jbe 0x4d2e25
mov eax, ebp
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x4d2e11
mov ecx, edi
mov dword [edi + 0x7a], 0x5e8e0000
mov word [edi + 0x78], bp
call fcn.004e9100
mov ebp, eax
mov ecx, edi
mov dword [edi + 0x7a], 0x5b93226e
mov word [edi + 0x78], bp
call fcn.004e9100
mov ebp, eax
movzx eax, bp
mov ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, 0x8000
cmp ax, cx
jae 0x4d2e83
mov edx, dword [esp + 0x28]
mov ecx, edi
lea edx, [edx + esi*8]
call fcn.004e5930
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.004e9100
sub dword [esp + 0x28], 8
jmp 0x4d2ff8
movzx eax, bp
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x28]
mov ecx, edi
cmp esi, ebx
jg 0x4d2f68
neg edx
call fcn.004e5930
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.004e9100
cmp dword [esp + 0x1c], 0
mov ebp, eax
je 0x4d2ef2
xor edx, edx
mov ecx, edi
call fcn.004e5930
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.004e9100
mov ebp, esi
mov esi, dword [esp + 0x20]
jmp 0x4d2ef5
movzx ebp, bp
mov edx, 3
mov ecx, edi
call fcn.004e5930
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.004e9100
mov dword [esp + 0x14], eax
test esi, esi
je 0x4d3098
or edx, 0xffffffff
mov ecx, edi
call fcn.004e5930
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.004e9100
mov ecx, dword [esp + 0x14]
mov ebp, eax
push ebx
push ebp
push ecx
push edi
call fcn.004d1a30
add esp, 0x10
jmp 0x4d3000
call fcn.004e5930
mov dword [esp + 0x1c], eax
mov ecx, edi
test esi, esi
je 0x4d2fc2
mov edx, 3
call fcn.004e5930
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.004e9100
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.004e9100
mov dword [esp + 0x1c], eax
jmp 0x4d2fcd
xor edx, edx
call fcn.004e5930
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.004e9100
test esi, esi
je 0x4d3098
cmp esi, ebx
jg 0x4d3098
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.004e9100
mov edx, dword [esp + 0x28]
mov ecx, edi
mov esi, eax
lea edx, [edx - 8]
call fcn.004e5930
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.004e9100
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 0x4d306d
mov esi, 0xe
jmp 0x4d306f
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.004e9100
push esi
push 0
push eax
push edi
call fcn.004d0d90
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 [0x592380]
push 7
push edi
movsd qword [edi + 0x950], xmm0
call fcn.004aaac0
push 3
push edi
call fcn.004aaa80
int3