Function at 0x4d2630
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x94
push ebp
mov ebp, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0xa4]
push eax
push ecx
mov ecx, dword [esp + 0xc0]
lea eax, [esp + 0x50]
push edx
mov edx, dword [esp + 0xc0]
push eax
push ecx
push edx
push edi
push ebp
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4d2686
pop edi
mov eax, 1
pop ebp
add esp, 0x94
ret
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
push ebx
mov ebx, dword [edi + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
imul ecx, ebx
push esi
mov esi, dword [esp + 0x70]
sub eax, edx
mov edx, dword [esp + 0x68]
sub esi, edx
imul edx, dword [esp + 0x14]
lea ebp, [ecx + edi*4]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ebx
add ebp, dword [ecx + 4]
mov ecx, dword [esp + 0x64]
lea edx, [edx + ecx*4]
mov ecx, dword [esp + 0xb4]
add edx, dword [ecx + 4]
xor ecx, ecx
cmp byte [esp + 0x50], cl
mov dword [esp + 0x10], edx
je 0x4d2b47
mov ebx, eax
and ebx, 7
mov dword [esp + 0x18], ebx
mov ebx, eax
sar ebx, 3
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x5c]
sub edi, ebx
mov ebx, dword [esp + 0x18]
add edi, ebx
mov ebx, dword [esp + 0x1c]
lea edi, [ebx + edi*4]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x18]
sub edi, eax
mov eax, dword [esp + 0x14]
cmp esi, ecx
lea eax, [eax + edi*4]
mov dword [esp + 0x28], eax
jle 0x4d2cb6
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x24]
cmp ebx, ecx
jle 0x4d2a70
mov esi, dword [esp + 0xb8]
lea eax, [edx + 6]
shl esi, 9
lea edi, [ebp + 6]
mov dword [esp + 0x14], ebx
mov dl, byte [edx]
xor ebx, ebx
mov bl, byte [ebp]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov ebx, dword [esp + 0x10]
add dl, byte [ebx]
mov byte [ebx], dl
mov dl, byte [eax - 5]
xor ebx, ebx
and edx, 0xff
mov bl, byte [edi - 5]
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 - 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
mov byte [eax - 3], cl
mov byte [eax - 4], dl
mov dl, byte [eax - 2]
xor ebx, ebx
and edx, 0xff
mov bl, byte [edi - 2]
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 - 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
mov byte [eax + 1], cl
mov byte [eax], dl
mov dl, byte [eax + 2]
xor ebx, ebx
and edx, 0xff
mov bl, byte [edi + 2]
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 [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
mov byte [eax + 5], cl
mov byte [eax + 4], dl
mov dl, byte [eax + 6]
xor ebx, ebx
and edx, 0xff
mov bl, byte [edi + 6]
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
xor ebx, ebx
mov byte [eax + 7], 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
mov byte [eax + 9], cl
mov byte [eax + 8], dl
mov dl, byte [eax + 0xa]
xor ebx, ebx
and edx, 0xff
mov bl, byte [edi + 0xa]
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 + 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
xor ebx, ebx
mov byte [eax + 0xb], 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
mov byte [eax + 0xd], cl
mov byte [eax + 0xc], dl
mov dl, byte [eax + 0xe]
xor ebx, ebx
and edx, 0xff
mov bl, byte [edi + 0xe]
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 0xe]
add dl, bl
xor ebx, ebx
mov byte [eax + 0xe], dl
mov dl, byte [eax + 0xf]
mov bl, byte [edi + 0xf]
and edx, 0xff
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax + 0xf]
add dl, bl
xor ebx, ebx
mov byte [eax + 0xf], dl
mov dl, byte [eax + 0x10]
mov bl, byte [edi + 0x10]
and edx, 0xff
sub ebx, edx
add eax, 0x20
add ebp, 0x20
add edi, 0x20
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 0x10]
add dl, bl
mov byte [eax - 0xf], cl
mov byte [eax - 0x10], dl
mov dl, byte [eax - 0xe]
xor ebx, ebx
and edx, 0xff
mov bl, byte [edi - 0xe]
sub ebx, edx
mov dl, byte [ebx + esi + 0x60ef03]
mov bl, byte [eax - 0xe]
add dl, bl
xor ebx, ebx
mov byte [eax - 0xe], 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
mov byte [eax - 0xb], cl
mov byte [eax - 0xc], dl
mov dl, byte [eax - 0xa]
xor ebx, ebx
and edx, 0xff
mov bl, byte [edi - 0xa]
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
mov ebx, dword [esp + 0x14]
mov byte [eax - 8], dl
mov edx, dword [esp + 0x10]
mov byte [eax - 7], cl
add edx, 0x20
dec ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
jne 0x4d2752
mov ebx, dword [esp + 0x18]
cmp ebx, ecx
jle 0x4d2b1b
mov eax, dword [esp + 0xb8]
mov esi, ebp
shl eax, 9
mov dword [esp + 0x10], eax
mov eax, ebp
sub eax, edx
lea edi, [edx + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov al, byte [edi - 1]
xor ebx, ebx
mov bl, byte [esi]
and eax, 0xff
sub ebx, eax
mov eax, dword [esp + 0x10]
add esi, 4
add edi, 4
mov al, byte [ebx + eax + 0x60ef03]
mov bl, byte [edi - 5]
add al, bl
mov ebx, dword [esp + 0x20]
mov byte [edi - 5], al
xor eax, eax
mov al, byte [ebx + edi - 4]
mov ebx, eax
mov al, byte [edi - 4]
and eax, 0xff
sub ebx, eax
mov eax, dword [esp + 0x10]
mov al, byte [ebx + eax + 0x60ef03]
mov bl, byte [edi - 4]
add al, bl
xor ebx, ebx
mov byte [edi - 4], al
mov al, byte [edi - 3]
mov bl, byte [esi - 2]
and eax, 0xff
sub ebx, eax
mov eax, dword [esp + 0x10]
mov al, byte [ebx + eax + 0x60ef03]
mov bl, byte [edi - 3]
add al, bl
mov byte [edi - 2], cl
mov byte [edi - 3], al
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4d2a9b
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
add edx, edi
add ebp, esi
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
jne 0x4d2732
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x94
ret
mov edi, dword [esp + 0x90]
shl edi, 2
mov dword [esp + 0x34], edi
mov edi, ebx
mov ebx, dword [esp + 0x84]
imul edi, dword [esp + 0xa0]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x94]
cmp esi, ecx
mov dword [esp + 0x38], edi
jle 0x4d2cb6
add edx, 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edx
jmp 0x4d2bba
mov ebx, dword [esp + 0x10]
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
js 0x4d2bd4
mov esi, dword [esp + 0x1c]
add ebp, esi
mov esi, dword [esp + 0x30]
sub ebx, esi
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x44]
cmp eax, ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], esi
jle 0x4d2c92
mov edi, dword [esp + 0xb8]
mov esi, edx
shl edi, 9
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
add eax, edx
mov dword [esp + 0x18], eax
js 0x4d2c15
mov edx, dword [esp + 0x4c]
add ebp, 4
sub eax, edx
mov dword [esp + 0x18], eax
mov al, byte [esi - 2]
xor ebx, ebx
mov bl, byte [ebp]
mov edx, eax
and edx, 0xff
add esi, 4
sub ebx, edx
mov dl, byte [ebx + edi + 0x60ef03]
add dl, al
mov al, byte [esi - 5]
mov byte [esi - 6], dl
xor edx, edx
mov dl, byte [ebp + 1]
mov ebx, eax
and ebx, 0xff
sub edx, ebx
mov dl, byte [edx + edi + 0x60ef03]
add dl, al
mov al, byte [esi - 4]
mov byte [esi - 5], dl
xor edx, edx
mov dl, byte [ebp + 2]
mov ebx, eax
and ebx, 0xff
sub edx, ebx
mov ebx, dword [esp + 0x34]
add ebp, ebx
mov dl, byte [edx + edi + 0x60ef03]
mov byte [esi - 3], cl
add dl, al
mov eax, dword [esp + 0x28]
mov byte [esi - 4], dl
dec eax
mov dword [esp + 0x28], eax
jne 0x4d2bf8
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
lea ebp, [edx + edi]
mov edx, dword [esp + 0x20]
add edx, ebx
dec esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], esi
jne 0x4d2bb6
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x94
ret