joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009b50
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x10075610]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push 0x58
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.1004e1b0
add esp, 0xc
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
test esi, esi
je 0x10009bb5
mov eax, esi
push edi
lea esi, [esp + 0xc]
call fcn.10009910
add esp, 4
push ebx
lea ecx, [esp + 0xc]
call fcn.100099a0
mov ecx, dword [esp + 0x68]
add esp, 4
pop esi
xor ecx, esp
call fcn.1004ada2
add esp, 0x68
ret
Function at 0x10009c30
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x78
push ebp
mov ebp, dword [esp + 0x80]
mov eax, 0x10009c20
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov eax, ecx
push ebx
mov dword [esp + 0x10], 0x10009be0
mov dword [esp + 0x18], 0x10009c00
mov dword [esp + 0x20], 0x5a827999
mov dword [esp + 0x24], 0x6ed9eba1
mov dword [esp + 0x28], 0x8f1bbcdc
mov dword [esp + 0x2c], 0xca62c1d6
sub edx, eax
mov esi, 0x10
push edi
jmp 0x10009c90
mov eax, dword [edx + ecx]
mov edi, eax
and edi, 0xff0000
mov ebx, eax
shr ebx, 0x10
or edi, ebx
mov ebx, eax
shl ebx, 0x10
and eax, 0xff00
or ebx, eax
shr edi, 8
shl ebx, 8
or edi, ebx
mov dword [ecx], edi
add ecx, 4
sub esi, 1
jne 0x10009c90
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
xor al, al
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], edx
mov byte [esp + 0x13], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], al
jmp 0x10009cf9
mov al, byte [esp + 0x12]
mov bl, al
and bl, 0xf
cmp al, 0x10
jb 0x10009d2d
movzx eax, bl
lea esi, [eax - 8]
and esi, 0xf
mov esi, dword [esp + esi*4 + 0x48]
lea edi, [eax - 3]
lea edx, [esp + eax*4 + 0x48]
and edi, 0xf
xor esi, dword [esp + edi*4 + 0x48]
add eax, 2
and eax, 0xf
xor esi, dword [esp + eax*4 + 0x48]
xor esi, dword [edx]
rol esi, 1
mov dword [edx], esi
mov eax, dword [esp + 0x40]
movzx edi, byte [esp + 0x13]
mov edx, dword [esp + edi*4 + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x40]
push ecx
call edx
mov esi, dword [esp + 0x40]
rol esi, 5
movzx ecx, bl
add esi, dword [esp + ecx*4 + 0x54]
push 0x10
add esi, dword [esp + edi*4 + 0x34]
lea edx, [esp + 0x44]
add esi, dword [esp + 0x54]
push edx
add esi, eax
lea eax, [esp + 0x4c]
push eax
call fcn.1004d480
mov al, byte [esp + 0x29]
mov ecx, dword [esp + 0x54]
add esp, 0x18
inc al
ror ecx, 2
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x11], al
cmp al, 0x14
jne 0x10009da4
lea eax, [edi + 1]
and eax, reloc.WS2_32.dll_closesocket
mov byte [esp + 0x11], 0
jns 0x10009da0
dec eax
or eax, 0xfffffffc
inc eax
mov byte [esp + 0x13], al
mov al, byte [esp + 0x12]
inc al
mov byte [esp + 0x12], al
cmp al, 0x4f
jbe 0x10009cf5
lea ecx, [esp + 0x34]
pop edi
mov eax, ebp
sub ecx, ebp
mov edx, 5
pop ebx
mov esi, dword [ecx + eax]
add dword [eax], esi
add eax, 4
sub edx, 1
jne 0x10009dc5
add dword [ebp + 0x18], 0x200
pop esi
adc dword [ebp + 0x1c], edx
pop ebp
add esp, 0x78
ret
Function at 0x10009f30
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x20
push esi
mov esi, eax
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
mov dword [esp + 0x18], 0xc3d2e1f0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
test esi, 0xfffffe00
je 0x10009f93
lea eax, [esp + 8]
push eax
mov edx, edi
call fcn.10009c30
sub esi, 0x200
add esp, 4
add edi, 0x40
test esi, 0xfffffe00
jne 0x10009f73
mov ecx, esi
mov edx, edi
lea esi, [esp + 8]
call fcn.10009df0
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.10009ee0
pop edi
pop esi
add esp, 0x20
ret
Function at 0x1000aa60
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10075610]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jne 0x1000aa7e
jmp 0x1000ab42
xor eax, eax
mov word [ebp - 0x418], ax
push 0x40e
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.1004e1b0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000aabc
jmp 0x1000ab42
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x420], 0
lea eax, [ebp - 0x420]
push eax
push 4
lea ecx, [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x1000ab30
push 0x208
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x1000ab30
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10050cd1
add esp, 8
test eax, eax
jne 0x1000ab30
push 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
jne 0x1000aa73
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1004ada2
mov esp, ebp
pop ebp
ret

Function at 0x1000ab50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10075610]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], 0
jne 0x1000ab75
jmp 0x1000ac10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1000ab8c
jmp 0x1000ac10
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.1004e1b0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1000abcc
jmp 0x1000ac10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.1000aa60
add esp, 8
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1000ac08
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call fcn.1000aa60
add esp, 8
jmp 0x1000abdf
xor eax, eax
jne 0x1000ab6a
cmp dword [ebp - 4], 0
je 0x1000ac2d
cmp dword [ebp - 4], 0xffffffff
je 0x1000ac2d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1004ada2
mov esp, ebp
pop ebp
ret
Function at 0x1000b210
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x10075610]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.1004e1b0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x10071598
call fcn.1000b0f0
add esp, 8
test eax, eax
jne 0x1000b266
jmp 0x1000b35a
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.1004e1b0
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
call fcn.1000b1b0
add esp, 4
lea eax, [ebp - 0x218]
push eax
push 0x104
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x420]
push edx
push 0x100715bc
push 0x100715cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x424]
add ecx, 2
mov dword [ebp - 0x428], ecx
mov edx, dword [ebp - 0x424]
mov ax, word [edx]
mov word [ebp - 0x42a], ax
add dword [ebp - 0x424], 2
cmp word [ebp - 0x42a], 0
jne 0x1000b2d6
mov ecx, dword [ebp - 0x424]
sub ecx, dword [ebp - 0x428]
sar ecx, 1
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp - 0x430]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x1000b352
cmp dword [ebp - 8], 0x103
jae 0x1000b34b
mov eax, 0x5c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2], ax
xor eax, eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2 + 2], ax
jmp 0x1000b352
mov dword [ebp - 4], 0
xor eax, eax
jne 0x1000b22a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1004ada2
mov esp, ebp
pop ebp
ret

Function at 0x1000b5d0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x1000b5e5
jmp 0x1000b64b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 0
push 0xc0000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x1000b647
mov edx, 0xfeff
mov word [ebp - 0x10], dx
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
jne 0x1000b5dd
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000b920
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10075610]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
push 0x10071054
mov ecx, dword [ebp - 0x218]
call fcn.1000ecc0
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.1000b9d0
movzx ecx, al
test ecx, ecx
je 0x1000b98d
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x1000b98d
lea eax, [ebp - 0x210]
push eax
call fcn.1000b5d0
add esp, 4
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ada2
mov esp, ebp
pop ebp
ret

Function at 0x1000da80
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10075610]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x288
push 0x100766c8
mov eax, dword [ebp - 8]
push eax
call fcn.1004b1c1
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x6f
jne 0x1000db0a
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.1004b043
add esp, 4
push 0x100766c8
mov eax, dword [ebp - 8]
push eax
call fcn.1004b1c1
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000dbbc
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x190], 6
jne 0x1000dbbc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x1000db3d
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x190]
jae 0x1000dbac
xor edx, edx
mov word [ebp - 0x30], dx
xor eax, eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], ax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x194]
push edx
push 0x10070e2c
lea eax, [ebp - 0x30]
push eax
call fcn.10051218
add esp, 0xc
lea ecx, [ebp - 0x30]
push ecx
mov edx, 0x104
sub edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
call fcn.1004adb1
add esp, 0xc
mov eax, dword [ebp - 0x14]
add eax, 3
mov dword [ebp - 0x14], eax
jmp 0x1000db34
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + 0x22], cx
mov dword [ebp - 4], 1
cmp dword [ebp - 0x10], 0
je 0x1000dbdb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.1004b043
add esp, 4
mov dword [ebp - 0x10], 0
xor edx, edx
jne 0x1000da97
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1004ada2
mov esp, ebp
pop ebp
ret
Function at 0x1000dcd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10075610]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x1000dd03
cmp dword [ebp + 0xc], 0
je 0x1000dd03
cmp dword [ebp + 0x10], 0
jne 0x1000dd08
jmp 0x1000def6
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1000dd23
jmp 0x1000def6
cmp dword [ebp - 4], 0
jne 0x1000dd2e
jmp 0x1000def6
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.1004e1b0
add esp, 0xc
mov dword [ebp - 0x10], 0x208
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000dd83
jmp 0x1000def6
cmp dword [ebp - 0xc], 1
je 0x1000dd9a
cmp dword [ebp - 0xc], 7
je 0x1000dd9a
cmp dword [ebp - 0xc], 4
je 0x1000dd9a
jmp 0x1000def6
cmp dword [ebp - 0x10], 0x204
jb 0x1000dda8
jmp 0x1000def6
mov ecx, dword [ebp - 0x10]
shr ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x220], dx
mov eax, dword [ebp - 0x10]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x21e], cx
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x22c], edx
cmp dword [ebp - 0x22c], 1
je 0x1000ddfa
cmp dword [ebp - 0x22c], 4
je 0x1000dec1
cmp dword [ebp - 0x22c], 7
je 0x1000de17
jmp 0x1000dee7
lea eax, [ebp - 0x220]
push eax
push 0x104
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1004adb1
add esp, 0xc
jmp 0x1000deee
xor edx, edx
mov eax, dword [ebp + 0x14]
mov word [eax], dx
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x224]
movzx eax, word [edx]
test eax, eax
je 0x1000debf
mov ecx, dword [ebp - 0x224]
push ecx
push 0x104
mov edx, dword [ebp + 0x14]
push edx
call fcn.1004cad1
add esp, 0xc
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
add ecx, 2
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp - 0x230]
mov ax, word [edx]
mov word [ebp - 0x236], ax
add dword [ebp - 0x230], 2
cmp word [ebp - 0x236], 0
jne 0x1000de6f
mov ecx, dword [ebp - 0x230]
sub ecx, dword [ebp - 0x234]
sar ecx, 1
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 0x224]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x224], ecx
jmp 0x1000de2b
jmp 0x1000deee
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x228]
push eax
push 0x10070ee0
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1000e2b0
add esp, 0xc
jmp 0x1000deee
mov dword [ebp - 8], 0
xor edx, edx
jne 0x1000dcf1
cmp dword [ebp - 4], 0
je 0x1000df0d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004ada2
mov esp, ebp
pop ebp
ret
Function at 0x1000df20
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
push 0x3c
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.1004e1b0
add esp, 0xc
mov dword [ebp - 0x48], 0x40
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1000df79
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
push str._M:_I64X
mov ecx, dword [ebp + 8]
push ecx
call fcn.10051218
add esp, 0x10
mov dword [ebp - 4], 1
xor edx, edx
jne 0x1000df2d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000e590
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ecx
push 0x208
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.1004e1b0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
mov cx, word [eax]
mov word [ebp - 0x12], cx
add dword [ebp - 0xc], 2
cmp word [ebp - 0x12], 0
jne 0x1000e5bb
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x104
jae 0x1000e628
mov eax, dword [ebp + 8]
push eax
push 0x104
mov ecx, dword [ebp - 8]
push ecx
call fcn.1004adb1
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1000e628
mov eax, dword [ebp - 8]
push eax
call fcn.1000b5d0
add esp, 4
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 8]
call fcn.1000ea30
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x1000e910
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10075610]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.1004e1b0
add esp, 0xc
mov ecx, dword [ebp - 0x214]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0
push 0x10070b18
push 0x10070b30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1000e9af
lea eax, [ebp - 0x210]
push eax
call fcn.10050e58
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push 0x208
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.1004e1b0
add esp, 0xc
mov eax, dword [ebp - 0x214]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0x10070b44
push 0x10070b5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x1000ea05
lea edx, [ebp - 0x210]
push edx
call fcn.10050e58
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ebp - 4], 1
xor edx, edx
jne 0x1000e930
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1004ada2
mov esp, ebp
pop ebp
ret 8
Function at 0x100196a0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + eax]
mov ebx, 0x1505
cmp esi, edi
jae 0x10019690
movzx eax, byte [esi]
push eax
call fcn.1001b010
mov edx, ebx
shl edx, 5
movsx ecx, al
add edx, ebx
xor ecx, edx
inc esi
add esp, 4
mov ebx, ecx
cmp esi, edi
jb 0x10019671
pop edi
pop esi
movzx eax, bl
pop ebx
ret
push ecx
push esi
mov esi, eax
test esi, esi
je 0x100196cd
call fcn.100194b0
test eax, eax
jne 0x100196cd
lea eax, [esp + 4]
push eax
call fcn.10019600
add esp, 4
mov ecx, eax
mov eax, dword [esp + 4]
pop esi
add esp, 4
jmp 0x10019660
xor eax, eax
pop esi
pop ecx
ret

Function at 0x1001b870
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1001b8a2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret

Function at 0x1001b9e0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x608], edi
je 0x1001ba29
push 1
push esi
call fcn.1001eca0
mov eax, dword [esi + 0x59c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0x608]
push edx
push eax
push esi
call ecx
push 0
push esi
mov edi, eax
call fcn.1001eca0
add esp, 0x24
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x1001ba69
cmp eax, 2
jg 0x1001ba69
mov edx, dword [esi + 0x598]
push edx
push 1
lea eax, [eax + eax*2 + 0x10068408]
push 2
push eax
call fcn.1004dc04
mov ecx, dword [esi + 0x598]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
push 1
push edx
push eax
call fcn.1004dc04
add esp, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x1001bfe0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [ebx + 0x2a8]
push ebp
mov ebp, dword [ebx + eax*4 + 0x1a8]
push esi
lea esi, [eax + 0x1d]
shl esi, 4
add esi, ebx
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [ecx + 0x40], 3
je 0x1001c07f
cmp dword [ebx + eax*4 + 0x1c0], 0x1001bd10
jne 0x1001c07f
cmp dword [esi], 0
je 0x1001c01a
test edi, edi
je 0x1001c07f
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.1001c260
add esp, 0x14
cmp eax, 0xffffffff
je 0x1001c07f
test al, 1
je 0x1001c07f
cmp dword [esi], 0
jne 0x1001c061
mov edx, dword [ebx]
mov eax, dword [edx + 0x8e4]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [section..data]
mov edi, dword [esi + 4]
xor ecx, ecx
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
cmp eax, ecx
je 0x1001c07c
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1001c07f
add dword [esi + 8], eax
pop edi
pop esi
pop ebp
ret
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebp
ret
Function at 0x1001c090
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x84
mov eax, dword [0x10075610]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x8c]
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [ebx + eax*4 + 0x1a8]
push esi
mov esi, dword [esp + 0xa4]
push edi
mov edi, dword [esp + 0xa0]
call fcn.1001bfe0
mov eax, dword [esp + 0xa4]
push 0
push eax
push edi
push ebp
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
mov dword [esi], 0
cmp edi, 0xffffffff
jne 0x1001c13a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x1001c109
xor eax, eax
mov dword [esi], 0x51
jmp 0x1001c13a
push 0x80
lea ecx, [esp + 0x14]
push ecx
push ebp
call fcn.10012730
mov edx, dword [ebx]
push eax
push str.Send_failure:__s
push edx
call fcn.1001bb50
mov eax, dword [ebx]
mov dword [eax + 0xcac], ebp
add esp, 0x18
mov dword [esi], 0x37
mov eax, edi
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004ada2
add esp, 0x84
ret
Function at 0x1001ca40
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x2b0], 2
jne 0x1001ca52
jmp fcn.1001c9e0
mov eax, 1
ret

Function at 0x1001cd30
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x10075610]
xor eax, esp
mov dword [esp + 0x190], eax
test byte [esp + 0x198], 2
je 0x1001cd8f
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1001cd75
mov eax, dword [esp]
cmp al, 2
jne 0x1001cd6f
shr eax, 8
cmp al, 2
je 0x1001cd8f
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.1004ada2
add esp, 0x194
ret
push 3
push 2
push 0
push 6
call fcn.1001ca70
add esp, 0x10
test eax, eax
je 0x1001cdcf
push 0x10078470
mov dword [0x10078478], 1
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.1004ada2
add esp, 0x194
ret
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov dword [0x10078478], 0
xor eax, eax
call fcn.1004ada2
add esp, 0x194
ret