Function at 0x4cf420
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x90
push ebp
mov ebp, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xa0]
push eax
push ecx
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x4c]
push edx
mov edx, dword [esp + 0xbc]
push eax
push ecx
push edx
push edi
push ebp
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4cf476
pop edi
mov eax, 1
pop ebp
add esp, 0x90
ret
mov ebp, dword [ebp + 8]
mov ecx, dword [esp + 0x5c]
mov eax, dword [edi + 8]
push ebx
push esi
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
sub esi, ecx
imul ecx, dword [esp + 0x18]
imul ebp, eax
sub ebx, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
lea edx, [edx + edx*2]
add ecx, edx
mov edx, dword [esp + 0xb0]
lea ebp, [ebp + eax*4]
mov dword [esp + 0x3c], ebx
add ebp, dword [edi + 4]
mov edi, dword [edx + 4]
mov dl, byte [esp + 0x4c]
add ecx, edi
test dl, dl
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
je 0x4cf95e
mov edx, ebx
mov edi, ebx
sar edx, 3
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x58]
and edi, 7
sub eax, edx
mov edx, dword [esp + 0x1c]
add eax, edi
mov dword [esp + 0x20], edi
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, edi
sub eax, ebx
lea edx, [edx + eax*2]
add eax, edx
test esi, esi
mov dword [esp + 0x2c], eax
jle 0x4cfae6
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4cf88c
lea esi, [ecx + 5]
lea edi, [ebp + 5]
mov dword [esp + 0x18], eax
jmp 0x4cf543
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
push ebx
push ebp
call fcn.004ed790
xor eax, eax
xor ecx, ecx
mov al, byte [edi + 2]
xor edx, edx
shl eax, 8
mov dl, byte [edi - 1]
mov cl, byte [eax + ebx + 0xa2ee04]
mov al, byte [esi - 2]
mov ebp, ecx
mov ecx, eax
and ecx, 0xff
sub edx, ecx
shl ebp, 9
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
mov al, byte [esi - 1]
mov byte [esi - 2], dl
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, byte [edi]
sub edx, ecx
mov cl, byte [edx + ebp + 0x60ef03]
xor edx, edx
add cl, al
mov al, byte [esi]
mov byte [esi - 1], cl
mov dl, byte [edi + 1]
mov ecx, eax
and ecx, 0xff
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
xor eax, eax
mov byte [esi], dl
mov al, byte [edi + 6]
shl eax, 8
xor edx, edx
mov cl, byte [eax + ebx + 0xa2ee04]
mov al, byte [esi + 1]
mov dl, byte [edi + 3]
mov ebp, ecx
mov ecx, eax
and ecx, 0xff
shl ebp, 9
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
mov al, byte [esi + 2]
mov byte [esi + 1], dl
mov cl, byte [edi + 4]
mov edx, eax
and edx, 0xff
sub ecx, edx
xor edx, edx
mov cl, byte [ecx + ebp + 0x60ef03]
add cl, al
mov al, byte [esi + 3]
mov byte [esi + 2], cl
mov dl, byte [edi + 5]
mov ecx, eax
and ecx, 0xff
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
xor eax, eax
mov byte [esi + 3], dl
mov al, byte [edi + 0xa]
shl eax, 8
mov cl, byte [eax + ebx + 0xa2ee04]
mov al, byte [esi + 4]
mov ebp, ecx
shl ebp, 9
xor edx, edx
mov dl, byte [edi + 7]
mov ecx, eax
and ecx, 0xff
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
mov al, byte [esi + 5]
mov byte [esi + 4], dl
mov cl, byte [edi + 8]
mov edx, eax
and edx, 0xff
sub ecx, edx
xor edx, edx
mov cl, byte [ecx + ebp + 0x60ef03]
add cl, al
mov al, byte [esi + 6]
mov byte [esi + 5], cl
mov dl, byte [edi + 9]
mov ecx, eax
and ecx, 0xff
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
xor eax, eax
mov byte [esi + 6], dl
mov al, byte [edi + 0xe]
shl eax, 8
xor edx, edx
mov cl, byte [eax + ebx + 0xa2ee04]
mov al, byte [esi + 7]
mov dl, byte [edi + 0xb]
mov ebp, ecx
mov ecx, eax
and ecx, 0xff
shl ebp, 9
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
mov al, byte [esi + 8]
mov byte [esi + 7], dl
mov cl, byte [edi + 0xc]
mov edx, eax
and edx, 0xff
sub ecx, edx
xor edx, edx
mov cl, byte [ecx + ebp + 0x60ef03]
add cl, al
mov al, byte [esi + 9]
mov byte [esi + 8], cl
mov dl, byte [edi + 0xd]
mov ecx, eax
and ecx, 0xff
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
xor eax, eax
mov byte [esi + 9], dl
mov al, byte [edi + 0x12]
shl eax, 8
xor edx, edx
mov cl, byte [eax + ebx + 0xa2ee04]
mov al, byte [esi + 0xa]
mov dl, byte [edi + 0xf]
mov ebp, ecx
mov ecx, eax
and ecx, 0xff
shl ebp, 9
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
mov al, byte [esi + 0xb]
mov byte [esi + 0xa], dl
mov cl, byte [edi + 0x10]
mov edx, eax
and edx, 0xff
sub ecx, edx
mov cl, byte [ecx + ebp + 0x60ef03]
add cl, al
mov al, byte [esi + 0xc]
mov byte [esi + 0xb], cl
xor edx, edx
mov dl, byte [edi + 0x11]
mov ecx, eax
and ecx, 0xff
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
xor eax, eax
mov byte [esi + 0xc], dl
mov al, byte [edi + 0x16]
shl eax, 8
xor edx, edx
mov cl, byte [eax + ebx + 0xa2ee04]
mov al, byte [esi + 0xd]
mov dl, byte [edi + 0x13]
mov ebp, ecx
mov ecx, eax
and ecx, 0xff
sub edx, ecx
xor ecx, ecx
shl ebp, 9
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
mov al, byte [esi + 0xe]
mov byte [esi + 0xd], dl
mov cl, byte [edi + 0x14]
mov edx, eax
and edx, 0xff
sub ecx, edx
xor edx, edx
mov cl, byte [ecx + ebp + 0x60ef03]
add cl, al
mov al, byte [esi + 0xf]
mov byte [esi + 0xe], cl
mov dl, byte [edi + 0x15]
mov ecx, eax
and ecx, 0xff
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
xor eax, eax
mov byte [esi + 0xf], dl
mov al, byte [edi + 0x1a]
shl eax, 8
xor edx, edx
mov cl, byte [eax + ebx + 0xa2ee04]
mov al, byte [esi + 0x10]
mov dl, byte [edi + 0x17]
mov ebp, ecx
mov ecx, eax
and ecx, 0xff
shl ebp, 9
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
mov al, byte [esi + 0x11]
mov byte [esi + 0x10], dl
mov cl, byte [edi + 0x18]
mov edx, eax
and edx, 0xff
sub ecx, edx
xor edx, edx
mov cl, byte [ecx + ebp + 0x60ef03]
add cl, al
mov al, byte [esi + 0x12]
mov byte [esi + 0x11], cl
mov dl, byte [edi + 0x19]
mov ecx, eax
and ecx, 0xff
sub edx, ecx
mov dl, byte [edx + ebp + 0x60ef03]
add dl, al
mov eax, dword [esp + 0x14]
mov byte [esi + 0x12], dl
add eax, 0x18
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add esi, 0x18
add edx, 0x20
add edi, 0x20
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
jne 0x4cf53b
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov ebp, edx
test edi, edi
jle 0x4cf92e
lea esi, [ecx + 2]
lea eax, [ebp + 1]
mov dword [esp + 0x18], edi
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 2]
add eax, 4
shl ecx, 8
add esi, 3
mov dl, byte [ecx + ebx + 0xa2ee04]
mov cl, byte [esi - 5]
mov edi, edx
xor edx, edx
mov dl, byte [eax - 5]
and ecx, 0xff
shl edi, 9
sub edx, ecx
mov cl, byte [edx + edi + 0x60ef03]
mov dl, byte [esi - 5]
add cl, dl
xor edx, edx
mov byte [esi - 5], cl
mov cl, byte [esi - 4]
mov dl, byte [eax - 4]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + edi + 0x60ef03]
mov dl, byte [esi - 4]
add cl, dl
xor edx, edx
mov byte [esi - 4], cl
mov cl, byte [esi - 3]
mov dl, byte [eax - 3]
and ecx, 0xff
sub edx, ecx
mov cl, byte [edx + edi + 0x60ef03]
mov dl, byte [esi - 3]
add cl, dl
mov byte [esi - 3], cl
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x18], ecx
jne 0x4cf89e
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add ecx, esi
add ebp, edx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], eax
jne 0x4cf523
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x90
ret
mov edx, dword [esp + 0x8c]
lea eax, [edx*4]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x9c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x90]
test esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], edx
jle 0x4cfae6
add ecx, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
jmp 0x4cf9db
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
add edx, esi
mov dword [esp + 0x14], edx
js 0x4cf9fb
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
add ebp, edi
sub edx, esi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
test ebx, ebx
mov dword [esp + 0x10], edx
jle 0x4cfabf
mov eax, ecx
mov edi, ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
add ecx, edx
mov dword [esp + 0x10], ecx
js 0x4cfa30
mov edx, dword [esp + 0x48]
add ebp, 4
sub ecx, edx
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xb4]
xor ecx, ecx
mov cl, byte [ebp + 3]
xor edx, edx
shl ecx, 8
xor ebx, ebx
add eax, 3
mov dl, byte [ecx + esi + 0xa2ee04]
mov cl, byte [eax - 5]
mov bl, byte [ebp]
mov esi, edx
mov edx, ecx
and edx, 0xff
shl esi, 9
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
add dl, cl
mov cl, byte [eax - 4]
mov byte [eax - 5], dl
xor edx, edx
mov dl, byte [ebp + 1]
mov ebx, ecx
and ebx, 0xff
sub edx, ebx
mov dl, byte [edx + esi + 0x60ef03]
add dl, cl
mov cl, byte [eax - 3]
mov byte [eax - 4], dl
xor edx, edx
mov dl, byte [ebp + 2]
mov ebx, ecx
and ebx, 0xff
sub edx, ebx
mov dl, byte [edx + esi + 0x60ef03]
mov esi, dword [esp + 0x30]
add dl, cl
add ebp, esi
mov byte [eax - 3], dl
dec edi
jne 0x4cfa13
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
add ecx, esi
dec edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jne 0x4cf9d7
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x90
ret