Function at 0x4d1260
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 0x4d12b6
pop edi
mov eax, 1
pop ebp
add esp, 0x90
ret
mov eax, dword [edi + 8]
mov edi, dword [ebp + 8]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
imul ebp, eax
push ebx
push esi
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], edi
sub esi, ecx
imul ecx, dword [esp + 0x10]
lea edi, [eax + eax*2]
mov edx, dword [esp + 0x68]
add ebp, edi
mov edi, dword [esp + 0xa8]
sub edx, ebx
add ebp, dword [edi + 4]
lea edi, [ebx + ebx*2]
add ecx, edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x2c], edx
mov ebx, dword [edi + 4]
add ecx, ebx
mov bl, byte [esp + 0x4c]
test bl, bl
je 0x4d1746
mov edi, dword [esp + 0x58]
mov ebx, edx
and ebx, 7
sub eax, edi
mov edi, dword [esp + 0x1c]
add eax, ebx
sar edx, 3
lea edi, [edi + eax*2]
mov dword [esp + 0x18], ebx
add eax, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, ebx
sub eax, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], edx
lea edi, [edi + eax*2]
add eax, edi
test esi, esi
mov dword [esp + 0x20], eax
jle 0x4d18ac
mov dword [esp + 0x1c], esi
test edx, edx
jle 0x4d1680
mov esi, dword [esp + 0xb4]
lea eax, [ecx + 4]
shl esi, 9
lea edi, [ebp + 4]
mov dword [esp + 0x10], edx
mov dl, byte [eax - 2]
xor ebx, ebx
mov bl, byte [edi - 2]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 2]
add dl, bl
xor ebx, ebx
mov byte [eax - 2], dl
mov dl, byte [eax - 3]
mov bl, byte [edi - 3]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 3]
add dl, bl
xor ebx, ebx
mov byte [eax - 3], dl
mov dl, byte [ecx]
mov bl, byte [ebp]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [ecx]
add dl, bl
xor ebx, ebx
mov byte [ecx], dl
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 1]
add dl, bl
xor ebx, ebx
mov byte [eax + 1], dl
mov dl, byte [eax]
mov bl, byte [edi]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax]
add dl, bl
xor ebx, ebx
mov byte [eax], dl
mov dl, byte [eax - 1]
mov bl, byte [edi - 1]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 1]
add dl, bl
xor ebx, ebx
mov byte [eax - 1], dl
mov dl, byte [eax + 4]
mov bl, byte [edi + 4]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 4]
add dl, bl
xor ebx, ebx
mov byte [eax + 4], dl
mov dl, byte [eax + 3]
mov bl, byte [edi + 3]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 3]
add dl, bl
xor ebx, ebx
mov byte [eax + 3], dl
mov dl, byte [eax + 2]
mov bl, byte [edi + 2]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 2]
add dl, bl
mov byte [eax + 2], dl
mov dl, byte [eax + 7]
xor ebx, ebx
mov bl, byte [edi + 7]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 7]
add dl, bl
xor ebx, ebx
mov byte [eax + 7], dl
mov dl, byte [eax + 6]
mov bl, byte [edi + 6]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 6]
add dl, bl
xor ebx, ebx
mov byte [eax + 6], dl
mov dl, byte [eax + 5]
mov bl, byte [edi + 5]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 5]
add dl, bl
xor ebx, ebx
mov byte [eax + 5], dl
mov dl, byte [eax + 0xa]
mov bl, byte [edi + 0xa]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 0xa]
add dl, bl
xor ebx, ebx
mov byte [eax + 0xa], dl
mov dl, byte [eax + 9]
mov bl, byte [edi + 9]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 9]
add dl, bl
xor ebx, ebx
mov byte [eax + 9], dl
mov dl, byte [eax + 8]
mov bl, byte [edi + 8]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 8]
add dl, bl
xor ebx, ebx
mov byte [eax + 8], dl
mov dl, byte [eax + 0xd]
mov bl, byte [edi + 0xd]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 0xd]
add dl, bl
xor ebx, ebx
mov byte [eax + 0xd], dl
mov dl, byte [eax + 0xc]
mov bl, byte [edi + 0xc]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 0xc]
add dl, bl
xor ebx, ebx
mov byte [eax + 0xc], dl
mov dl, byte [eax + 0xb]
mov bl, byte [edi + 0xb]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 0xb]
add dl, bl
mov byte [eax + 0xb], dl
mov dl, byte [eax + 0x10]
xor ebx, ebx
mov bl, byte [edi + 0x10]
and edx, 0xff
sub ebx, edx
add ecx, 0x18
add eax, 0x18
add ebp, 0x18
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 8]
add dl, bl
xor ebx, ebx
mov byte [eax - 8], dl
mov dl, byte [eax - 9]
mov bl, byte [edi + 0xf]
and edx, 0xff
sub ebx, edx
add edi, 0x18
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 9]
add dl, bl
xor ebx, ebx
mov byte [eax - 9], dl
mov dl, byte [eax - 0xa]
mov bl, byte [edi - 0xa]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 0xa]
add dl, bl
xor ebx, ebx
mov byte [eax - 0xa], dl
mov dl, byte [eax - 5]
mov bl, byte [edi - 5]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 5]
add dl, bl
xor ebx, ebx
mov byte [eax - 5], dl
mov dl, byte [eax - 6]
mov bl, byte [edi - 6]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 6]
add dl, bl
xor ebx, ebx
mov byte [eax - 6], dl
mov dl, byte [eax - 7]
mov bl, byte [edi - 7]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 7]
add dl, bl
mov byte [eax - 7], dl
mov edx, dword [esp + 0x10]
dec edx
mov dword [esp + 0x10], edx
jne 0x4d137c
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test ebx, ebx
jle 0x4d171e
mov esi, dword [esp + 0xb4]
mov edx, ebp
shl esi, 9
sub edx, ecx
mov eax, ebp
lea edi, [ecx + 2]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ebx
jmp 0x4d16a9
mov edx, dword [esp + 0x24]
xor ebx, ebx
add eax, 3
mov bl, byte [edx + edi]
mov dl, byte [edi]
and edx, 0xff
add edi, 3
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [edi - 3]
add dl, bl
xor ebx, ebx
mov byte [edi - 3], dl
mov dl, byte [edi - 4]
mov bl, byte [eax - 2]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [edi - 4]
add dl, bl
xor ebx, ebx
mov byte [edi - 4], dl
mov dl, byte [edi - 5]
mov bl, byte [eax - 3]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [edi - 5]
add dl, bl
mov byte [edi - 5], dl
mov edx, dword [esp + 0x10]
dec edx
mov dword [esp + 0x10], edx
jne 0x4d16a5
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add ecx, edi
add ebp, esi
dec eax
mov dword [esp + 0x1c], eax
jne 0x4d1360
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x90
ret
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x84]
lea eax, [eax + eax*2]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
imul eax, dword [esp + 0x9c]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x90]
test esi, esi
mov dword [esp + 0x18], edi
jle 0x4d18ac
inc ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
add esi, edi
mov dword [esp + 0x18], esi
js 0x4d17d7
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
add ebp, ebx
sub esi, edi
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x44], ebp
test edx, edx
mov dword [esp + 0x14], esi
jle 0x4d1888
mov esi, dword [esp + 0xb4]
mov eax, ecx
shl esi, 9
mov edi, edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
add ecx, edx
mov dword [esp + 0x14], ecx
js 0x4d1816
mov edx, dword [esp + 0x30]
add ebp, 3
sub ecx, edx
mov dword [esp + 0x14], ecx
mov dl, byte [eax + 1]
xor ecx, ecx
mov cl, byte [ebp + 2]
mov ebx, edx
and ebx, 0xff
add eax, 3
sub ecx, ebx
mov cl, byte [ecx + esi + 0x60ef03]
add cl, dl
mov dl, byte [eax - 3]
mov byte [eax - 2], cl
xor ecx, ecx
mov cl, byte [ebp + 1]
mov ebx, edx
and ebx, 0xff
sub ecx, ebx
mov cl, byte [ecx + esi + 0x60ef03]
add cl, dl
mov dl, byte [eax - 4]
mov byte [eax - 3], cl
xor ecx, ecx
mov cl, byte [ebp]
mov ebx, edx
and ebx, 0xff
sub ecx, ebx
mov ebx, dword [esp + 0x34]
add ebp, ebx
mov cl, byte [ecx + esi + 0x60ef03]
add cl, dl
dec edi
mov byte [eax - 4], cl
jne 0x4d17f9
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
lea ebp, [ecx + eax]
mov ecx, dword [esp + 0x20]
add ecx, edi
dec esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
jne 0x4d17b7
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x90
ret