joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e7a0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x100405c0
call fcn.1000ebe0
mov al, byte [esi + 0xc]
xor ebx, ebx
cmp al, bl
je 0x1000e7ce
mov byte [esi + 0xc], bl
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x1000e7ce
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x1000e860
push 0x64
push eax
call ebp
cmp eax, 0x102
jne 0x1000e860
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x1000e860
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x1000e860
cmp esi, ebx
je 0x1000e860
mov ecx, esi
mov dword [esi], 0x10040594
mov byte [esi + 0xc], bl
call fcn.10008710
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x1000e851
push eax
call edi
push esi
mov dword [esi + 0x90], ebx
call fcn.1003ed30
add esp, 4
lea ecx, [esi + 0x94]
call fcn.10032420
mov eax, dword [esi + 8]
mov dword [esi], 0x10040594
cmp eax, ebx
mov byte [esi + 0xc], bl
je 0x1000e8d7
push 0x64
push eax
call ebp
cmp eax, 0x102
jne 0x1000e8d7
mov edx, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
mov byte [esi + 0xc], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x1000e8d7
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x1000e8d7
cmp esi, ebx
je 0x1000e8d7
mov ecx, esi
call fcn.1000ecb0
push esi
call fcn.1003ed30
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
pop ebp
cmp eax, ebx
je 0x1000e8eb
push eax
call edi
mov dword [esi + 0x90], ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1000eab0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
call fcn.1000ebe0
mov eax, dword [0x1004b3e0]
push str.Starting_session_connection
push eax
call fcn.1002a6a0
add esp, 8
call fcn.1000e400
mov ecx, dword [0x1004b3e0]
push str.connect_begin
push ecx
mov edi, eax
call fcn.1002a6a0
add esp, 8
lea ecx, [esi + 0x94]
push edi
push 0x100469b8
call fcn.10031d10
mov edx, dword [0x1004b3e0]
push str.connect_end
push edx
mov bl, al
call fcn.1002a6a0
add esp, 8
test edi, edi
jle 0x1000ebb6
test bl, bl
je 0x1000ebb6
mov eax, dword [0x1004b3e0]
push str.session_connection_succeed
push eax
call fcn.1002a6a0
mov al, byte [esi + 0xc]
add esp, 8
test al, al
jne 0x1000eb9c
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0
push esi
push 0x100087d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0xc]
mov dword [esi + 8], eax
test eax, eax
mov dword [esi + 4], edx
jne 0x1000ebad
push eax
call fcn.1002ba20
add esp, 4
add esi, 0xe
lea ecx, [esp + 0x10]
push eax
push esi
push str._comm__create_thread__s__failed:__s
push 0x10046650
call fcn.1002ce00
push eax
call fcn.1002ce10
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebx
add esp, 8
ret
mov esi, dword [esi + 0x90]
test esi, esi
je 0x1000ebad
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 8
ret
mov eax, dword [0x1004b3e0]
push str.session_connection_failed
push eax
call fcn.1002a6a0
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x1000ecb0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
mov dword [esi], 0x10040594
cmp eax, ebx
mov byte [esi + 0xc], bl
je 0x1000ed2e
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000ed2e
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x1000ed2e
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x1000ed2e
cmp esi, ebx
je 0x1000ed2e
mov ecx, esi
call fcn.1000ecb0
push esi
call fcn.1003ed30
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x1000ed41
push eax
call edi
mov dword [esi + 0x90], ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10010a40
Capabilities:
Get file version info

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
mov esi, dword [esp + 0x124]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10010aa1
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
lea eax, [esp + 0x1c]
push ecx
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x1b], bl
push 0x104
lea ecx, [esp + 0x20]
push esi
push ecx
call fcn.10029040
add esp, 0xc
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], ebx
push edx
push eax
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [esp + 0x10], eax
jle 0x10010b3f
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebp, eax
lea edx, [esp + 0x1c]
push ebp
push ecx
push ebx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10010b10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x10046d9c
push ebp
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x10010b16
cmp ebp, ebx
je 0x10010b3f
jmp 0x10010b36
mov esi, dword [esp + 0x14]
mov ecx, 0xd
mov edi, ebp
cmp ebp, ebx
rep movsd dword es:[edi], dword [esi]
je 0x10010b3f
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x128]
shr edx, 0x10
mov dword [eax], edx
push ebp
call fcn.1003ed30
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret 8
Function at 0x10010f20
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x338
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x100110e7
cmp dword [esp + 0x344], ebx
je 0x100110e7
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, dword [esp + 0x354]
mov dword [esp + 0x2c], eax
mov esi, 0x41
mov dword [esp + 0x10], 0x1a
lea ecx, [esi - 0x41]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
test ecx, eax
je 0x100110d4
mov edx, dword [esp + 0x34c]
push esi
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x100110d4
call fcn.100290f0
mov edx, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
cmp edx, 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x10011099
cmp edx, 2
je 0x10011099
cmp edx, 3
je 0x10011099
xor eax, eax
push esi
mov dword [esp + 0x1d], eax
push str._c:_
mov dword [esp + 0x25], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x29], eax
push 0x10
mov word [esp + 0x31], ax
push ecx
mov byte [esp + 0x28], bl
mov byte [esp + 0x37], al
call fcn.10028430
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x149]
mov byte [esp + 0x148], bl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x251]
add esp, 0x10
mov byte [esp + 0x240], bl
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
call edi
lea edx, [esp + 0x240]
push 0x105
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x14c]
push 0x105
lea ecx, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push ebx
call edi
lea edx, [esp + 0x138]
push esi
push edx
push str._s___c:__
lea eax, [esp + 0x40]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
cmp ebp, ebx
jbe 0x100110d4
jmp 0x100110b6
push esi
push 0x10046db0
lea eax, [esp + 0x3c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
cmp ebp, ebx
jbe 0x100110d4
mov edi, dword [esp + 0x350]
lea ecx, [ebp - 1]
lea edx, [esp + 0x34]
push ecx
push edx
push edi
call dword [sym.imp.MSVCRT.dll_strncat]
add esp, 0xc
mov byte [edi + ebp - 1], bl
mov eax, dword [esp + 0x10]
inc esi
dec eax
mov dword [esp + 0x10], eax
jne 0x10010f63
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x338
ret 0xc
Function at 0x100123b0
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x44
xor eax, eax
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x4c]
push esi
push edi
mov esi, 0x1505
mov al, byte [ecx]
inc ecx
test eax, eax
je 0x100123dc
mov edx, esi
shl edx, 5
add eax, edx
add esi, eax
xor eax, eax
mov al, byte [ecx]
inc ecx
test eax, eax
jne 0x100123ca
mov al, byte [esp + 0x54]
mov edx, dword [esp + 0x58]
mov byte [esp + 0x1c], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], 0
push ecx
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov cl, byte [esp + 0x54]
push 0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x40]
push edx
mov dword [esp + 0x40], esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [ebp + 0xd8]
call fcn.10013640
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.10013dc0
mov esi, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
lea ecx, [esi + 0x10]
push edx
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
test ecx, ecx
je 0x100124c7
mov al, byte [ecx - 1]
test al, al
je 0x100124bd
cmp al, 0xff
je 0x100124bd
dec al
mov byte [ecx - 1], al
add esp, 0x44
ret 8
dec ecx
push ecx
call fcn.1003ed30
add esp, 4
add esp, 0x44
ret 8
Function at 0x100124d0
Capabilities:
Hash data using djb2

Disassembly:
mov edx, dword [esp + 8]
sub esp, 8
xor eax, eax
mov al, byte [edx]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
inc edx
cmp eax, ebx
mov ecx, 0x1505
je 0x100124fe
mov esi, ecx
shl esi, 5
add eax, esi
add ecx, eax
xor eax, eax
mov al, byte [edx]
inc edx
cmp eax, ebx
jne 0x100124ec
lea esi, [edi + 0xd8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, esi
call fcn.10014450
mov esi, dword [esi + 4]
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x10012530
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
cmp ecx, edx
jb 0x10012530
lea eax, [esp + 0xc]
jmp 0x10012538
mov dword [esp + 0x10], esi
lea eax, [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [edi + 0xdc]
cmp eax, ecx
je 0x10012577
mov esi, dword [esp + 0x18]
mov dl, byte [eax + 0x10]
add eax, 0x10
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
mov ecx, esi
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov al, byte [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x1c]
mov edi, 0x1004b4f0
or ecx, 0xffffffff
push 1
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x100125ce
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x1004b4f0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [eax + ebx], 0
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x1001cb90
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
sub esp, 0x41c
push ebx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov word [esp + 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov edx, dword [esp + 0x428]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x42c]
mov dword [esp + 0x10], ebx
stosw word es:[edi], ax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ebx
push eax
push ecx
push edx
mov dword [esp + 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x118]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov edx, dword [esp + 0x430]
lea eax, [esp + 0x118]
push edx
push eax
push str._s_s.lnk
lea ecx, [esp + 0x20]
push 0x104
push ecx
call fcn.10028430
add esp, 0x14
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 8]
push edx
push 0x10040690
push 1
push ebx
push 0x10040680
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1001cc72
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x41c
ret
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x100406a0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
mov eax, dword [esp + 8]
jge 0x1001cca1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, 0xfffffffe
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x434]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
mov eax, dword [esp + 0x438]
cmp eax, ebx
je 0x1001ccc5
mov ecx, dword [esp + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
lea eax, [esp + 0x21c]
push 0x104
push eax
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x21c]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
xor eax, eax
pop ebx
add esp, 0x41c
ret
Function at 0x10020b40
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi], 0x1004063c
call fcn.10020c40
lea edi, [esi + 0x234]
mov ebp, 0x14
xor ebx, ebx
mov eax, dword [edi - 0x14]
sub edi, 0x14
cmp eax, ebx
je 0x10020b86
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x10020b7d
cmp al, 0xff
je 0x10020b7d
dec al
mov byte [ecx], al
jmp 0x10020b86
push ecx
call fcn.1003ed30
add esp, 4
dec ebp
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jne 0x10020b5f
mov eax, dword [esi + 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x10020baa
push eax
call edi
mov dword [esi + 0x98], ebx
mov eax, dword [esi + 8]
mov dword [esi], 0x10040594
cmp eax, ebx
mov byte [esi + 0xc], bl
je 0x10020c1a
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10020c1a
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0x10], 0x103
jne 0x10020c1a
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x10020c1a
cmp esi, ebx
je 0x10020c1a
mov ecx, esi
call fcn.1000ecb0
push esi
call fcn.1003ed30
add esp, 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10020c2d
push eax
call edi
mov dword [esi + 0x90], ebx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10020c40
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0xc], bl
je 0x10020ced
mov eax, dword [esi + 8]
mov byte [esi + 0x94], bl
cmp eax, ebx
mov byte [esi + 0xc], bl
je 0x10020ced
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10020ced
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esi + 0xc], bl
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x10020ced
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov al, byte [esi + 0xd]
mov dword [esi + 4], ebx
cmp al, bl
je 0x10020ced
cmp esi, ebx
je 0x10020ced
mov ecx, esi
mov dword [esi], 0x10040594
mov byte [esi + 0xc], bl
call fcn.10008710
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x90]
cmp eax, ebx
je 0x10020cde
push eax
call edi
push esi
mov dword [esi + 0x90], ebx
call fcn.1003ed30
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10023440
Capabilities:
Create thread

Disassembly:
mov ecx, dword [0x1004b468]
sub esp, 8
mov eax, dword [ecx + 0x7f0]
mov edx, eax
shr edx, 0xd
test dl, 1
mov edx, eax
jne 0x1002354a
shr edx, 8
test dl, 1
jne 0x100234c9
mov edx, eax
shr edx, 3
test dl, 1
je 0x100234c9
mov edx, eax
shr edx, 0xa
test dl, 1
je 0x100234c9
shr eax, 1
test al, 1
je 0x100234c9
mov eax, dword [ecx + 0x7f0]
push str.Start_AutoLaunch_for_proxy_mode
or ah, 1
mov dword [ecx + 0x7f0], eax
mov eax, dword [0x1004b3e0]
push eax
call fcn.1002a660
add esp, 8
mov ecx, 0x1004b560
call fcn.10023af0
mov ecx, dword [0x1004b564]
push 0
mov dword [0x1004b7fc], ecx
call fcn.10023820
mov ecx, dword [0x1004b468]
add esp, 4
mov eax, dword [ecx + 0x7f0]
mov edx, eax
shr edx, 9
test dl, 1
jne 0x100236a1
mov edx, eax
shr edx, 3
test dl, 1
je 0x100236a1
mov edx, eax
shr edx, 0xa
test dl, 1
je 0x100236a1
shr eax, 2
test al, 1
je 0x100236a1
mov eax, dword [ecx + 0x7f0]
push str.Start_AutoLaunch_for_nc_mode
or ah, 2
mov dword [ecx + 0x7f0], eax
mov eax, dword [0x1004b3e0]
push eax
call fcn.1002a660
add esp, 8
mov ecx, 0x1004b6b0
call fcn.10023af0
mov ecx, dword [0x1004b6b4]
push 1
mov dword [0x1004b800], ecx
call fcn.10023820
add esp, 4
add esp, 8
ret
shr edx, 0xb
test dl, 1
jne 0x100235b4
mov edx, eax
shr edx, 3
test dl, 1
je 0x100235b4
mov edx, eax
shr edx, 0xa
test dl, 1
je 0x100235b4
shr eax, 1
test al, 1
je 0x100235b4
mov eax, dword [ecx + 0x7f0]
push str.Start_AutoLaunch_for_proxy_mode_vsd_
or ah, 8
mov dword [ecx + 0x7f0], eax
mov eax, dword [0x1004b3e0]
push eax
call fcn.1002a660
add esp, 8
mov ecx, 0x1004b758
call fcn.10023af0
mov ecx, dword [0x1004b75c]
push 0
mov dword [0x1004b7fc], ecx
call fcn.10023820
mov ecx, dword [0x1004b468]
add esp, 4
mov eax, dword [ecx + 0x7f0]
mov edx, eax
shr edx, 0xc
test dl, 1
jne 0x100236a1
mov edx, eax
shr edx, 3
test dl, 1
je 0x100236a1
mov edx, eax
shr edx, 0xa
test dl, 1
je 0x100236a1
shr eax, 2
test al, 1
je 0x100236a1
mov edx, dword [ecx + 0x7f0]
push str.Start_AutoLaunch_for_nc_mode_vsd_
or dh, 0x10
mov dword [ecx + 0x7f0], edx
mov eax, dword [0x1004b3e0]
push eax
call fcn.1002a660
mov al, byte [0x1004b614]
add esp, 8
test al, al
jne 0x1002367d
lea ecx, [esp]
mov dword [esp], 0
push ecx
push 0
push 0x1004b608
push 0x100087d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp]
mov dword [0x1004b610], eax
test eax, eax
mov dword [0x1004b60c], edx
jne 0x1002368d
push eax
call fcn.1002ba20
add esp, 4
lea ecx, [esp + 4]
push eax
push 0x1004b616
push str._comm__create_thread__s__failed:__s
push 0x10046650
call fcn.1002ce00
push eax
call fcn.1002ce10
add esp, 0x10
jmp 0x1002368d
mov eax, dword [0x1004b698]
test eax, eax
je 0x1002368d
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1004b60c]
push 1
mov dword [0x1004b800], eax
call fcn.10023820
add esp, 4
add esp, 8
ret