joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1011a930
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
call fcn.1011b7c0
cmp eax, 0x46
jle 0x1011a952
mov ecx, dword [ebp - 4]
call fcn.1011a780
movzx eax, al
test eax, eax
jne 0x1011a965
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
xor al, al
jmp 0x1011aaac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1c]
cmp eax, 0x190
jae 0x1011a97f
xor al, al
jmp 0x1011aaac
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x1011a998
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 8
jge 0x1011aaaa
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x2d]
test edx, edx
jne 0x1011a9b2
jmp 0x1011a98f
cmp dword [ebp - 8], 7
jne 0x1011aa44
push 0x20
push 0x41
mov eax, dword [ebp - 4]
cvttss2si ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x23
cvtsi2ss xmm0, edx
mov eax, dword [ebp - 4]
addss xmm0, dword [eax + 0xc]
cvttss2si ecx, xmm0
push ecx
mov ecx, 0x101e1278
call fcn.1014d420
movzx edx, al
test edx, edx
je 0x1011aa42
push 0x8a
mov ecx, 0x10208bdc
call fcn.1011d1e0
movzx eax, al
test eax, eax
je 0x1011aa0e
xor al, al
jmp 0x1011aaac
push 1
mov ecx, 0x791050
call ecx
add esp, 4
test eax, eax
je 0x1011aa42
push 0x8e
mov ecx, 0x10208bdc
call fcn.1011d310
mov edx, dword [ebp - 4]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0
mov al, 1
jmp 0x1011aaac
jmp 0x1011aa9c
push 0x20
push 0x23
mov ecx, dword [ebp - 4]
cvttss2si edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x23
cvtsi2ss xmm0, eax
mov ecx, dword [ebp - 4]
addss xmm0, dword [ecx + 0xc]
cvttss2si edx, xmm0
push edx
mov ecx, 0x101e1278
call fcn.1014d420
movzx eax, al
test eax, eax
je 0x1011aa9c
push 1
mov ecx, 0x791050
call ecx
add esp, 4
test eax, eax
je 0x1011aa9c
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov ecx, dword [ebp - 4]
call fcn.1011a700
mov al, 1
jmp 0x1011aaac
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x1011a98f
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1011aab0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x20]
test ecx, ecx
jne 0x1011aac4
jmp 0x1011ab2c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x24]
cmp eax, 0x3c
jbe 0x1011ab2c
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x2c]
test ecx, ecx
jne 0x1011ab01
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x28], 0xb
jne 0x1011aaff
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 1
jmp 0x1011ab20
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
sub edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x28], 1
jne 0x1011ab20
mov edx, dword [ebp - 4]
mov byte [edx + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
mov esp, ebp
pop ebp
ret

Function at 0x10143330
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0xf4]
cmp eax, 0x3e8
jbe 0x1014339e
mov edx, dword [ebp - 4]
cmp dword [edx + 0xec], 0
jle 0x1014336e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xec]
sub ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xf0], 0
jle 0x1014338f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xf0]
sub edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xf0], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xf4], eax
mov esp, ebp
pop ebp
ret
Function at 0x10143d90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 7
mov ecx, 0x101e1278
call fcn.1014d3f0
movzx eax, al
test eax, eax
jne 0x10143df5
push 8
mov ecx, 0x101e1278
call fcn.1014d3f0
movzx ecx, al
test ecx, ecx
jne 0x10143df5
push 0xe
mov ecx, 0x101e1278
call fcn.1014d3f0
movzx edx, al
test edx, edx
jne 0x10143df5
push 0xf
mov ecx, 0x101e1278
call fcn.1014d3f0
movzx eax, al
test eax, eax
jne 0x10143df5
push 0x4e
mov ecx, 0x101e1278
call fcn.1014d3f0
movzx ecx, al
test ecx, ecx
je 0x10143dfa
jmp 0x10143ede
movzx edx, byte [0x101df677]
cmp edx, 1
jne 0x10143e43
push 0x94
mov ecx, 0x10208bdc
call fcn.1011d1e0
movzx eax, al
test eax, eax
jne 0x10143e3e
mov ecx, 0x10205018
call fcn.100c2510
movzx ecx, al
test ecx, ecx
jne 0x10143e3e
mov ecx, 0x10205080
call fcn.100c2510
movzx edx, al
test edx, edx
je 0x10143e43
jmp 0x10143ede
mov eax, 0x7dd0f0
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10143e58
jmp 0x10143ede
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x10143ede
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x10262cf8]
add edx, 0xfa
cmp eax, edx
jb 0x10143ede
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, word [ecx]
test edx, edx
jge 0x10143e8f
jmp 0x10143ede
mov byte [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
push 8
push 1
push 0x79
lea ecx, [ebp - 0x10]
call fcn.10010580
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 0
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x43]
mov byte [ebp - 0xa], dl
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 0xf]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.10168f30
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10262cf8], eax
mov esp, ebp
pop ebp
ret
Function at 0x10148670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor eax, eax
mov word [ebp - 4], ax
mov dword [ebp - 8], 0
jmp 0x1014868f
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x20
jae 0x101486c3
mov edx, dword [ebp - 8]
movsx ecx, byte [edx + 0x10272ffe]
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, 0x11
div esi
movsx edx, byte [edx + 0x10273054]
xor ecx, edx
movzx eax, cl
movzx ecx, word [ebp - 4]
add ecx, eax
mov word [ebp - 4], cx
jmp 0x10148686
mov byte [0x101dff46], 0xe2
mov byte [0x101dff45], 0x26
movzx edx, word [ebp - 4]
and edx, 0xff
movzx eax, dl
movzx ecx, byte [0x101dff46]
add ecx, eax
mov byte [0x101dff46], cl
movzx edx, word [ebp - 4]
shr edx, 8
and edx, 0xff
movzx eax, dl
movzx ecx, byte [0x101dff45]
add ecx, eax
mov byte [0x101dff45], cl
mov edx, dword [0xd227b0]
mov dword [0x101dff64], edx
mov eax, dword [0xd227f8]
mov dword [0x101dff60], eax
push 0x10148790
push 0xd227b0
call fcn.10170f80
add esp, 8
push 0x10148750
push 0xd227f8
call fcn.10170f80
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10152bd0
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x101db820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x101bc5dc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x24]
xor eax, 0x12b586fd
mov dword [ebp - 0x1c], eax
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp + ecx - 0xc]
xor edx, 0x5d78a568
mov dword [ebp - 0x18], edx
mov eax, 1
imul eax, eax, 6
movzx ecx, word [ebp + eax - 0xc]
and ecx, 0xffff
movzx edx, word [ebp - 0x50]
shl edx, 0x10
or ecx, edx
xor ecx, 0xf45bc124
mov dword [ebp - 0x2c], ecx
movzx eax, word [ebp - 0x30]
and eax, 0xffff
movzx ecx, word [ebp - 0x2e]
shl ecx, 0x10
or eax, ecx
xor eax, 0xb542d8e2
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push str._08X__08X__08X__08X
mov eax, dword [ebp - 0x20]
add eax, 8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d930
mov esp, ebp
pop ebp
ret
Function at 0x10152d40
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 4
push 0x14
call fcn.1006da5d
add esp, 4
mov dword [ebp - 0x10], eax
push 0x288
call fcn.1006da5d
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x10152d8f
mov edx, dword [ebp - 0xc]
push edx
call fcn.1006da5d
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10152e33
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, 1
imul eax, eax, 5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
imul eax, eax, 3
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
push str._02X:_02X:_02X:_02X:_02X:_02X
mov eax, dword [ebp - 0x10]
push eax
call fcn.1006ed7a
add esp, 0x20
mov ecx, dword [ebp - 8]
push ecx
call fcn.1006de41
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x10153bd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x101db820]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
push 0x101bc788
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movzx ecx, word [ebp - 0x4c]
push ecx
movzx edx, word [ebp - 0x4a]
push edx
movzx eax, word [ebp - 0x46]
push eax
push str.LOGLOG__02d__02d__02d.txt
lea ecx, [ebp - 0x3c]
push ecx
call fcn.1006ed7a
add esp, 0x14
lea edx, [ebp + 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x101e3650
call fcn.1005ad80
add esp, 0xc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 1
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 1
je 0x10153c50
jmp 0x10153c61
push 0x101e3650
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10153b80
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d930
mov esp, ebp
pop ebp
ret

Function at 0x10153ca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [0x1020be04], 0
jne 0x10153cb2
jmp 0x10153d04
push 0
push 0
push 0x10153d10
call fcn.10070323
add esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x101bc704
push 0x101dff56
call fcn.10153d50
add esp, 8
push str._Plugin_Loaded
push 0x101dff56
call fcn.10153d50
add esp, 8
push str._____________________________________________
push 0x101dff56
call fcn.10153d50
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10153d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x101db820]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1020be04], 0
jne 0x10153d71
jmp 0x10153ea2
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x838], eax
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x82c], ecx
mov edx, dword [ebp - 0x82c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x101e3650
call fcn.1005ad80
add esp, 0xc
mov dword [ebp - 0x82c], 0
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
movzx edx, word [ebp - 0x814]
push edx
movzx eax, word [ebp - 0x816]
push eax
movzx ecx, word [ebp - 0x818]
push ecx
push str._02d:_02d:_02d:
lea edx, [ebp - 0x10]
push edx
call fcn.1005ada0
add esp, 0x14
push 0x101e3650
push 0x101bc784
lea eax, [ebp - 0x810]
push eax
call fcn.1005add0
add esp, 0xc
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10153bd0
add esp, 8
lea eax, [ebp - 0x810]
mov dword [ebp - 0x828], eax
mov ecx, dword [ebp - 0x828]
add ecx, 1
mov dword [ebp - 0x834], ecx
mov edx, dword [ebp - 0x828]
mov al, byte [edx]
mov byte [ebp - 0x821], al
add dword [ebp - 0x828], 1
cmp byte [ebp - 0x821], 0
jne 0x10153e37
mov ecx, dword [ebp - 0x828]
sub ecx, dword [ebp - 0x834]
mov dword [ebp - 0x830], ecx
push 0
lea edx, [ebp - 0x83c]
push edx
mov eax, dword [ebp - 0x830]
push eax
lea ecx, [ebp - 0x810]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.10153c70
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 7
push 0
mov ecx, dword [ebp + 8]
call fcn.10153c70
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d930
mov esp, ebp
pop ebp
ret

Function at 0x10153eb0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0x101bcb74
mov ecx, 0x10272fb8
call fcn.10165520
movzx eax, al
test eax, eax
jne 0x10153ee5
push 0x10
push 0x101bcb80
push str.Main.mspro_not_found_or_is_invalid
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x101dff56
call fcn.10153ca0
mov ecx, 0x101df6f8
call fcn.100c4af0
push str.DataEnc1.dat
mov ecx, 0x10272568
call fcn.1015e830
push str.DataDec2.dat
mov ecx, 0x10272568
call fcn.1015e850
call fcn.10148670
mov ecx, 0x10272e68
call fcn.10164be0
mov ecx, 0x10272fb8
call fcn.10165640
mov ecx, 0x10272fb8
call fcn.101656d0
mov ecx, 0x10272fb8
call fcn.10165760
mov ecx, 0x10272fb8
call fcn.101658d0
mov ecx, 0x10206e88
call fcn.100d18f0
mov ecx, 0x10204958
call fcn.100b3370
mov ecx, 0x101dff5e
call fcn.1016c960
movzx ecx, byte [0x10273345]
cmp ecx, 1
jne 0x10153f8d
push 0
push 0
push 0
push 0x101542e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x1015e320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x101db820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
push 0
push 0x80
push 3
push 0
push 1
push connect
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1015e35f
xor al, al
jmp 0x1015e4a9
push 0
lea ecx, [ebp - 0x30]
push ecx
push 6
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
movzx ecx, word [ebp - 0x38]
movzx edx, word [ebp + 0xc]
cmp ecx, edx
jne 0x1015e387
cmp dword [ebp - 0x36], 0x36
je 0x1015e398
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1015e4a9
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0x1015e3ab
mov edx, dword [ebp - 0x28]
add edx, 0x24
mov dword [ebp - 0x2c], edx
jmp 0x1015e3b4
mov eax, dword [ebp - 0x28]
add eax, 0x54
mov dword [ebp - 0x2c], eax
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x24], 0
jmp 0x1015e3dc
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 4
jge 0x1015e401
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + edx*4 + 0x84]
xor edx, dword [ebp + ecx*4 - 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + eax*4], edx
jmp 0x1015e3d3
push 0
lea edx, [ebp - 0x30]
push edx
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1c], 0
jmp 0x1015e429
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 4
jge 0x1015e44f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4 + 0x84]
xor eax, dword [ebp + edx*4 - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov dword [edx + ecx*4 + 0x10], eax
jmp 0x1015e420
push 0
lea eax, [ebp - 0x30]
push eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x20], 0
jmp 0x1015e477
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1015e49d
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov ecx, dword [edx + ecx*4 + 0x84]
xor ecx, dword [ebp + eax*4 - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov dword [eax + edx*4 + 0x20], ecx
jmp 0x1015e46e
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d930
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1015ec10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x101db820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1ac], ecx
lea eax, [ebp - 0x1a4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0xffffffff
jne 0x1015ec61
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x1015ed30
mov ecx, 2
mov word [ebp - 0x14], cx
push 0x1029c604
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
movzx edx, word [0x1027304a]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x1c0]
push eax
call fcn.1005b380
add esp, 4
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1a8]
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.1005b380
add esp, 4
push 0
lea ecx, [ebp - 0x1c0]
push ecx
lea edx, [ebp - 0x1b8]
push edx
lea eax, [ebp - 0x1d0]
push eax
call fcn.1005b4d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c8]
call fcn.1005b510
cmp dword [ebp - 0x1b0], 0
jne 0x1015ed10
lea ecx, [ebp - 0x1c8]
call fcn.1005b450
call fcn.1018e430
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx + 0x14], eax
jmp 0x1015ed1d
mov edx, dword [ebp - 0x1ac]
mov dword [edx + 0x14], 1
mov eax, dword [ebp - 0x1a8]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d930
mov esp, ebp
pop ebp
ret
Function at 0x10165640
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 4]
cmp ecx, 1
jne 0x10165686
push 0x10272fbe
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x10165684
push 0xa
push 0
push 0
push 0x10272fde
push 0x101c02a8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x101656c8
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 4]
cmp eax, 2
jne 0x101656c8
push 0x10272fbe
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x101656c8
push 0xa
push 0
push 0
push 0x10272fde
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x101656d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101db820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp - 0x108]
movzx ecx, byte [eax + 5]
cmp ecx, 1
je 0x101656fa
jmp 0x1016574c
mov edx, dword [ebp - 0x108]
add edx, 0x72
push edx
push str.XTEAM_MAIN_10405__s
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x10165744
lea edx, [ebp - 0x104]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x1016574c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d930
mov esp, ebp
pop ebp
ret
Function at 0x10165760
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101969eb
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x101db820]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x518], ecx
mov eax, dword [ebp - 0x518]
cmp dword [eax + 0x134], 0
jne 0x101657a5
jmp 0x101658ac
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.10076030
add esp, 0xc
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x101657e2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x518]
add eax, 0x102
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.10170a50
add esp, 4
push eax
call fcn.100708fe
add esp, 8
test eax, eax
je 0x10165812
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x514]
call fcn.10087f20
mov dword [ebp - 4], 0
push 0x400
lea edx, [ebp - 0x51c]
push edx
mov eax, dword [ebp - 0x518]
add eax, 0x102
push eax
lea ecx, [ebp - 0x514]
call fcn.10087cc0
movzx ecx, al
test ecx, ecx
jne 0x1016586a
push 0x10
push 0x101c02cc
push 0x101c02d4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x518]
mov eax, dword [edx + 0x134]
cmp eax, dword [ebp - 0x51c]
je 0x1016589a
push 0x10
push 0x101c02e8
push str.Main.exe_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x514]
call fcn.10087f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d930
mov esp, ebp
pop ebp
ret