Function at 0x469340
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc80
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.00473800
and eax, 1
jne 0x469371
call fcn.00473800
cmp eax, 0x500
je 0x469371
xor eax, eax
jmp 0x46980e
cmp dword [ebp + 0x18], 0
jne 0x469434
mov dword [ebp - 0xc20], 0xffffffff
mov dword [ebp - 0xc1c], 0
jmp 0x4693a0
mov eax, dword [ebp - 0xc1c]
add eax, 1
mov dword [ebp - 0xc1c], eax
cmp dword [ebp - 0xc1c], 0x14
jae 0x469422
mov ecx, dword [ebp - 0xc1c]
imul ecx, ecx, 0x16
movzx edx, word [ecx + 0x4c9c50]
test edx, edx
jne 0x4693d4
cmp dword [ebp - 0xc20], 0
jl 0x4693d2
mov eax, dword [ebp - 0xc20]
mov dword [ebp - 0xc1c], eax
jmp 0x469422
mov ecx, dword [ebp - 0xc1c]
imul ecx, ecx, 0x16
movzx edx, word [ecx + 0x4c9c50]
movzx eax, word [ebp + 0x14]
cmp edx, eax
jne 0x4693ee
jmp 0x469422
mov ecx, dword [ebp - 0xc1c]
imul ecx, ecx, 0x16
movzx edx, word [ecx + 0x4c9c50]
and edx, 0x3ff
movzx eax, word [ebp + 0x14]
and eax, 0x3ff
cmp edx, eax
jne 0x46941d
mov ecx, dword [ebp - 0xc1c]
mov dword [ebp - 0xc20], ecx
jmp 0x469391
mov edx, dword [ebp - 0xc1c]
imul edx, edx, 0x16
add edx, str.ARABIC
mov dword [ebp + 0x18], edx
mov al, byte [0x4c9c49]
mov byte [ebp - 0x80c], al
xor ecx, ecx
mov byte [ebp - 0x80b], cl
mov dl, byte [0x4c9c4a]
mov byte [ebp - 0xc18], dl
xor eax, eax
mov byte [ebp - 0xc17], al
push 0x20
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048a530
add esp, 8
test eax, eax
je 0x469476
mov byte [ebp - 0x80c], 0x22
jmp 0x46947d
mov byte [ebp - 0x80c], 0
lea edx, [ebp - 0x80c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80c]
push ecx
push str._s_s_s
lea edx, [ebp - 0x808]
push edx
call fcn.00489bd8
add esp, 0x14
mov dword [ebp - 0xc14], eax
mov al, byte [0x4c9c4b]
mov byte [ebp - 0xc10], al
push 0x3ff
push 0
lea ecx, [ebp - 0xc0f]
push ecx
call fcn.004886d0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x469738
cmp dword [ebp + 0x10], 0
je 0x469738
push 0x400
lea edx, [ebp - 0xc10]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [ebp - 0xc10]
push ecx
call fcn.00489c70
add esp, 4
movsx edx, byte [ebp + eax - 0xc11]
cmp edx, 0x5c
je 0x469524
push 0x4c9c4c
lea eax, [ebp - 0xc10]
push eax
call fcn.00489af0
add esp, 8
mov dword [ebp - 0xc24], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.00489ae0
add esp, 8
push str._TEMPDIR__
lea eax, [ebp - 0x408]
push eax
call fcn.00411920
add esp, 8
mov dword [ebp - 0xc24], eax
cmp dword [ebp - 0xc24], 0
je 0x4695cc
lea ecx, [ebp - 0x408]
push ecx
call fcn.00489c70
add esp, 4
mov esi, eax
push 0x4c9e1c
call fcn.00489c70
add esp, 4
add eax, dword [ebp - 0xc24]
lea edx, [ebp - 0x408]
sub eax, edx
sub esi, eax
push esi
push 0x4c9e28
call fcn.00489c70
add esp, 4
mov ecx, dword [ebp - 0xc24]
lea edx, [ecx + eax + 1]
push edx
push 0x4c9e34
call fcn.00489c70
add esp, 4
add eax, dword [ebp - 0xc24]
push eax
call fcn.0048a5f0
add esp, 0xc
jmp 0x469541
lea eax, [ebp - 0xc10]
push eax
call fcn.00489c70
add esp, 4
mov dword [ebp - 0xc28], eax
push 0x4c9e40
lea ecx, [ebp - 0x408]
push ecx
call fcn.00411920
add esp, 8
mov dword [ebp - 0xc24], eax
cmp dword [ebp - 0xc24], 0
je 0x469678
lea edx, [ebp - 0x408]
push edx
call fcn.00489c70
add esp, 4
mov ecx, dword [ebp - 0xc24]
lea edx, [ebp - 0x408]
sub ecx, edx
sub eax, ecx
push eax
push str._TEMPDIR_
call fcn.00489c70
add esp, 4
add eax, dword [ebp - 0xc24]
push eax
mov eax, dword [ebp - 0xc24]
add eax, dword [ebp - 0xc28]
push eax
call fcn.0048a5f0
add esp, 0xc
lea ecx, [ebp - 0xc10]
push ecx
call fcn.00489c70
add esp, 4
push eax
lea edx, [ebp - 0xc10]
push edx
mov eax, dword [ebp - 0xc24]
push eax
call fcn.00489d00
add esp, 0xc
jmp 0x4695e1
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00489c70
add esp, 4
mov dword [ebp - 0xc28], eax
push 0x4c9e58
lea edx, [ebp - 0x408]
push edx
call fcn.00411920
add esp, 8
mov dword [ebp - 0xc24], eax
cmp dword [ebp - 0xc24], 0
je 0x46971b
lea eax, [ebp - 0x408]
push eax
call fcn.00489c70
add esp, 4
mov ecx, dword [ebp - 0xc24]
lea edx, [ebp - 0x408]
sub ecx, edx
sub eax, ecx
push eax
push str._LANGNAME_
call fcn.00489c70
add esp, 4
add eax, dword [ebp - 0xc24]
push eax
mov eax, dword [ebp - 0xc24]
add eax, dword [ebp - 0xc28]
push eax
call fcn.0048a5f0
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00489c70
add esp, 4
push eax
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0xc24]
push eax
call fcn.00489d00
add esp, 0xc
jmp 0x46968a
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp - 0xc14]
lea eax, [ebp + edx - 0x808]
push eax
call fcn.00489af0
add esp, 8
lea ecx, [ebp - 0x808]
push ecx
push str.installCrownP2PMonitor___installs___s_.
push 0
call fcn.00469820
add esp, 0xc
push 0x44
push 0
lea edx, [ebp - 0xc80]
push edx
call fcn.004886d0
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0xc38]
push eax
call fcn.004886d0
add esp, 0xc
mov dword [ebp - 0xc80], 0x44
lea ecx, [ebp - 0xc38]
push ecx
lea edx, [ebp - 0xc80]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4697c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_CrownSetup__fail__d__n
push 0
call fcn.00469820
add esp, 0xc
xor eax, eax
jmp 0x46980e
push 0xea60
mov ecx, dword [ebp - 0xc38]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4697ef
push 0x63
mov edx, dword [ebp - 0xc38]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0xc38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret