Function at 0x4cb300
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x34]
xor esi, esi
or eax, 0xffffffff
cmp edi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], 1
mov byte [esp + 8], 0xff
je 0x4cb342
cmp dword [edi + 0x1c], esi
jne 0x4cb342
xor edi, edi
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x4cb355
cmp dword [eax + 0x1c], esi
jne 0x4cb355
xor eax, eax
mov dword [esp + 0x3c], eax
cmp edi, esi
jne 0x4cb368
cmp eax, esi
jne 0x4cb368
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret
push ebx
mov ebx, dword [esp + 0x30]
cmp ebx, esi
push ebp
jne 0x4cb381
mov eax, dword [esp + 0x38]
push eax
call fcn.004ca340
add esp, 4
mov ebx, eax
mov ebp, dword [0x671be8]
cmp ebx, esi
mov dword [esp + 0x38], ebx
je 0x4cb783
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x4cb3b5
push ebx
call fcn.004cbad0
mov cl, byte [esi]
add esp, 4
test eax, eax
setne al
cmp cl, al
je 0x4cb774
mov byte [esi], al
test edi, edi
je 0x4cb408
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x147
push ecx
call ebp
cmp eax, 0xffffffff
je 0x4cb3df
mov edx, dword [edi + 0x1c]
push 0
push eax
push 0x150
push edx
call ebp
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x14b
push eax
call ebp
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4cb408
push 0xff
push 0
push 0xffffffffffffffff
push edi
call fcn.004cb290
add esp, 0x10
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4cb45f
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x147
push ecx
call ebp
cmp eax, 0xffffffff
je 0x4cb436
mov edx, dword [esi + 0x1c]
push 0
push eax
push 0x150
push edx
call ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x14b
push eax
call ebp
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4cb45f
push 0xff
push 0
push 0xffffffffffffffff
push esi
call fcn.004cb290
add esp, 0x10
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4cb774
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
push edx
push 3
push 0
push 0
push ebx
call fcn.004ccc50
mov esi, eax
push 0
lea eax, [esp + 0x44]
push 0x2a
lea ecx, [esp + 0x3c]
push eax
push ecx
push ebx
call fcn.004cbdd0
push ebx
mov edi, eax
call fcn.004d2de0
add esp, 0x30
mov byte [esp + 0x10], al
mov ebx, dword [esp + 0x10]
test esi, esi
je 0x4cb5d5
mov edx, dword [esp + 0x24]
xor esi, esi
lea eax, [edx - 8]
test eax, eax
mov dword [esp + 0x4c], eax
jle 0x4cb6a6
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4cb544
mov ecx, dword [esp + 0x18]
xor eax, eax
xor edx, edx
mov ah, byte [esi + ecx + 0x14]
mov dl, byte [esi + ecx + 0x16]
mov al, byte [esi + ecx + 0x15]
shl eax, 8
or eax, edx
xor edx, edx
mov dl, byte [esi + ecx + 0x17]
shl eax, 8
or eax, edx
test esi, esi
mov ebp, eax
jle 0x4cb530
mov edi, 0xffffffeb
lea eax, [ecx + 0x15]
sub edi, ecx
xor ecx, ecx
xor edx, edx
mov ch, byte [eax - 1]
mov dl, byte [eax + 1]
mov cl, byte [eax]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 2]
shl ecx, 8
or ecx, edx
cmp ecx, ebp
je 0x4cb52e
add eax, 0x10
lea ecx, [edi + eax]
cmp ecx, esi
jl 0x4cb503
jmp 0x4cb530
xor ebp, ebp
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x14]
push ebx
push edx
push ebp
push eax
call fcn.004cb290
add esp, 0x10
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4cb5c1
mov ecx, dword [esp + 0x18]
xor edx, edx
xor eax, eax
mov dh, byte [esi + ecx + 0x10]
mov al, byte [esi + ecx + 0x12]
mov dl, byte [esi + ecx + 0x11]
shl edx, 8
or edx, eax
xor eax, eax
mov al, byte [esi + ecx + 0x13]
shl edx, 8
or edx, eax
test esi, esi
mov ebp, edx
jle 0x4cb5ad
mov edi, 0xffffffef
lea eax, [ecx + 0x11]
sub edi, ecx
xor ecx, ecx
xor edx, edx
mov ch, byte [eax - 1]
mov dl, byte [eax + 1]
mov cl, byte [eax]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 2]
shl ecx, 8
or ecx, edx
cmp ecx, ebp
je 0x4cb5ab
add eax, 0x10
lea ecx, [edi + eax]
cmp ecx, esi
jl 0x4cb580
jmp 0x4cb5ad
xor ebp, ebp
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push ebx
push edx
push ebp
push eax
call fcn.004cb290
add esp, 0x10
mov eax, dword [esp + 0x4c]
add esi, 0x10
cmp esi, eax
jl 0x4cb4c7
jmp 0x4cb6a6
test edi, edi
je 0x4cb6a6
mov eax, dword [esp + 0x28]
mov ecx, 0x1e
cmp eax, ecx
jb 0x4cb6a6
mov edx, dword [esp + 0x1c]
xor eax, eax
xor ebx, ebx
mov ah, byte [edx + 6]
mov bh, byte [edx]
mov al, byte [edx + 7]
mov bl, byte [edx + 1]
add eax, 8
add ebx, 2
lea esi, [eax + 0x20]
cmp ebx, esi
jbe 0x4cb66e
cmp byte [eax + edx + 1], cl
jbe 0x4cb66e
xor ecx, ecx
xor edi, edi
mov ch, byte [eax + edx + 0x1e]
mov cl, byte [eax + edx + 0x1f]
shl ecx, 2
mov ebp, ecx
test ebp, ebp
jle 0x4cb6a6
mov esi, eax
jmp 0x4cb631
mov edx, dword [esp + 0x1c]
lea eax, [esi + 0x24]
cmp eax, ebx
ja 0x4cb6a6
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4cb662
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push ecx
xor ecx, ecx
mov ch, byte [esi + edx + 0x22]
push eax
mov cl, byte [esi + edx + 0x23]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.004cb290
add esp, 0x10
add edi, 4
add esi, 4
cmp edi, ebp
jl 0x4cb62d
jmp 0x4cb6a6
lea ecx, [eax + 0x14]
cmp ebx, ecx
jb 0x4cb6a6
cmp byte [eax + edx + 1], 0x12
jb 0x4cb6a6
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4cb6a6
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
push ecx
xor ecx, ecx
mov ch, byte [eax + edx + 0x12]
mov cl, byte [eax + edx + 0x13]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.004cb290
add esp, 0x10
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x4cb706
mov eax, dword [ebx + 0x1c]
mov ebp, dword [0x671be8]
push 0
push 0
push 0x146
push eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x4cb70c
test edi, edi
jle 0x4cb70c
cmp dword [esp + 0x20], 0xffffffff
je 0x4cb70c
xor esi, esi
test edi, edi
jle 0x4cb70c
mov ecx, dword [ebx + 0x1c]
push 0
push esi
push 0x150
push ecx
call ebp
cmp eax, dword [esp + 0x20]
je 0x4cb6f6
inc esi
cmp esi, edi
jl 0x4cb6db
jmp 0x4cb70c
mov edx, dword [ebx + 0x1c]
push 0
push esi
push 0x14e
push edx
call ebp
jmp 0x4cb70c
mov ebp, dword [0x671be8]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4cb76c
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0x146
push eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x4cb76c
test edi, edi
jle 0x4cb76c
mov ebx, dword [esp + 0x2c]
cmp ebx, 0xffffffff
je 0x4cb76c
xor esi, esi
test edi, edi
jle 0x4cb76c
mov ecx, dword [esp + 0x44]
push 0
push esi
push 0x150
mov edx, dword [ecx + 0x1c]
push edx
call ebp
cmp eax, ebx
je 0x4cb75a
inc esi
cmp esi, edi
jl 0x4cb73d
jmp 0x4cb76c
mov eax, dword [esp + 0x44]
push 0
push esi
push 0x14e
mov ecx, dword [eax + 0x1c]
push ecx
call ebp
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x34], ebx
je 0x4cb783
push ebx
call fcn.004b6a60
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
je 0x4cb794
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4cb79f
push eax
call esi
test edi, edi
je 0x4cb80b
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4cb7d0
mov edx, dword [edi + 0x1c]
push 0
push 0
push 0x146
push edx
call ebp
test eax, eax
jne 0x4cb7d0
mov eax, dword [esp + 0x10]
push eax
push 0
push 0xffffffffffffffff
push edi
call fcn.004cb290
add esp, 0x10
mov ecx, dword [edi + 0x1c]
push 0
push 0
push 0x146
push ecx
call ebp
cmp eax, 0xffffffff
je 0x4cb80b
test eax, eax
jle 0x4cb80b
mov edx, dword [edi + 0x1c]
push 0
push 0
push 0x147
push edx
call ebp
cmp eax, 0xffffffff
jne 0x4cb80b
mov eax, dword [edi + 0x1c]
push 0
push 0
push 0x14e
push eax
call ebp
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4cb87a
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4cb83f
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x146
push ecx
call ebp
test eax, eax
jne 0x4cb83f
mov edx, dword [esp + 0x10]
push edx
push eax
push 0xffffffffffffffff
push esi
call fcn.004cb290
add esp, 0x10
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x146
push eax
call ebp
cmp eax, 0xffffffff
je 0x4cb87a
test eax, eax
jle 0x4cb87a
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x147
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x4cb87a
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x14e
push edx
call ebp
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x20
ret