Function at 0x4ebc20
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x9c
push ebx
mov ebx, 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
mov eax, dword [esp + 0xc0]
push ecx
push edx
push ebx
push eax
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4ebc74
mov eax, 1
pop ebx
add esp, 0x9c
ret
mov ebx, dword [ebx + 8]
mov edx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov ebx, dword [ebx + 8]
push ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov ebx, edx
push esi
imul ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x48], edx
sub esi, ebp
imul ebp, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x64]
lea edx, [eax + eax*2]
push edi
mov edi, dword [esp + 0x74]
add ebx, edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
add ebx, dword [edx + 4]
mov edx, dword [esp + 0xbc]
sub edi, ecx
lea ecx, [ecx + ecx*2]
add ebp, ecx
mov ecx, dword [edx + 4]
add ebp, ecx
mov cl, byte [esp + 0x58]
test cl, cl
je 0x4ec0d2
mov edx, edi
mov ecx, edi
sar edx, 3
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x64]
and ecx, 7
sub eax, edx
mov edx, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x1c], ecx
lea edx, [edx + eax*2]
add eax, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, ecx
sub eax, edi
lea edx, [edx + eax*2]
add eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
test esi, esi
mov dword [esp + 0x20], eax
jle 0x4ec22e
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x2c]
test edx, edx
jle 0x4ec012
and eax, 0xf
lea esi, [ebp + 5]
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
add eax, 6
lea edi, [ebx + 5]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov al, byte [ebp]
xor edx, edx
mov dl, byte [ebx]
mov ecx, eax
and ecx, 0xff
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi - 4]
mov edx, eax
mov byte [ebp], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi - 4]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi - 3]
mov ecx, eax
mov byte [esi - 4], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi - 3]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov byte [esi - 3], cl
mov al, byte [esi - 2]
mov edx, eax
xor ecx, ecx
mov cl, byte [edi - 2]
and edx, 0xff
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi - 1]
mov ecx, eax
mov byte [esi - 2], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi - 1]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi]
mov edx, eax
mov byte [esi - 1], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov byte [esi], dl
mov al, byte [esi + 1]
mov ecx, eax
xor edx, edx
mov dl, byte [edi + 1]
and ecx, 0xff
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi + 2]
mov edx, eax
mov byte [esi + 1], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi + 2]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi + 3]
mov byte [esi + 2], dl
mov ecx, eax
xor edx, edx
mov dl, byte [edi + 3]
and ecx, 0xff
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov byte [esi + 3], cl
mov al, byte [esi + 4]
mov edx, eax
xor ecx, ecx
mov cl, byte [edi + 4]
and edx, 0xff
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi + 5]
mov ecx, eax
mov byte [esi + 4], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi + 5]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi + 6]
mov edx, eax
mov byte [esi + 5], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi + 6]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
mov ecx, dword [esp + 0x10]
add dl, al
mov eax, dword [esp + 0x14]
add eax, 0xfffffffe
mov byte [esi + 6], dl
mov edx, dword [esp + 0xc0]
and eax, 0xf
add eax, ecx
xor ecx, ecx
mov cl, byte [eax + edx]
lea eax, [edi + 7]
push ecx
push eax
lea ecx, [esi + 7]
call fcn.004d1f10
mov al, byte [esi + 0xa]
xor edx, edx
mov dl, byte [edi + 0xa]
mov ecx, eax
and ecx, 0xff
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi + 0xb]
mov edx, eax
mov byte [esi + 0xa], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi + 0xb]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi + 0xc]
mov ecx, eax
mov byte [esi + 0xb], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi + 0xc]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
and edx, 0xf
mov byte [esi + 0xc], cl
mov ecx, dword [esp + 0xc0]
add edx, eax
xor eax, eax
mov al, byte [edx + ecx]
lea edx, [edi + 0xd]
push eax
push edx
lea ecx, [esi + 0xd]
call fcn.004d1f10
mov al, byte [esi + 0x10]
xor edx, edx
mov dl, byte [edi + 0x10]
mov ecx, eax
and ecx, 0xff
add ebp, 0x18
shl ecx, 1
sub edx, ecx
add esi, 0x18
add ebx, 0x18
add edi, 0x18
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi - 7]
mov edx, eax
mov byte [esi - 8], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi - 7]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi - 6]
mov ecx, eax
mov byte [esi - 7], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi - 6]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov eax, dword [esp + 0x18]
mov byte [esi - 6], cl
mov ecx, dword [esp + 0x14]
add ecx, 8
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x4ebd6f
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x4ec0a1
mov eax, ebx
mov edi, ebx
sub eax, ebp
lea esi, [ebp + 1]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov al, byte [esi - 1]
xor ecx, ecx
mov cl, byte [edi]
mov edx, eax
and edx, 0xff
add edi, 3
shl edx, 1
sub ecx, edx
add esi, 3
mov dl, byte [ecx + 0x60ef03]
xor ecx, ecx
add dl, al
mov al, byte [esi - 3]
mov byte [esi - 4], dl
mov edx, dword [esp + 0x18]
mov cl, byte [edx + esi - 3]
mov edx, eax
and edx, 0xff
shl edx, 1
sub ecx, edx
mov cl, byte [ecx + 0x60ef03]
add cl, al
mov al, byte [esi - 2]
mov edx, eax
mov byte [esi - 3], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi - 1]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov eax, dword [esp + 0x10]
mov byte [esi - 2], dl
dec eax
mov dword [esp + 0x10], eax
jne 0x4ec02b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
add ebp, eax
mov eax, dword [esp + 0x20]
add ebx, edi
inc eax
dec edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jne 0x4ebd44
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x9c
ret
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
lea eax, [eax + eax*2]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa8]
imul eax, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x9c]
test esi, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edx
jle 0x4ec22e
add ebp, 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
add ecx, edx
mov dword [esp + 0x1c], ecx
js 0x4ec165
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
add ebx, esi
sub ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebx
test edi, edi
mov dword [esp + 0x18], ecx
jle 0x4ec20a
mov esi, ebp
mov ebp, edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x18], eax
js 0x4ec19a
mov ecx, dword [esp + 0x44]
add ebx, 3
sub eax, ecx
mov dword [esp + 0x18], eax
mov al, byte [esi - 2]
xor ecx, ecx
mov cl, byte [ebx]
mov edx, eax
and edx, 0xff
add esi, 3
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi - 4]
mov ecx, eax
mov byte [esi - 5], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [ebx + 1]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi - 3]
mov edx, eax
mov byte [esi - 4], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [ebx + 2]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov byte [esi - 3], dl
mov edx, dword [esp + 0x34]
add ebx, edx
dec ebp
jne 0x4ec17d
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
add ebp, edx
dec ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ecx
jne 0x4ec145
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x9c
ret