Function at 0x48ca80
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcfb6
mov eax, dword fs:[0]
push eax
sub esp, 0x95c
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x904], esi
mov dword [ebp - 0x900], esi
mov dword [ebp - 0x908], 0
push 0
lea eax, [ebp - 0x914]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x8f8]
mov dword [ebp - 0x8f0], 0
push eax
lea eax, [ebp - 0x8f0]
mov dword [ebp - 0x8f8], 0
push eax
mov dword [ebp - 0x8ec], 0
mov dword [ebp - 0x8f4], 0
mov dword [ebp - 0x914], 0xc
mov dword [ebp - 0x90c], 1
mov dword [ebp - 0x910], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x48d7ba
push 0
lea eax, [ebp - 0x914]
push eax
lea eax, [ebp - 0x8f4]
push eax
lea eax, [ebp - 0x8ec]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x48d7ba
mov eax, dword [ebp - 0x8f0]
xorps xmm0, xmm0
mov dword [ebp - 0x930], eax
mov eax, dword [ebp - 0x8f4]
movlpd qword [ebp - 0x93c], xmm0
or dword [ebp - 0x93c], 0x100
movups xmmword [ebp - 0x924], xmm0
mov dword [ebp - 0x934], 0
movlpd qword [ebp - 0x964], xmm0
movlpd qword [ebp - 0x95c], xmm0
movlpd qword [ebp - 0x954], xmm0
movlpd qword [ebp - 0x94c], xmm0
movlpd qword [ebp - 0x944], xmm0
mov dword [ebp - 0x968], 0x44
mov dword [ebp - 0x92c], eax
mov dword [ebp - 0x928], eax
call fcn.004a7f78
mov edx, eax
mov dword [ebp - 0x818], 0
mov ecx, edx
mov dword [ebp - 0x814], 7
xor eax, eax
mov word [ebp - 0x828], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48cc00
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x828]
call int.00410410
push 0xf
push str.AzureToken.exe
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], 2
call fcn.00415420
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x8e8]
push eax
call fcn.00408820
mov edi, eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8b8]
push eax
call fcn.00408820
add esp, 0x10
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x8a0], ax
lea ecx, [ebp - 0x8a0]
mov eax, dword [ebp - 0x818]
inc eax
mov dword [ebp - 0x890], 0
push eax
mov dword [ebp - 0x88c], 7
mov dword [ebp - 0x908], 2
call fcn.00410130
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push dword [ebp - 0x818]
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x8a0]
push eax
call fcn.00415420
push 1
push 0x4d29bc
lea ecx, [ebp - 0x8a0]
call fcn.00415420
push esi
lea eax, [ebp - 0x8a0]
push eax
lea eax, [ebp - 0x8d0]
push eax
call fcn.0048b890
push 0x4d29bc
push eax
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 6
push eax
call fcn.004580a0
push edi
push eax
lea eax, [ebp - 0x888]
mov byte [ebp - 4], 7
push eax
call fcn.0048b890
push 0x4d29bc
push eax
lea eax, [ebp - 0x870]
mov byte [ebp - 4], 8
push eax
call fcn.004580a0
mov byte [ebp - 4], 9
push str.__from_esnac
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.004580a0
mov esi, eax
add esp, 0x3c
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x48cd7b
mov ecx, eax
call fcn.00413170
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x818], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x48cdbd
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48cdb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48cdb3
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov edx, dword [ebp - 0x85c]
xor eax, eax
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x48ce20
mov ecx, dword [ebp - 0x870]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ce16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ce16
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov edx, dword [ebp - 0x874]
xor eax, eax
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x48ce83
mov ecx, dword [ebp - 0x888]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ce79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48ce79
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov edx, dword [ebp - 0x82c]
xor eax, eax
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x874], 7
mov word [ebp - 0x888], ax
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x48cee6
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48cedc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48cedc
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov edx, dword [ebp - 0x8bc]
xor eax, eax
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x48cf49
mov ecx, dword [ebp - 0x8d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48cf3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48cf3f
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov edx, dword [ebp - 0x88c]
xor eax, eax
mov dword [ebp - 0x8c0], 0
mov dword [ebp - 0x8bc], 7
mov word [ebp - 0x8d0], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x48cfac
mov ecx, dword [ebp - 0x8a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48cfa2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48cfa2
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov edx, dword [ebp - 0x8a4]
xor eax, eax
mov dword [ebp - 0x890], 0
mov dword [ebp - 0x88c], 7
mov word [ebp - 0x8a0], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x48d00f
mov ecx, dword [ebp - 0x8b8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d005
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d005
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov edx, dword [ebp - 0x8d4]
xor eax, eax
mov dword [ebp - 0x8a8], 0
mov dword [ebp - 0x8a4], 7
mov word [ebp - 0x8b8], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x48d072
mov ecx, dword [ebp - 0x8e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d068
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d068
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov eax, dword [ebp - 0x818]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aec05
mov edi, eax
add esp, 4
test edi, edi
jne 0x48d187
test byte [0x50f810], 2
je 0x48d0be
push str.Failed_to_create_array_to_contain_commandline
push str.__debug
push 0x800
push eax
push eax
call fcn.00421090
add esp, 0x14
push dword [ebp - 0x8f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8f8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8ec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8f4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x900]
mov ecx, esi
push 0
push 0x4ddcf8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00413c50
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x48d155
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d14b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d14b
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
xor eax, eax
mov dword [ebp - 0x818], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
call fcn.00411130
lea ecx, [ebp + 0x24]
call fcn.00411130
jmp 0x48d8a0
mov eax, dword [ebp - 0x818]
lea eax, [eax*2 + 2]
push eax
push 0
push edi
call fcn.004b493e
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
mov eax, dword [ebp - 0x818]
cmovae ecx, dword [ebp - 0x828]
push eax
push ecx
inc eax
push eax
push edi
call dword [0x4c5af0]
add esp, 0x1c
test byte [0x50f810], 2
je 0x48d304
mov ecx, dword [ebp - 0x818]
test ecx, ecx
jne 0x48d1fd
mov dword [ebp - 0x848], ecx
mov byte [ebp - 0x858], cl
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x844], 0xf
jmp 0x48d2ac
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push 0
cmovae eax, dword [ebp - 0x828]
push 0
push 0
push 0
push ecx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea ecx, [ebp - 0x870]
push 0
push esi
call int.00411240
cmp dword [ebp - 0x85c], 0x10
lea ecx, [ebp - 0x870]
push 0
cmovae ecx, dword [ebp - 0x870]
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x814], 8
push 0
cmovae eax, dword [ebp - 0x828]
push esi
push ecx
push dword [ebp - 0x818]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movups xmm1, xmmword [ebp - 0x870]
cmp dword [ebp - 0x85c], 0x10
lea ecx, [ebp - 0x858]
movq xmm0, qword [ebp - 0x860]
movd eax, xmm1
movups xmmword [ebp - 0x858], xmm1
movq qword [ebp - 0x848], xmm0
cmovae ecx, eax
push ecx
push str.Executing__s
push str.__debug
push 0x80b
push 0
push 0
call fcn.00421090
mov edx, dword [ebp - 0x844]
add esp, 0x18
cmp edx, 0x10
jb 0x48d304
mov ecx, dword [ebp - 0x858]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d2fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d2fa
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
lea eax, [ebp - 0x924]
push eax
lea eax, [ebp - 0x968]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48d3fc
test byte [0x50f810], 2
je 0x48d35a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_child_process._Error:__d_n
push str.__debug
push 0x80f
push 0
push 0
call fcn.00421090
add esp, 0x18
push dword [ebp - 0x8f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8f8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8ec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8f4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004aec0e
mov esi, dword [ebp - 0x900]
add esp, 4
mov ecx, esi
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x4ddcf8
mov byte [esi], 0
call fcn.00413c50
mov edx, dword [ebp - 0x814]
cmp edx, 8
jb 0x48d155
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d14b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d14b
call dword [0x4c59b0]
push dword [ebp - 0x8f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8f4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8f8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004b493e
add esp, 0xc
mov dword [ebp - 0x8fc], 0
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x874], 0xf
mov byte [ebp - 0x888], 0
push 0
lea eax, [ebp - 0x8fc]
mov byte [ebp - 4], 0xa
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x8ec]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48d55d
nop dword [eax + eax]
mov eax, dword [ebp - 0x8fc]
test eax, eax
je 0x48d55d
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x830], 0
push eax
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
call fcn.00413c50
cmp dword [ebp - 0x82c], 0x10
lea eax, [ebp - 0x840]
push dword [ebp - 0x830]
cmovae eax, dword [ebp - 0x840]
lea ecx, [ebp - 0x888]
push eax
mov byte [ebp - 4], 0xb
call fcn.00411050
mov edx, dword [ebp - 0x82c]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x48d534
mov ecx, dword [ebp - 0x840]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d52a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48cdad
push edx
push ecx
call fcn.004aebf7
add esp, 8
push 0
lea eax, [ebp - 0x8fc]
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x8ec]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48d490
push dword [ebp - 0x8ec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x924]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x904]
mov dword [ebp - 0x904], 0
push eax
push dword [ebp - 0x924]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x48d5c3
test byte [0x50f810], 2
je 0x48d5c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_get_exit_code._Error:__d_n
push str.__debug
push 0x82a
push 0
push 0
call fcn.00421090
add esp, 0x18
push 1
push 0x4e8254
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
call fcn.00413c50
push dword [ebp - 0x904]
lea eax, [ebp - 0x88b]
mov byte [ebp - 4], 0xc
push eax
call fcn.0048bf30
mov esi, eax
xor ecx, ecx
lea eax, [ebp - 0x88b]
mov dword [ebp - 0x848], ecx
add esp, 8
mov byte [ebp - 0x858], cl
mov edx, 0xf
mov dword [ebp - 0x844], edx
cmp esi, eax
je 0x48d649
sub eax, esi
lea ecx, [ebp - 0x858]
push eax
push esi
call fcn.00413c50
mov edx, dword [ebp - 0x844]
mov ecx, dword [ebp - 0x848]
mov esi, dword [ebp - 0x830]
mov eax, edx
sub eax, ecx
mov byte [ebp - 4], 0xd
cmp esi, eax
jbe 0x48d688
mov eax, dword [ebp - 0x82c]
sub eax, esi
cmp eax, ecx
jb 0x48d688
cmp edx, 0x10
lea eax, [ebp - 0x858]
push ecx
cmovae eax, dword [ebp - 0x858]
lea ecx, [ebp - 0x840]
push eax
push 0
call fcn.0047d290
jmp 0x48d6a9
cmp dword [ebp - 0x82c], 0x10
lea eax, [ebp - 0x840]
push esi
cmovae eax, dword [ebp - 0x840]
lea ecx, [ebp - 0x858]
push eax
call fcn.00411050
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x85c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x870], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x860], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x874], 0x10
lea eax, [ebp - 0x888]
push dword [ebp - 0x878]
cmovae eax, dword [ebp - 0x888]
lea ecx, [ebp - 0x870]
push eax
mov byte [ebp - 4], 0xe
call fcn.00411050
lea ecx, [ebp - 0x888]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x8b8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x8b8]
push eax
movq qword [ebp - 0x8a8], xmm0
call fcn.00411180
lea ecx, [ebp - 0x8b8]
call fcn.00411130
lea ecx, [ebp - 0x870]
call fcn.00411130
lea ecx, [ebp - 0x858]
call fcn.00411130
lea ecx, [ebp - 0x840]
call fcn.00411130
push dword [ebp - 0x924]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x920]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004aec0e
mov esi, dword [ebp - 0x900]
lea eax, [ebp - 0x888]
add esp, 4
mov ecx, esi
push eax
call fcn.00411200
lea ecx, [ebp - 0x888]
call fcn.00411130
jmp 0x48d113
test byte [0x50f810], 2
je 0x48d7e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_create_pipe._Error:__d_n
push str.__debug
push 0x7e3
push 0
push 0
call fcn.00421090
add esp, 0x18
mov eax, dword [ebp - 0x8f0]
test eax, eax
je 0x48d7f6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x8f8]
test eax, eax
je 0x48d807
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x4ddcf8
mov byte [esi], 0
call fcn.00413c50
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x48d85a
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d850
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d145
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov edx, dword [ebp + 0x38]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp edx, 0x10
jb 0x48d8a0
mov ecx, dword [ebp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d896
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d145
push edx
push ecx
call fcn.004aebf7
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret