Function at 0x4d2cd0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x98
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xa8]
push eax
push ecx
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x54]
push edx
mov edx, dword [esp + 0xc4]
push eax
push ecx
push edx
push esi
push ebp
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4d2d26
pop esi
mov eax, 1
pop ebp
add esp, 0x98
ret
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x5c]
sub eax, ecx
mov ecx, dword [esp + 0x6c]
imul ebx, edx
sub edi, ecx
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x44], eax
lea ebx, [ebx + edx*4]
add ebx, dword [esi + 4]
mov esi, dword [esp + 0x68]
lea ecx, [ecx + esi*4]
mov esi, dword [ebp + 4]
add ecx, esi
cmp byte [esp + 0x54], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
je 0x4d3248
mov ebp, eax
mov esi, eax
sar ebp, 3
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x60]
and esi, 7
sub edx, ebp
mov ebp, dword [esp + 0x20]
add edx, esi
mov dword [esp + 0x1c], esi
lea edx, [ebp + edx*4]
mov dword [esp + 0x2c], edx
mov edx, esi
sub edx, eax
mov eax, dword [esp + 0x10]
test edi, edi
lea edx, [eax + edx*4]
mov dword [esp + 0x30], edx
jle 0x4d340f
mov ebp, dword [esp + 0xbc]
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4d3146
lea edi, [ecx + 0xc]
lea esi, [ebx + 0x12]
mov dword [esp + 0x10], eax
push ebp
push ebx
call fcn.004ed930
lea ebx, [edi - 4]
lea eax, [esi - 0xe]
push ebp
push eax
lea ecx, [ebx - 4]
call fcn.004ed930
lea ecx, [esi - 0xa]
push ebp
push ecx
mov ecx, ebx
call fcn.004ed930
movzx dx, byte [esi - 4]
mov cx, word [esi - 6]
mov bl, byte [edi]
shl edx, 4
and edx, 0xffff
shl edx, 8
shl bl, 3
movzx ax, byte [edx + ebp + 0xa2ee04]
mov dl, cl
and eax, 0xffff
shl dl, 3
and edx, 0xff
and ebx, 0xff
mov dl, byte [edx + eax + 0xa2ee04]
add dl, byte [ebx + eax + 0x5f6e04]
mov ebx, ecx
shr ebx, 3
push edx
mov dx, word [edi]
and ebx, 0xfc
shr edx, 3
mov bl, byte [ebx + eax + 0xa2ee04]
and edx, 0xfc
add bl, byte [edx + eax + 0x5f6e04]
xor edx, edx
mov dl, ch
xor ecx, ecx
mov cl, byte [edi + 1]
and edx, 0xf8
and ecx, 0xf8
push ebx
mov dl, byte [edx + eax + 0xa2ee04]
mov bl, byte [ecx + eax + 0x5f6e04]
mov ecx, edi
add dl, bl
push edx
call fcn.004d3420
movzx ax, byte [esi]
mov cx, word [esi - 2]
mov dl, byte [edi + 4]
shl eax, 4
and eax, 0xffff
mov bl, cl
shl eax, 8
shl dl, 3
movzx ax, byte [eax + ebp + 0xa2ee04]
and eax, 0xffff
and edx, 0xff
shl bl, 3
mov dl, byte [edx + eax + 0x5f6e04]
and ebx, 0xff
add dl, byte [ebx + eax + 0xa2ee04]
mov ebx, ecx
shr ebx, 3
push edx
mov dx, word [edi + 4]
shr edx, 3
and edx, 0xfc
and ebx, 0xfc
mov dl, byte [edx + eax + 0x5f6e04]
add dl, byte [ebx + eax + 0xa2ee04]
push edx
xor edx, edx
mov dl, byte [edi + 5]
and edx, 0xf8
xor ebx, ebx
mov bl, ch
mov cl, byte [edx + eax + 0x5f6e04]
and ebx, 0xf8
add cl, byte [ebx + eax + 0xa2ee04]
push ecx
lea ecx, [edi + 4]
call fcn.004d3420
movzx dx, byte [esi + 4]
mov cx, word [edi + 8]
mov bl, byte [esi + 2]
shl edx, 4
and edx, 0xffff
shl edx, 8
shl bl, 3
movzx ax, byte [edx + ebp + 0xa2ee04]
mov dl, cl
and eax, 0xffff
shl dl, 3
and edx, 0xff
and ebx, 0xff
mov dl, byte [edx + eax + 0x5f6e04]
add dl, byte [ebx + eax + 0xa2ee04]
mov ebx, ecx
shr ebx, 3
push edx
mov dx, word [esi + 2]
shr edx, 3
and edx, 0xfc
and ebx, 0xfc
mov dl, byte [edx + eax + 0xa2ee04]
add dl, byte [ebx + eax + 0x5f6e04]
xor ebx, ebx
mov bl, ch
push edx
xor edx, edx
mov dl, byte [esi + 3]
and ebx, 0xf8
and edx, 0xf8
mov cl, byte [edx + eax + 0xa2ee04]
mov dl, byte [ebx + eax + 0x5f6e04]
add cl, dl
push ecx
lea ecx, [edi + 8]
call fcn.004d3420
movzx dx, byte [esi + 8]
shl edx, 4
mov cx, word [esi + 6]
and edx, 0xffff
shl edx, 8
mov bl, cl
movzx ax, byte [edx + ebp + 0xa2ee04]
mov dl, byte [edi + 0xc]
and eax, 0xffff
shl dl, 3
and edx, 0xff
shl bl, 3
mov dl, byte [edx + eax + 0x5f6e04]
and ebx, 0xff
add dl, byte [ebx + eax + 0xa2ee04]
mov ebx, ecx
shr ebx, 3
push edx
mov dx, word [edi + 0xc]
shr edx, 3
and edx, 0xfc
and ebx, 0xfc
mov dl, byte [edx + eax + 0x5f6e04]
add dl, byte [ebx + eax + 0xa2ee04]
xor ebx, ebx
mov bl, ch
push edx
xor edx, edx
mov dl, byte [edi + 0xd]
and ebx, 0xf8
and edx, 0xf8
mov cl, byte [edx + eax + 0x5f6e04]
mov dl, byte [ebx + eax + 0xa2ee04]
add cl, dl
push ecx
lea ecx, [edi + 0xc]
call fcn.004d3420
movzx dx, byte [esi + 0xc]
mov cx, word [edi + 0x10]
mov bl, byte [esi + 0xa]
shl edx, 4
and edx, 0xffff
shl edx, 8
shl bl, 3
movzx ax, byte [edx + ebp + 0xa2ee04]
mov dl, cl
and eax, 0xffff
shl dl, 3
and edx, 0xff
and ebx, 0xff
mov dl, byte [edx + eax + 0x5f6e04]
add dl, byte [ebx + eax + 0xa2ee04]
mov ebx, ecx
shr ebx, 3
push edx
mov dx, word [esi + 0xa]
and ebx, 0xfc
shr edx, 3
mov bl, byte [ebx + eax + 0x5f6e04]
and edx, 0xfc
add bl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov dl, ch
xor ecx, ecx
mov cl, byte [esi + 0xb]
and edx, 0xf8
and ecx, 0xf8
push ebx
mov dl, byte [edx + eax + 0x5f6e04]
mov bl, byte [ecx + eax + 0xa2ee04]
lea ecx, [edi + 0x10]
add dl, bl
push edx
call fcn.004d3420
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
add eax, 0x20
add edi, 0x20
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add ebx, 0x20
add esi, 0x20
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
jne 0x4d2de1
mov esi, dword [esp + 0x1c]
test esi, esi
jle 0x4d3218
mov edx, ebx
mov edi, ecx
sub edx, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], edx
jmp 0x4d3162
mov edx, dword [esp + 0x24]
movzx ax, byte [edx + edi + 2]
shl eax, 4
mov cl, byte [edi]
and eax, 0xffff
shl eax, 8
shl cl, 3
movzx si, byte [eax + ebp + 0xa2ee04]
mov ax, word [edx + edi]
and esi, 0xffff
mov dl, al
and ecx, 0xff
shl dl, 3
mov cl, byte [ecx + esi + 0x5f6e04]
and edx, 0xff
add cl, byte [edx + esi + 0xa2ee04]
mov edx, eax
shr edx, 3
push ecx
mov cx, word [edi]
shr ecx, 3
and ecx, 0xfc
and edx, 0xfc
mov cl, byte [ecx + esi + 0x5f6e04]
add cl, byte [edx + esi + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 1]
push ecx
xor ecx, ecx
mov cl, ah
and edx, 0xf8
and ecx, 0xf8
mov dl, byte [edx + esi + 0x5f6e04]
mov al, byte [ecx + esi + 0xa2ee04]
mov ecx, edi
add dl, al
push edx
call fcn.004d3420
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4d315e
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add ecx, edi
add ebx, edx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], eax
jne 0x4d2dcb
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x98
ret
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x88]
shl edx, 2
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x20]
imul edx, dword [esp + 0xa4]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x98]
test edi, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], esi
jle 0x4d340f
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
add esi, edi
mov dword [esp + 0x18], esi
js 0x4d32d4
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
add ebx, ebp
sub esi, edi
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x4c], ebx
test eax, eax
mov dword [esp + 0x1c], esi
jle 0x4d33ef
mov ebp, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x1c], eax
js 0x4d330b
mov ecx, dword [esp + 0x40]
add ebx, 4
sub eax, ecx
mov dword [esp + 0x1c], eax
movzx ax, byte [ebx + 2]
mov ecx, dword [esp + 0xbc]
xor edx, edx
shl eax, 4
and eax, 0xffff
add ebp, 4
shl eax, 8
movzx si, byte [eax + ecx + 0xa2ee04]
mov cx, word [ebx]
mov ax, word [ebp - 4]
mov dword [esp + 0x34], ecx
mov dl, ch
mov edi, dword [esp + 0x34]
xor ecx, ecx
and esi, 0xffff
and edx, 0xf8
mov cl, ah
mov dl, byte [edx + esi + 0xa2ee04]
and ecx, 0xf8
shr edi, 3
add dl, byte [ecx + esi + 0x5f6e04]
xor cx, cx
and edi, 0xfc
and dl, 0xf8
shr eax, 3
mov cl, dl
mov dl, byte [edi + esi + 0xa2ee04]
and eax, 0xfc
shl ecx, 5
add dl, byte [eax + esi + 0x5f6e04]
xor ax, ax
and dl, 0xfc
mov al, dl
mov dl, byte [ebp - 4]
or ecx, eax
mov al, byte [ebx]
shl dl, 3
and edx, 0xff
shl al, 3
mov dl, byte [edx + esi + 0x5f6e04]
and eax, 0xff
shl ecx, 3
add dl, byte [eax + esi + 0xa2ee04]
xor ax, ax
shr dl, 3
mov al, dl
mov edx, dword [esp + 0x38]
or ecx, eax
mov eax, dword [esp + 0x24]
mov word [ebp - 4], cx
add ebx, edx
dec eax
mov dword [esp + 0x24], eax
jne 0x4d32ee
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
add ecx, edi
lea ebx, [esi + edx]
mov esi, dword [esp + 0x28]
dec esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], esi
jne 0x4d32b4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x98
ret