Function at 0x1001d372
Capabilities:
Create pipe

Disassembly:
mov eax, 0x10062af0
call fcn.10061f70
sub esp, 0x68
push ebx
push esi
mov dword [ebp - 0x2c], 0x3a31
xor esi, esi
mov dword [ebp - 0x28], 0x184e
cmp dword [ebp - 0x28], 0x7d8
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], edx
jge 0x1001d5f1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
push eax
push str._d__d_n
call fcn.1004b532
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x24], esi
mov ecx, esi
mov dword [ebp - 0x20], ecx
mov edx, esi
mov dword [ebp - 0x28], edx
mov ebx, esi
test eax, eax
jle 0x1001d455
mov ecx, dword [ebp - 0x18]
mov edi, esi
test ecx, ecx
jle 0x1001d44a
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x11]
mov byte [ebp - 0x12], 0x61
push eax
lea eax, [ebp - 0x12]
mov byte [ebp - 0x11], 0x61
push eax
push str._c_c
call fcn.1004b532
mov al, byte [ebp - 0x12]
add esp, 0xc
cmp al, 0x30
jne 0x1001d410
cmp byte [ebp - 0x11], al
jne 0x1001d41c
inc dword [ebp - 0x24]
jmp 0x1001d41d
cmp al, 0x31
jne 0x1001d41c
cmp byte [ebp - 0x11], al
jne 0x1001d41c
inc ebx
jmp 0x1001d41d
inc esi
mov eax, dword [ebp - 0x18]
dec eax
cmp edi, eax
jge 0x1001d42c
push 0x1006cfd0
jmp 0x1001d431
push 0x1006cfd4
call fcn.1004b532
pop ecx
mov ecx, dword [ebp - 0x18]
inc edi
cmp edi, ecx
jl 0x1001d3e2
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], esi
xor esi, esi
inc edx
mov dword [ebp - 0x28], edx
cmp edx, eax
jl 0x1001d3d9
mov ecx, dword [ebp - 0x20]
mov eax, ecx
lea ecx, [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
push 0x1006cfd8
mov dword [ebp - 0x28], eax
call fcn.10001b7d
mov dword [ebp - 4], esi
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
push ecx
lea ecx, [ebp - 0x44]
call fcn.10024b5b
push esi
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.10001f3a
test ebx, ebx
jle 0x1001d4c4
mov esi, dword [ebp - 0x44]
mov edi, ebx
push 0x1006cfdc
call fcn.1004b0d0
pop ecx
push eax
push 0x1006cfdc
mov ecx, esi
call fcn.10002711
add esi, 0x18
dec edi
jne 0x1001d4a4
xor esi, esi
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x44]
lea ecx, [eax + ebx]
mov dword [ebp - 0x34], ecx
cmp ebx, ecx
jge 0x1001d511
imul eax, ebx, 0x18
add eax, edi
mov dword [ebp - 0x20], eax
mov eax, ecx
mov esi, dword [ebp - 0x20]
sub eax, ebx
mov dword [ebp - 0x30], eax
mov edi, eax
push 0x1006cfe0
call fcn.1004b0d0
pop ecx
push eax
push 0x1006cfe0
mov ecx, esi
call fcn.10002711
add esi, 0x18
dec edi
jne 0x1001d4e8
mov edi, dword [ebp - 0x44]
xor esi, esi
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
add edx, eax
add edx, ebx
mov dword [ebp - 0x24], edx
push 0x18
pop ebx
cmp ecx, edx
jge 0x1001d558
imul eax, ecx, 0x18
add eax, edi
mov dword [ebp - 0x34], eax
mov eax, edx
mov esi, dword [ebp - 0x34]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov edi, eax
push 0x1006cfe4
call fcn.1004b0d0
pop ecx
push eax
push 0x1006cfe4
mov ecx, esi
call fcn.10002711
add esi, ebx
dec edi
jne 0x1001d536
mov edi, dword [ebp - 0x44]
xor esi, esi
mov eax, dword [ebp - 0x40]
sub eax, edi
mov ecx, dword [ebp - 0x24]
cdq
idiv ebx
mov edx, eax
mov dword [ebp - 0x28], edx
cmp ecx, edx
jae 0x1001d5a5
imul eax, ecx, 0x18
add eax, edi
mov dword [ebp - 0x34], eax
mov eax, edx
mov esi, dword [ebp - 0x34]
sub eax, ecx
mov dword [ebp - 0x30], eax
mov edi, eax
push 0x1006cfe8
call fcn.1004b0d0
pop ecx
push eax
push 0x1006cfe8
mov ecx, esi
call fcn.10002711
add esi, ebx
dec edi
jne 0x1001d580
mov edi, dword [ebp - 0x44]
xor esi, esi
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], esi
test edx, edx
je 0x1001d5e5
mov esi, dword [ebp - 0x28]
mov edx, edi
call fcn.1002673d
mov edx, 0x1006cfd0
mov ecx, eax
call fcn.1000358d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cdq
idiv dword [ebp - 0x18]
test edx, edx
jne 0x1001d5dc
push 0x1006a959
call fcn.1004b701
pop ecx
add edi, ebx
cmp dword [ebp - 0x24], esi
jb 0x1001d5af
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10024bfd
cmp dword [ebp - 0x2c], 0x3bbb
jle 0x1001d642
mov edi, esi
mov dword [ebp - 0x28], esi
mov ebx, edi
mov edi, 0x56a9
mov eax, ebx
lea ecx, [ebp - 0x74]
cdq
push edx
push eax
call fcn.10001a31
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001d61d
mov eax, dword [eax]
push eax
call fcn.1004b2d6
pop ecx
push esi
push 1
lea ecx, [ebp - 0x74]
call fcn.10001f3a
dec ebx
dec edi
jne 0x1001d606
mov edi, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x28], edi
cmp edi, 0x66d8
jl 0x1001d5ff
cmp byte [ebp + 0x18], 0
je 0x1001d6fa
mov dword [ebp - 0x28], 0x44b9
cmp dword [ebp - 0x28], 0x45ee
jle 0x1001d686
mov edi, esi
mov ebx, esi
mov eax, edi
mov ecx, 0x1007d9f8
cdq
idiv ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10001bd6
inc ebx
cmp ebx, 0x7a2
jl 0x1001d660
inc edi
cmp edi, 0x529d
jl 0x1001d65e
mov eax, dword [ebp + 0x20]
cmp byte [eax], 0
je 0x1001d69c
push 0x24aa
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 4], 3
cmp dword [ebp - 0x28], 0x42ca
jge 0x1001d6bb
mov edx, str.tmxcvijk_ahnsio_fzi_mxbdlk_pmllgyosm_hajwry_opm_hhhv_aiek_yzye_wcj_ecoo
mov ecx, 0x1007d9f8
call fcn.1000358d
cmp dword [ebp - 0x2c], 0x36d4
jge 0x1001d6cf
push str.algk_qzsyoj_uttdcfcc_fwtwiv_qtutin_fht
call fcn.1004b2d6
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], 0x41b9
cmp dword [ebp - 0x20], 0x437c
jle 0x1001d762
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x24], esi
mov ecx, esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov eax, esi
cdq
idiv ecx
lea eax, [ebx + edi]
mov ecx, edx
shl eax, cl
mov ecx, 0x1007d9f8
cdq
push edx
push eax
call fcn.10001bd6
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x56a5
jl 0x1001d719
inc esi
push 0
mov dword [ebp - 0x24], esi
cmp esi, 0x46d4
pop esi
jl 0x1001d711
inc ebx
cmp ebx, 0x3d3
jl 0x1001d70e
inc edi
cmp edi, 0x71ed
jl 0x1001d70c
mov esi, dword [ebp + 0x1c]
xor edx, edx
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, dword [edi]
mov eax, dword [esi]
cmp ecx, eax
mov eax, dword [ebp + 0x10]
setle dl
xor ecx, ecx
mov eax, dword [eax]
cmp edx, eax
mov edx, dword [edi]
mov eax, dword [esi]
sete cl
add edx, ecx
xor ecx, ecx
test eax, eax
mov eax, dword [edi]
sete cl
add eax, ecx
xor ecx, ecx
cmp eax, edx
mov edx, dword [edi]
mov eax, dword [ebp - 0x38]
setg cl
imul edx, ecx
xor ecx, ecx
mov eax, dword [eax]
cmp edx, eax
mov eax, dword [ebp + 0x14]
setg cl
mov dword [eax], ecx
mov dword [ebp - 4], 5
cmp dword [ebp - 0x20], 0x3f20
jge 0x1001d6bb
mov edx, str.ywtaty_mqqeosbjp_fmgt_rumuulip_aixmcgig_gdetspz_diuntawp_kywyqekt_nraokasr_ipp_aidbkyih
mov ecx, 0x1007d9f8
call fcn.1000358d
jmp 0x1001d6bb