Function at 0x4dd530
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
sub esp, 0x90
push ebx
mov ebx, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xa0]
push eax
push ecx
mov ecx, dword [esp + 0xc0]
lea eax, [esp + 0x4c]
push edx
mov edx, dword [esp + 0xc0]
push eax
push ecx
push edx
push edi
push ebx
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4dd586
pop edi
mov eax, 1
pop ebx
add esp, 0x90
ret
mov ebx, dword [ebx + 8]
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
mov esi, dword [esp + 0x6c]
imul ebx, edx
sub esi, eax
imul eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
sub ebp, ecx
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0xb0]
lea edx, [edx + ebx*4]
add edx, dword [edi + 4]
mov dword [esp + 0x48], ebp
mov edi, dword [eax + 4]
mov al, byte [esp + 0x4c]
add ecx, edi
mov dword [esp + 0x10], edx
test al, al
mov dword [esp + 0x1c], ecx
je 0x4dd932
mov eax, ebp
mov edi, ebp
sar eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
and edi, 7
sub ebx, eax
mov eax, dword [esp + 0x14]
add ebx, edi
mov dword [esp + 0x2c], edi
lea eax, [eax + ebx*4]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, edi
sub eax, ebp
test esi, esi
lea eax, [ebx + eax*4]
mov dword [esp + 0x34], eax
jle 0x4ddac3
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x4dd7fe
lea esi, [ecx + 0x19]
lea edi, [edx + 0x1a]
mov dword [esp + 0x20], eax
jmp 0x4dd65d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ebp
push ebx
push edx
call fcn.004edfa0
push ebp
lea ecx, [edi - 0x16]
push ebx
push ecx
lea ecx, [esi - 0x15]
call fcn.004edfa0
push ebp
lea edx, [edi - 0x12]
push ebx
push edx
lea ecx, [esi - 0x11]
call fcn.004edfa0
push ebp
lea eax, [edi - 0xe]
push ebx
push eax
lea ecx, [esi - 0xd]
call fcn.004edfa0
push ebp
lea ecx, [edi - 0xa]
push ebx
push ecx
lea ecx, [esi - 9]
call fcn.004edfa0
push ebp
lea edx, [edi - 6]
push ebx
push edx
lea ecx, [esi - 5]
call fcn.004edfa0
xor eax, eax
xor ecx, ecx
mov al, byte [edi + 1]
xor edx, edx
mov dl, byte [esi + 2]
shl eax, 8
shl edx, 8
mov ch, byte [eax + ebx + 0xa2ee04]
xor eax, eax
mov ah, byte [edx + ebp + 0xa2ee04]
mov dword [esp + 0x18], ecx
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 1]
mov dl, byte [edi]
mov dword [esp + 0x14], eax
mov cl, byte [ecx + eax + 0xa2ee04]
mov eax, dword [esp + 0x18]
add cl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov byte [esi + 1], cl
mov dl, byte [edi - 1]
xor ecx, ecx
mov dl, byte [edx + eax + 0xa2ee04]
mov cl, byte [esi]
mov eax, dword [esp + 0x14]
add dl, byte [ecx + eax + 0xa2ee04]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov byte [esi], dl
mov cl, byte [edi - 2]
xor edx, edx
mov cl, byte [ecx + eax + 0xa2ee04]
mov dl, byte [esi - 1]
mov eax, dword [esp + 0x14]
add cl, byte [edx + eax + 0xa2ee04]
mov byte [esi + 2], 0xff
xor eax, eax
xor edx, edx
mov byte [esi - 1], cl
mov dl, byte [esi + 6]
xor ecx, ecx
mov cl, byte [edi + 5]
shl ecx, 8
shl edx, 8
mov ah, byte [ecx + ebx + 0xa2ee04]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov ch, byte [edx + ebp + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 4]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dl, byte [edx + eax + 0xa2ee04]
mov cl, byte [esi + 5]
mov eax, dword [esp + 0x14]
add dl, byte [ecx + eax + 0xa2ee04]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov byte [esi + 5], dl
mov cl, byte [edi + 3]
xor edx, edx
mov cl, byte [ecx + eax + 0xa2ee04]
mov dl, byte [esi + 4]
mov eax, dword [esp + 0x14]
add cl, byte [edx + eax + 0xa2ee04]
mov eax, dword [esp + 0x18]
xor edx, edx
mov dl, byte [esi + 3]
mov byte [esi + 4], cl
xor ecx, ecx
mov cl, byte [edi + 2]
mov cl, byte [ecx + eax + 0xa2ee04]
mov eax, dword [esp + 0x14]
add cl, byte [edx + eax + 0xa2ee04]
mov edx, dword [esp + 0x1c]
mov eax, 0x20
mov byte [esi + 6], 0xff
add edx, eax
mov byte [esi + 3], cl
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
add esi, eax
add edx, eax
add edi, eax
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jne 0x4dd655
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
test edi, edi
jle 0x4dd902
mov esi, edx
mov dword [esp + 0x10], edx
sub esi, ecx
lea eax, [ecx + 2]
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], edi
jmp 0x4dd81f
mov esi, dword [esp + 0x38]
xor ecx, ecx
mov cl, byte [esi + eax + 1]
add eax, 4
mov edi, ecx
xor ecx, ecx
shl edi, 8
mov ch, byte [edi + ebx + 0xa2ee04]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov cl, byte [eax - 3]
mov edi, ecx
xor ecx, ecx
shl edi, 8
mov ch, byte [edi + ebp + 0xa2ee04]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cl, byte [eax - 4]
mov edi, ecx
xor ecx, ecx
mov cl, byte [esi + eax - 4]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov cl, byte [edi + esi + 0xa2ee04]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
add cl, byte [edi + esi + 0xa2ee04]
mov edi, dword [esp + 0x10]
mov byte [eax - 4], cl
xor ecx, ecx
mov cl, byte [edi + 1]
mov edi, ecx
xor ecx, ecx
mov cl, byte [eax - 5]
mov dword [esp + 0x24], ecx
mov cl, byte [edi + esi + 0xa2ee04]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
add cl, byte [edi + esi + 0xa2ee04]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov byte [eax - 5], cl
xor ecx, ecx
mov cl, byte [esi]
mov esi, ecx
xor ecx, ecx
mov cl, byte [eax - 6]
mov dword [esp + 0x24], ecx
mov cl, byte [esi + edi + 0xa2ee04]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
add cl, byte [edi + esi + 0xa2ee04]
mov edi, dword [esp + 0x10]
mov byte [eax - 3], 0xff
add edi, 4
mov byte [eax - 6], cl
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
jne 0x4dd81b
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x28]
add edx, esi
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
jne 0x4dd63d
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x90
ret
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x80]
shl eax, 2
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x9c]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x90]
test esi, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], edi
jle 0x4ddac3
inc ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ecx
jmp 0x4dd9a9
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
add esi, edi
mov dword [esp + 0x1c], esi
js 0x4dd9c9
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
add edx, ebx
sub esi, edi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x44], edx
test ebp, ebp
mov dword [esp + 0x10], esi
jle 0x4dda9c
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
add ecx, esi
mov dword [esp + 0x10], ecx
js 0x4dd9fc
mov esi, dword [esp + 0x30]
add edx, 4
sub ecx, esi
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xb4]
xor ecx, ecx
mov cl, byte [edx + 3]
mov edi, dword [esp + 0xb8]
shl ecx, 8
xor ebx, ebx
add eax, 4
mov bh, byte [ecx + esi + 0xa2ee04]
xor ecx, ecx
mov cl, byte [eax - 2]
mov esi, ebx
shl ecx, 8
xor ebx, ebx
mov bh, byte [ecx + edi + 0xa2ee04]
xor ecx, ecx
mov cl, byte [edx + 2]
mov edi, ebx
xor ebx, ebx
mov bl, byte [eax - 3]
mov cl, byte [ecx + esi + 0xa2ee04]
add cl, byte [ebx + edi + 0xa2ee04]
xor ebx, ebx
mov bl, byte [eax - 4]
mov byte [eax - 3], cl
xor ecx, ecx
mov cl, byte [edx + 1]
mov cl, byte [ecx + esi + 0xa2ee04]
add cl, byte [ebx + edi + 0xa2ee04]
xor ebx, ebx
mov bl, byte [eax - 5]
mov byte [eax - 4], cl
xor ecx, ecx
mov cl, byte [edx]
mov cl, byte [ecx + esi + 0xa2ee04]
add cl, byte [ebx + edi + 0xa2ee04]
mov edi, dword [esp + 0x20]
mov byte [eax - 2], 0xff
add edx, edi
mov byte [eax - 5], cl
dec ebp
jne 0x4dd9df
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x2c]
add ecx, esi
dec edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jne 0x4dd9a5
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x90
ret