Function at 0x4da230
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 0x4da286
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 + 0x20], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
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 0x4da61f
mov eax, ebp
mov edi, ebp
sar eax, 3
mov dword [esp + 0x38], 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 0x4da7a9
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x4da4f2
lea esi, [ecx + 0x1a]
lea edi, [edx + 0x19]
mov dword [esp + 0x28], eax
jmp 0x4da35d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ebp
push ebx
push edx
call fcn.004edd20
push ebp
lea ecx, [edi - 0x15]
push ebx
push ecx
lea ecx, [esi - 0x16]
call fcn.004edd20
push ebp
lea edx, [edi - 0x11]
push ebx
push edx
lea ecx, [esi - 0x12]
call fcn.004edd20
push ebp
lea eax, [edi - 0xd]
push ebx
push eax
lea ecx, [esi - 0xe]
call fcn.004edd20
push ebp
lea ecx, [edi - 9]
push ebx
push ecx
lea ecx, [esi - 0xa]
call fcn.004edd20
push ebp
lea edx, [edi - 5]
push ebx
push edx
lea ecx, [esi - 6]
call fcn.004edd20
xor eax, eax
xor ecx, ecx
mov al, byte [edi + 2]
xor edx, edx
mov dh, byte [ebp + 0xa3ed04]
shl eax, 8
mov dword [esp + 0x14], edx
xor edx, edx
mov ch, byte [eax + ebx + 0xa2ee04]
mov dl, byte [esi - 2]
mov eax, ecx
xor ecx, ecx
mov cl, byte [edi - 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx + eax + 0xa2ee04]
mov ecx, dword [esp + 0x14]
add al, byte [edx + ecx + 0xa2ee04]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov byte [esi - 2], al
mov dl, byte [edi]
xor eax, eax
mov dl, byte [edx + ecx + 0xa2ee04]
mov al, byte [esi - 1]
mov ecx, dword [esp + 0x14]
add dl, byte [eax + ecx + 0xa2ee04]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov al, byte [esi]
mov byte [esi - 1], dl
xor edx, edx
mov dl, byte [edi + 1]
mov dl, byte [edx + ecx + 0xa2ee04]
mov ecx, dword [esp + 0x14]
add dl, byte [eax + ecx + 0xa2ee04]
mov byte [esi + 1], 0
xor eax, eax
xor ecx, ecx
mov byte [esi], dl
mov ch, byte [ebp + 0xa3ed04]
xor edx, edx
mov dword [esp + 0x14], ecx
mov dl, byte [edi + 6]
shl edx, 8
mov ah, byte [edx + ebx + 0xa2ee04]
xor edx, edx
mov dword [esp + 0x18], eax
mov dl, byte [edi + 3]
xor ecx, ecx
mov cl, byte [esi + 2]
mov dl, byte [edx + eax + 0xa2ee04]
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], 0
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 + 0x28]
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
jne 0x4da355
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
test edi, edi
jle 0x4da5ef
mov esi, edx
mov dword [esp + 0x10], edx
sub esi, ecx
lea eax, [ecx + 1]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edi
jmp 0x4da513
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov edi, dword [esp + 0x10]
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 dword [esp + 0x18], ecx
xor ecx, ecx
mov ch, byte [ebp + 0xa3ed04]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cl, byte [eax - 5]
mov esi, ecx
xor ecx, ecx
mov cl, byte [edi]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov cl, byte [esi + edi + 0xa2ee04]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
add cl, byte [edi + esi + 0xa2ee04]
mov edi, dword [esp + 0x28]
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 + 0x24], ecx
mov cl, byte [esi + edi + 0xa2ee04]
mov esi, dword [esp + 0x18]
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 + 2]
mov edi, ecx
xor ecx, ecx
mov cl, byte [eax - 3]
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 edi, dword [esp + 0x10]
mov byte [eax - 2], 0
add edi, 4
mov byte [eax - 3], cl
mov ecx, dword [esp + 0x30]
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], ecx
jne 0x4da50f
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 + 0x20]
add edx, esi
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jne 0x4da33d
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 + 0x28], 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 0x4da7a9
add ecx, 2
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ecx
jmp 0x4da698
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
add esi, edi
mov dword [esp + 0x1c], esi
js 0x4da6b8
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 0x4da782
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
add ecx, esi
mov dword [esp + 0x10], ecx
js 0x4da6eb
mov esi, dword [esp + 0x30]
add edx, 4
sub ecx, esi
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xb8]
xor ecx, ecx
xor ebx, ebx
mov cl, byte [edx + 3]
add eax, 4
shl ecx, 8
mov bh, byte [ecx + esi + 0xa2ee04]
xor ecx, ecx
mov ch, byte [edi + 0xa3ed04]
mov esi, ebx
mov edi, ecx
xor ecx, ecx
mov cl, byte [eax - 6]
xor ebx, ebx
mov bl, byte [edx]
mov cl, byte [ecx + edi + 0xa2ee04]
add cl, byte [ebx + esi + 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 + 0x28]
mov byte [eax - 3], 0
add edx, edi
mov byte [eax - 4], cl
dec ebp
jne 0x4da6ce
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
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 + 0x20], ecx
mov dword [esp + 0x2c], edx
jne 0x4da694
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x90
ret