Function at 0x100617c0
Capabilities:
Create process on windows
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019e4c6
mov eax, dword fs:[0]
push eax
sub esp, 0x580
mov eax, dword [0x102b5040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x364], ecx
push 0
push 0
push 0
push 0x10065af0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov ecx, dword [ebp - 0x364]
add ecx, 0x18
call fcn.10017260
cmp eax, 0xa
jne 0x1006182e
mov ecx, dword [ebp - 0x364]
add ecx, 0x30
call fcn.10017260
cmp eax, 0x40
je 0x10061837
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x70]
call fcn.1002d070
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.RPCRT4.dll_UuidCreate]
mov dword [ebp - 0x374], 0
lea edx, [ebp - 0x374]
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x1006189a
mov ecx, dword [ebp - 0x374]
push ecx
lea ecx, [ebp - 0x70]
call fcn.100166f0
lea edx, [ebp - 0x374]
push edx
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
nop
lea ecx, [ebp - 0x50]
call fcn.1002d070
mov byte [ebp - 4], 1
push 0x10
push 0
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x70]
call fcn.10016500
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3e0]
push ecx
lea ecx, [ebp - 0x50]
call fcn.1002cf90
lea ecx, [ebp - 0x22c]
call fcn.10016710
nop
push 0x1026dd48
lea edx, [ebp - 0x49c]
push edx
call fcn.100624b0
add esp, 8
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call fcn.100624d0
add esp, 0xc
mov dword [ebp - 0x3e4], eax
mov edx, dword [ebp - 0x3e4]
mov dword [ebp - 0x3b8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x364]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x3b8]
push ecx
lea edx, [ebp - 0x244]
push edx
call fcn.1002f580
add esp, 0xc
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x3e8]
push eax
mov ecx, dword [ebp - 0x364]
add ecx, 0x1cc
call fcn.1002cf90
lea ecx, [ebp - 0x244]
call fcn.10016710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.10016710
nop
lea ecx, [ebp - 0xa8]
push ecx
call fcn.10063eb0
add esp, 4
mov byte [ebp - 4], 3
call fcn.101428f0
mov dword [ebp - 0x384], eax
push 0x1026dd54
lea edx, [ebp - 0x1cc]
push edx
call fcn.100625c0
add esp, 8
mov dword [ebp - 0x458], eax
push 0
mov ecx, dword [ebp - 0x364]
call fcn.100165d0
push eax
mov eax, dword [ebp - 0x384]
push eax
call fcn.10142750
add esp, 0xc
mov dword [ebp - 0x444], eax
push 0x1026dd4c
lea ecx, [ebp - 0x158]
push ecx
call fcn.10062770
add esp, 8
mov dword [ebp - 0x434], eax
push str.enckey
lea edx, [ebp - 0x1b4]
push edx
call fcn.10062880
add esp, 8
mov dword [ebp - 0x41c], eax
push str.hash
lea eax, [ebp - 0x160]
push eax
call fcn.10062770
add esp, 8
mov dword [ebp - 0x404], eax
push str.ver
lea ecx, [ebp - 0x90]
push ecx
call fcn.100625e0
add esp, 8
mov dword [ebp - 0x3ec], eax
push str.typeinit
lea edx, [ebp - 0x1d8]
push edx
call fcn.100625c0
add esp, 8
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 0x3f0]
push ecx
lea edx, [ebp - 0x31c]
push edx
call fcn.10062600
add esp, 0xc
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x3f8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x364]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x3f8]
push edx
lea eax, [ebp - 0x304]
push eax
call fcn.1002f580
add esp, 0xc
mov dword [ebp - 0x3fc], eax
mov ecx, dword [ebp - 0x3fc]
mov dword [ebp - 0x400], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x400]
mov dword [ebp - 0x408], edx
mov eax, dword [ebp - 0x404]
push eax
mov ecx, dword [ebp - 0x408]
push ecx
lea edx, [ebp - 0x2ec]
push edx
call fcn.10062790
add esp, 0xc
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x410], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x410]
push edx
lea eax, [ebp - 0x2d4]
push eax
call fcn.1002f580
add esp, 0xc
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
lea edx, [ebp - 0x2bc]
push edx
call fcn.100628a0
add esp, 0xc
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x428]
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.1002f580
add esp, 0xc
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x430], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x438], edx
mov eax, dword [ebp - 0x434]
push eax
mov ecx, dword [ebp - 0x438]
push ecx
lea edx, [ebp - 0x2a4]
push edx
call fcn.10062790
add esp, 0xc
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x440], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x448], ecx
mov edx, dword [ebp - 0x444]
push edx
mov eax, dword [ebp - 0x448]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call fcn.10017d10
add esp, 0xc
mov dword [ebp - 0x44c], eax
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x454], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x458]
push ecx
mov edx, dword [ebp - 0x45c]
push edx
lea eax, [ebp - 0x274]
push eax
call fcn.10062990
add esp, 0xc
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
mov dword [ebp - 0x464], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x364]
add edx, 0x18
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.1002f580
add esp, 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x274]
call fcn.10016710
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28c]
call fcn.10016710
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2a4]
call fcn.10016710
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x214]
call fcn.10016710
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2bc]
call fcn.10016710
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2d4]
call fcn.10016710
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2ec]
call fcn.10016710
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x304]
call fcn.10016710
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x31c]
call fcn.10016710
nop
mov edx, dword [ebp - 0x384]
push edx
call fcn.101428b0
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4b8], esp
mov eax, dword [ebp - 0x364]
add eax, 0x60
push eax
call fcn.10016890
mov dword [ebp - 0x4bc], eax
mov byte [ebp - 4], 0x17
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4a0], esp
lea edx, [ebp - 0x178]
push edx
call fcn.10016890
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x16
call fcn.10063920
add esp, 0x34
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 0x18
push str.KeyAuth_Invalid
lea ecx, [ebp - 0x360]
push ecx
call fcn.10062a30
add esp, 8
push eax
lea edx, [ebp - 0x38]
push edx
call fcn.10062a50
add esp, 8
movzx eax, al
test eax, eax
je 0x10061d92
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
push 0
push 1
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x4a8], esp
push 0
call fcn.10066970
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x394]
push edx
call fcn.1006b780
add esp, 0x38
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 4], 0x19
push 0x1026dd88
lea eax, [ebp - 0x184]
push eax
call fcn.10062b30
add esp, 8
mov dword [ebp - 0x468], eax
lea ecx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x468]
call fcn.10066460
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x394]
call fcn.10066e10
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0x46c]
call fcn.1006b440
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x138]
call fcn.10016710
nop
push 1
lea ecx, [ebp - 0x58c]
call fcn.1002af50
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x376]
call fcn.1000aa10
push eax
push 0x20
lea ecx, [ebp - 0x498]
call fcn.100673c0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x498]
call fcn.10053420
mov dword [ebp - 0x470], eax
lea ecx, [ebp - 0x498]
call fcn.1002a340
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x38]
call fcn.10017260
mov dword [ebp - 0x478], eax
lea ecx, [ebp - 0x38]
call fcn.100165d0
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x364]
add ecx, 0x30
call fcn.10017260
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x364]
add ecx, 0x30
call fcn.100165d0
mov dword [ebp - 0x484], eax
mov ecx, dword [ebp - 0x470]
push ecx
mov edx, dword [ebp - 0x474]
push edx
mov eax, dword [ebp - 0x478]
push eax
mov ecx, dword [ebp - 0x47c]
push ecx
mov edx, dword [ebp - 0x480]
push edx
mov eax, dword [ebp - 0x484]
push eax
call fcn.10080c70
add esp, 0x18
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x380], ecx
mov ecx, dword [ebp - 0x380]
call fcn.1002a340
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x380]
call fcn.1002a320
mov dword [ebp - 0x488], eax
jmp 0x10061f34
mov edx, dword [ebp - 0x370]
add edx, 1
mov dword [ebp - 0x370], edx
mov eax, dword [ebp - 0x370]
cmp eax, dword [ebp - 0x488]
je 0x10061ffa
mov ecx, dword [ebp - 0x370]
mov dl, byte [ecx]
mov byte [ebp - 0x366], dl
lea eax, [ebp - 0x57c]
mov dword [ebp - 0x48c], eax
push 0x1005ec40
mov ecx, dword [ebp - 0x48c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x39c], eax
push 0x30
lea ecx, [ebp - 0x375]
push ecx
call fcn.1002f9e0
add esp, 8
mov dword [ebp - 0x398], eax
mov edx, dword [ebp - 0x398]
push edx
mov eax, dword [ebp - 0x39c]
push eax
call fcn.1002fa00
add esp, 8
mov dword [ebp - 0x3a4], eax
push 0
push 2
lea ecx, [ebp - 0x4dc]
push ecx
call dword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
add esp, 0xc
mov dword [ebp - 0x3a0], eax
mov edx, dword [ebp - 0x3a0]
push edx
mov eax, dword [ebp - 0x3a4]
push eax
call fcn.1002fa30
add esp, 8
mov dword [ebp - 0x3a8], eax
movzx ecx, byte [ebp - 0x366]
push ecx
mov ecx, dword [ebp - 0x3a8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
nop
jmp 0x10061f25
mov ecx, 0x106a750c
call fcn.100165d0
mov dword [ebp - 0x3b4], eax
lea edx, [ebp - 0x334]
push edx
lea ecx, [ebp - 0x58c]
call fcn.1002aeb0
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x3ac]
mov dword [ebp - 0x3b0], eax
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x3b0]
call fcn.100165d0
mov dword [ebp - 0x450], eax
push 4
mov ecx, dword [ebp - 0x3b4]
push ecx
mov edx, dword [ebp - 0x450]
push edx
call fcn.100642e0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x1006206e
mov dword [ebp - 0x37c], 1
jmp 0x10062078
mov dword [ebp - 0x37c], 0
mov cl, byte [ebp - 0x37c]
mov byte [ebp - 0x365], cl
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x334]
call fcn.10016710
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x4b0], esp
lea eax, [ebp - 0x394]
push eax
call fcn.100671c0
mov ecx, dword [ebp - 0x364]
call fcn.10060810
nop
push 0x1026ddac
lea ecx, [ebp - 0x190]
push ecx
call fcn.10062b30
add esp, 8
mov dword [ebp - 0x3bc], eax
lea edx, [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0x3bc]
call fcn.10066460
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x394]
call fcn.10066e10
mov ecx, eax
call fcn.1006b4e0
mov byte [ebp - 0x369], al
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x150]
call fcn.10016710
movzx ecx, byte [ebp - 0x369]
test ecx, ecx
je 0x10062275
push str.newSession
lea edx, [ebp - 0x1f0]
push edx
call fcn.10062b50
add esp, 8
mov dword [ebp - 0x3c0], eax
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x3c0]
call fcn.100663a0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x394]
call fcn.10066e10
mov ecx, eax
call fcn.1006b4e0
mov byte [ebp - 0x368], al
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x120]
call fcn.10016710
movzx edx, byte [ebp - 0x368]
test edx, edx
je 0x10062195
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0x1026ddbc
lea eax, [ebp - 0x1e4]
push eax
call fcn.100625c0
add esp, 8
mov dword [ebp - 0x3c4], eax
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp - 0x3c4]
call fcn.100667c0
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x108]
push edx
lea ecx, [ebp - 0x394]
call fcn.10066e10
push eax
mov ecx, dword [ebp - 0x364]
add ecx, 0x1b4
call fcn.1006b420
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x108]
call fcn.10016710
nop
mov byte [0x106a6ee9], 1
push 0x1026ddb4
lea eax, [ebp - 0x19c]
push eax
call fcn.10062b30
add esp, 8
mov dword [ebp - 0x3c8], eax
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0x3c8]
call fcn.10066460
mov byte [ebp - 4], 0x23
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0x4b4], esp
lea edx, [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x394]
call fcn.10066e10
push eax
mov ecx, esi
call fcn.100671c0
mov ecx, dword [ebp - 0x364]
call fcn.10060730
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xf0]
call fcn.10016710
nop
jmp 0x1006240a
push str.invalidver
lea eax, [ebp - 0x1fc]
push eax
call fcn.10062b50
add esp, 8
push eax
lea ecx, [ebp - 0x4cc]
call fcn.1006b8d0
mov byte [ebp - 4], 0x24
push 0x1026ddc8
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.10062b30
add esp, 8
mov dword [ebp - 0x3cc], eax
lea edx, [ebp - 0xd8]
push edx
mov ecx, dword [ebp - 0x3cc]
call fcn.10066460
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x394]
call fcn.10066e10
push eax
call fcn.100669b0
add esp, 8
mov byte [ebp - 0x367], al
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xd8]
call fcn.10016710
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x4cc]
call fcn.10067130
movzx edx, byte [ebp - 0x367]
test edx, edx
je 0x1006240a
push str.download
lea eax, [ebp - 0x1c0]
push eax
call fcn.10062880
add esp, 8
mov dword [ebp - 0x3d0], eax
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0x3d0]
call fcn.100665e0
mov byte [ebp - 4], 0x26
lea edx, [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x394]
call fcn.10066e10
mov dword [ebp - 0x3d4], eax
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x3d4]
call fcn.1006b440
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xc0]
call fcn.10016710
nop
push 0x101ca5e2
lea ecx, [ebp - 0x88]
push ecx
call fcn.1002f950
add esp, 8
movzx edx, al
test edx, edx
je 0x100623a5
jmp 0x100623f1
lea ecx, [ebp - 0x88]
call fcn.100165d0
mov dword [ebp - 0x3d8], eax
push str.open
lea eax, [ebp - 0x58]
push eax
call fcn.10062b70
add esp, 8
mov ecx, eax
call fcn.10062b90
mov dword [ebp - 0x3dc], eax
push 1
push 0
push 0
mov ecx, dword [ebp - 0x3d8]
push ecx
mov edx, dword [ebp - 0x3dc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x88]
call fcn.10016710
nop
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x498]
call fcn.10053440
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x58c]
call fcn.10023360
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x34c]
call fcn.10016710
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x394]
call fcn.10067130
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x38]
call fcn.10016710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x178]
call fcn.10016710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.10016710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.10016710
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10016710
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101412b5
mov esp, ebp
pop ebp
ret