Function at 0x4ddad0
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 0x4ddb26
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 + 0x24], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
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 0x4dded2
mov eax, ebp
mov edi, ebp
sar eax, 3
mov dword [esp + 0x34], 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 + 0x38], eax
jle 0x4de065
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x4ddd9c
lea esi, [ecx + 0x1a]
lea edi, [edx + 0x19]
mov dword [esp + 0x20], eax
jmp 0x4ddbfd
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ebp
push ebx
push edx
call fcn.004ee040
push ebp
lea ecx, [edi - 0x15]
push ebx
push ecx
lea ecx, [esi - 0x16]
call fcn.004ee040
push ebp
lea edx, [edi - 0x11]
push ebx
push edx
lea ecx, [esi - 0x12]
call fcn.004ee040
push ebp
lea eax, [edi - 0xd]
push ebx
push eax
lea ecx, [esi - 0xe]
call fcn.004ee040
push ebp
lea ecx, [edi - 9]
push ebx
push ecx
lea ecx, [esi - 0xa]
call fcn.004ee040
push ebp
lea edx, [edi - 5]
push ebx
push edx
lea ecx, [esi - 6]
call fcn.004ee040
xor eax, eax
xor ecx, ecx
mov al, byte [edi + 2]
xor edx, edx
mov dl, byte [esi + 1]
shl eax, 8
shl edx, 8
mov ch, byte [eax + ebx + 0xa2ee04]
mov eax, ecx
xor ecx, ecx
mov ch, byte [edx + ebp + 0xa2ee04]
xor edx, edx
mov dl, byte [edi - 1]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dl, byte [edx + eax + 0xa2ee04]
mov cl, byte [esi - 2]
mov eax, dword [esp + 0x18]
add dl, byte [ecx + eax + 0xa2ee04]
xor ecx, ecx
mov cl, byte [esi - 1]
mov byte [esi - 2], dl
xor edx, edx
mov cl, byte [ecx + eax + 0xa2ee04]
mov dl, byte [edi]
mov eax, dword [esp + 0x14]
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 + 0x18]
add dl, byte [ecx + eax + 0xa2ee04]
xor ecx, ecx
mov byte [esi + 1], 0xff
xor eax, eax
mov byte [esi], dl
mov cl, byte [edi + 6]
shl ecx, 8
xor edx, edx
mov ah, byte [ecx + ebx + 0xa2ee04]
mov dl, byte [esi + 5]
mov dword [esp + 0x18], eax
shl edx, 8
xor ecx, ecx
mov ch, byte [edx + ebp + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 3]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dl, byte [edx + eax + 0xa2ee04]
mov cl, byte [esi + 2]
mov eax, dword [esp + 0x14]
add dl, byte [ecx + eax + 0xa2ee04]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov byte [esi + 2], dl
mov cl, byte [edi + 4]
xor edx, edx
mov cl, byte [ecx + eax + 0xa2ee04]
mov dl, byte [esi + 3]
mov eax, dword [esp + 0x14]
add cl, byte [edx + eax + 0xa2ee04]
mov eax, dword [esp + 0x18]
xor edx, edx
mov dl, byte [esi + 4]
mov byte [esi + 3], cl
xor ecx, ecx
mov cl, byte [edi + 5]
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 + 5], 0xff
add edx, eax
mov byte [esi + 4], 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 0x4ddbf5
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
test edi, edi
jle 0x4ddea2
mov esi, edx
mov dword [esp + 0x10], edx
sub esi, ecx
lea eax, [ecx + 1]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
jmp 0x4dddbd
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov cl, byte [esi + eax + 2]
add eax, 4
mov esi, ecx
xor ecx, ecx
shl esi, 8
mov ch, byte [esi + ebx + 0xa2ee04]
mov esi, ecx
xor ecx, ecx
mov cl, byte [eax - 2]
mov dword [esp + 0x28], esi
mov edi, ecx
xor ecx, ecx
shl edi, 8
mov ch, byte [edi + ebp + 0xa2ee04]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cl, byte [edi]
mov edi, ecx
xor ecx, ecx
mov cl, byte [eax - 5]
mov dword [esp + 0x30], ecx
mov cl, byte [edi + esi + 0xa2ee04]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
add cl, byte [edi + esi + 0xa2ee04]
mov edi, dword [esp + 0x20]
mov byte [eax - 5], cl
xor ecx, ecx
mov cl, byte [eax - 4]
mov esi, ecx
xor ecx, ecx
mov cl, byte [edi + eax - 4]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov cl, byte [esi + edi + 0xa2ee04]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
add cl, byte [edi + esi + 0xa2ee04]
mov edi, dword [esp + 0x10]
mov byte [eax - 4], cl
xor ecx, ecx
mov cl, byte [edi + 2]
mov edi, ecx
xor ecx, ecx
mov cl, byte [eax - 3]
mov dword [esp + 0x28], ecx
mov cl, byte [edi + esi + 0xa2ee04]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
add cl, byte [edi + esi + 0xa2ee04]
mov edi, dword [esp + 0x10]
mov byte [eax - 2], 0xff
add edi, 4
mov byte [eax - 3], cl
mov ecx, dword [esp + 0x18]
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
jne 0x4dddb9
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x24]
add edx, esi
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
jne 0x4ddbdd
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 + 0x28], edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x9c]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x88]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x90]
test esi, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], edi
jle 0x4de065
add ecx, 2
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ecx
jmp 0x4ddf4b
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
add esi, edi
mov dword [esp + 0x1c], esi
js 0x4ddf6b
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x38]
add edx, ebx
sub esi, edi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x44], edx
test ebp, ebp
mov dword [esp + 0x10], esi
jle 0x4de03e
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
add ecx, esi
mov dword [esp + 0x10], ecx
js 0x4ddf9e
mov esi, dword [esp + 0x34]
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 - 3]
mov esi, ebx
shl ecx, 8
xor ebx, ebx
mov bh, byte [ecx + edi + 0xa2ee04]
xor ecx, ecx
mov cl, byte [edx]
mov edi, ebx
xor ebx, ebx
mov bl, byte [eax - 6]
mov cl, byte [ecx + esi + 0xa2ee04]
add cl, byte [ebx + edi + 0xa2ee04]
xor ebx, ebx
mov bl, byte [eax - 5]
mov byte [eax - 6], 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 - 4]
mov byte [eax - 5], cl
xor ecx, ecx
mov cl, byte [edx + 2]
mov cl, byte [ecx + esi + 0xa2ee04]
add cl, byte [ebx + edi + 0xa2ee04]
mov edi, dword [esp + 0x20]
mov byte [eax - 3], 0xff
add edx, edi
mov byte [eax - 4], cl
dec ebp
jne 0x4ddf81
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
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 + 0x24], ecx
mov dword [esp + 0x2c], edx
jne 0x4ddf47
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x90
ret