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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x1000e014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x100028a4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x10002884
xor eax, eax
push ebp
push 0x1000287d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x100028c0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10002884
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x1000e014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x1000e014], ax
mov esp, ebp
pop ebp
ret

Function at 0x100030cc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x1000f038], 0
je 0x1000312d
cmp word [0x1000f20c], 0xd7b2
jne 0x100030f5
cmp dword [0x1000f214], 0
jbe 0x100030f5
mov eax, 0x1000f208
call dword [0x1000f224]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x1000e05c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x10003154
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x1000e020], 0
jne 0x10003149
push 0
push 0x1000e054
push 0x1000e05c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x10003280
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.10002500
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x1000f039], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x10003248
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x10004a84
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x10004aea
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.10003498
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.10002700
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x10004ad4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10004af1
lea eax, [ebp - 0x10]
call fcn.100032cc
ret

Function at 0x10005324
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.100038e0
add esp, 0x20c
pop ebx
ret
Function at 0x10005350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x100053c4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.100038e0
mov edx, dword [ebp - 0x210]
mov eax, ebx
mov ecx, 0x100053d4
call fcn.10003988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100053cb
lea eax, [ebp - 0x210]
call fcn.10003770
ret

Function at 0x100053d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor edx, edx
mov dword [ebp - 0x210], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1000544c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.100038e0
mov edx, dword [ebp - 0x210]
mov eax, ebx
mov ecx, 0x1000545c
call fcn.10003988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10005453
lea eax, [ebp - 0x210]
call fcn.10003770
ret

Function at 0x100054c4
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov esi, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathW
mov ebx, eax
mov eax, dword [0x1000e0ac]
call fcn.1000391c
add eax, eax
push eax
mov eax, dword [0x1000e0ac]
call fcn.1000390c
mov edx, eax
lea eax, [esp + ebx*2 + 4]
pop ecx
call fcn.100050d0
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_CreateFileW
push eax
call sub.kernel32.dll_CloseHandle
push esi
push 0
lea eax, [esp + 8]
push eax
call sub.shell32.dll_FindExecutableW
push esp
call sub.kernel32.dll_DeleteFileW
add esp, 0x20c
pop esi
pop ebx
ret
Function at 0x1000553c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
call fcn.10003c28
lea eax, [ebp - 8]
call fcn.10003c28
lea eax, [ebp + 0xc]
call fcn.10003c28
xor eax, eax
push ebp
push 0x10005628
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.100037ac
lea eax, [ebp - 0xc]
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.1000390c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x10005605
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.1000390c
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x100055fc
mov edx, dword [ebp - 0x14]
sar edx, 1
jns 0x100055c8
adc edx, 0
mov eax, ebx
call fcn.10003be4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx]
call fcn.1000390c
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, dword [ebx]
call fcn.1000391c
mov edx, eax
dec edx
mov eax, ebx
call fcn.10003be4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000562f
lea eax, [ebp - 8]
mov edx, 2
call fcn.10003788
lea eax, [ebp + 0xc]
call fcn.10003770
ret

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

Disassembly:
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x10005687
test al, 0x10
jne 0x1000568a
xor eax, eax
ret
mov al, 1
ret

Function at 0x10005690
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7dc
mov esi, eax
mov edi, esp
mov bl, 1
mov eax, esi
call fcn.10005678
test al, al
jne 0x1000576f
test esi, esi
je 0x10005766
push esi
call sub.kernel32.dll_lstrlenW
mov ebx, eax
add ebx, ebx
mov edx, edi
mov eax, esi
mov ecx, ebx
call fcn.10002604
mov eax, ebx
cmp eax, 0x207
ja 0x100056e7
lea edx, [edi + eax*2]
mov word [edx], 0
inc eax
add edx, 2
cmp eax, 0x208
jne 0x100056d7
mov eax, 0x208
lea edx, [esp + 0x412]
mov word [edx], 0
add edx, 2
dec eax
jne 0x100056f3
xor ebx, ebx
mov ax, word [edi + ebx*2]
mov word [esp + ebx*2 + 0x412], ax
jmp 0x1000575f
mov word [esp + ebx*2 + 0x412], ax
inc ebx
mov ax, word [edi + ebx*2]
cmp ax, 0x5c
je 0x10005728
test ax, ax
jne 0x10005710
mov ax, word [edi + ebx*2]
mov word [esp + ebx*2 + 0x412], ax
inc ebx
lea eax, [esp + 0x412]
call fcn.10005678
test al, al
jne 0x1000575f
push 0
lea eax, [esp + 0x416]
push eax
call sub.kernel32.dll_CreateDirectoryW
mov eax, esi
call fcn.10005678
test al, al
jne 0x10005766
cmp word [edi + ebx*2], 0
jne 0x10005719
mov eax, esi
call fcn.10005678
mov ebx, eax
mov eax, ebx
add esp, 0x824
pop edi
pop esi
pop ebx
ret
Function at 0x1000577c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
lea eax, [ebp - 4]
call fcn.10003c28
lea eax, [ebp - 8]
call fcn.10003c28
lea eax, [ebp + 0xc]
call fcn.10003c28
xor eax, eax
push ebp
push 0x10005825
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.1000390c
push eax
push esi
call sub.advapi32.dll_RegCreateKeyW
mov eax, dword [ebp + 0xc]
call fcn.1000391c
add eax, eax
push eax
mov eax, dword [ebp + 0xc]
call fcn.1000390c
push eax
mov eax, dword [ebp + 8]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.1000390c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
jne 0x100057f9
mov bl, 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000582c
lea eax, [ebp - 8]
mov edx, 2
call fcn.10003788
lea eax, [ebp + 0xc]
call fcn.10003770
ret

Function at 0x10005954
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.10003770
test esi, esi
jne 0x1000598d
push 0x20a
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.100038e0
jmp 0x100059b1
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.10005838
mov edi, eax
test esi, esi
je 0x100059b1
mov eax, dword [ebx]
xor edx, edx
call fcn.10003a34
je 0x100059b1
dec esi
jmp 0x10005994
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x100059e8
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
lea eax, [ebp - 4]
call fcn.10003c28
xor eax, eax
push ebp
push 0x10005a83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.1000391c
add eax, eax
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x100059c4]
call fcn.10004584
add esp, 4
mov eax, dword [ebp - 4]
call fcn.1000391c
add eax, eax
push eax
mov eax, dword [ebp - 4]
call fcn.1000390c
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.100050d0
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.shlwapi.dll_SHDeleteKeyW
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10005a8a
lea eax, [ebp - 8]
mov edx, dword [0x100059c4]
call fcn.10004590
lea eax, [ebp - 4]
call fcn.10003770
ret
Function at 0x10005e30
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, edx
mov ebx, eax
mov dword [esp], 0
mov dword [esp + 4], 0
xor eax, eax
mov dword [esi], eax
mov eax, ebx
call fcn.10005ca4
test al, al
je 0x10005ea4
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.kernel32.dll_CreateFileW
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp]
call fcn.10002500
mov dword [esi], eax
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [esi]
push eax
push ebx
call sub.kernel32.dll_ReadFile
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x10005eb4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
xor ebx, ebx
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x10005f0a
cmp dword [ebp + 0xc], 0
jne 0x10005ef3
cmp dword [ebp + 8], 0xffffffff
jne 0x10005ef3
push 0
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
push edi
push esi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x10005f1c
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.10003c28
xor eax, eax
push ebp
push 0x10005f73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.1000390c
mov esi, eax
push esi
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
or ebx, 2
or ebx, 1
or ebx, 4
push ebx
push esi
call sub.kernel32.dll_SetFileAttributesW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10005f7a
lea eax, [ebp - 4]
call fcn.10003770
ret

Function at 0x10005f88
Capabilities:
Copy file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.10003c28
lea eax, [ebp - 8]
call fcn.10003c28
xor eax, eax
push ebp
push 0x10006016
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x10
push 0x104
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 4]
call fcn.1000390c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToCacheFileW
test eax, eax
jne 0x10005ff9
push 0
mov eax, dword [ebp - 8]
call fcn.1000390c
push eax
lea eax, [ebp - 0x212]
push eax
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x10005ffb
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000601d
lea eax, [ebp - 8]
mov edx, 2
call fcn.10003788
ret
Function at 0x10006090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1000618b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.100046dc
lea eax, [ebp - 0x212]
mov edx, 0x20a
call fcn.100050d8
lea eax, [ebp - 8]
call fcn.100046dc
push eax
call sub.shell32.dll_SHGetMalloc
cmp dword [ebp - 8], 0
jne 0x100060f5
mov edi, esi
lea esi, [ebp - 0x212]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x10006175
xor eax, eax
push ebp
push 0x1000616e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push ebx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.1000606c
test al, al
je 0x10006142
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x10006142
lea eax, [ebp - 0x212]
mov edx, 0x20a
call fcn.100050d8
mov edi, esi
lea esi, [ebp - 0x212]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10006175
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10006192
lea eax, [ebp - 8]
call fcn.100046dc
ret

Function at 0x100061f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, esi
call fcn.100037ac
mov eax, dword [ebx]
call fcn.1000391c
mov edx, eax
test edx, edx
jle 0x1000622f
mov eax, 1
mov ecx, dword [ebx]
mov cx, word [ecx + eax*2 - 2]
xor cx, 0x13
mov esi, dword [ebx]
mov word [esi + eax*2 - 2], cx
inc eax
dec edx
jne 0x10006219
pop esi
pop ebx
ret

Function at 0x1000634c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
dec ebx
test ebx, ebx
jl 0x100063bc
inc ebx
mov dword [ebp - 4], ebx
mov esi, edx
inc byte [eax + 0x100]
xor edx, edx
mov dl, byte [eax + 0x100]
mov dl, byte [eax + edx]
add byte [eax + 0x101], dl
xor ebx, ebx
mov bl, byte [eax + 0x101]
mov bl, byte [eax + ebx]
push ebx
xor ebx, ebx
mov bl, byte [eax + 0x100]
lea edi, [eax + ebx]
pop ebx
mov byte [edi], bl
xor ebx, ebx
mov bl, byte [eax + 0x101]
mov byte [eax + ebx], dl
xor ebx, ebx
mov bl, byte [eax + 0x100]
add dl, byte [eax + ebx]
and edx, 0xff
mov dl, byte [eax + edx]
xor dl, byte [esi]
mov byte [ecx], dl
inc ecx
inc esi
dec dword [ebp - 4]
jne 0x10006361
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x10006744
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push ecx
mov esi, edx
push esp
push ecx
push 0
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread_1
mov ebx, eax
push esi
push ebx
call sub.kernel32.dll_SetThreadPriority
mov eax, ebx
pop edx
pop esi
pop ebx
ret
Function at 0x10006768
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, eax
push 1
push esi
call sub.kernel32.dll_TerminateThread
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x100068ec
Capabilities:
Connect to http server
Create http request
Send file using ftp

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
push 0
push 0
push 0
push 1
push 0
call sub.wininet.dll_InternetOpenW
mov esi, eax
push 0
push 0x8000000
push 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0x15
push ebx
push esi
call sub.wininet.dll_InternetConnectW
mov edi, eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.wininet.dll_FtpSetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
push 0xffffffffffffffff
and eax, 0x7f
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0
push 2
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
call sub.wininet.dll_FtpPutFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x10006974
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
mov eax, ebx
call fcn.10003770
call sub.user32.dll_GetForegroundWindow
test eax, eax
je 0x100069ab
push 0x200
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetWindowTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.100038e0
add esp, 0x200
pop ebx
ret
Function at 0x100069dc
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x10006b04
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, ebx
call fcn.10003770
push esi
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x10006ae4
xor eax, eax
push ebp
push 0x10006add
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10006ac6
xor eax, eax
push ebp
push 0x10006abf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalSize
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x100069b4]
call fcn.10004584
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov edx, esi
call fcn.100050d0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.100037ac
push ebx
mov eax, dword [ebx]
call fcn.1000391c
mov ecx, eax
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.10003ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10006aca
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10006ae8
call sub.user32.dll_CloseClipboard
ret
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10006b0b
lea eax, [ebp - 4]
mov edx, dword [0x100069b4]
call fcn.10004590
ret
Function at 0x100093e4
Capabilities:
Get file size
Hide graphical window
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x100095de
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.10008d4c
lea eax, [ebp - 4]
mov edx, 0x100095f0
call fcn.100037d0
cmp dword [0x1000f688], 0
jne 0x10009436
push 0x10008568
mov eax, dword [ebp - 4]
call fcn.1000390c
mov ecx, eax
mov dl, 1
mov eax, dword [0x1000649c]
call fcn.10006510
mov dword [0x1000f688], eax
push 0
mov eax, dword [0x1000f688]
call fcn.1000662c
push eax
call sub.user32.dll_ShowWindow
mov eax, 0x1000f6d0
mov edx, 0x10009614
call fcn.100037ac
push 0x80
mov eax, dword [0x1000f684]
call fcn.1000390c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 0
push 0
push 4
push 0
push 3
push 0xc0000000
mov eax, dword [0x1000f684]
call fcn.1000390c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [0x1000e0b8], eax
cmp dword [0x1000e0b8], 0xffffffff
je 0x100095c3
cmp byte [0x1000f6c1], 1
jne 0x10009547
call fcn.10006788
mov dword [0x1000f6c4], eax
mov dword [0x1000f6c8], edx
push 0
mov eax, dword [0x1000e0b8]
push eax
call sub.kernel32.dll_GetFileSize
xor edx, edx
push edx
push eax
push 0
push 2
mov eax, dword [0x1000f6c4]
mov edx, dword [0x1000f6c8]
call fcn.10003fb0
cmp edx, dword [esp + 4]
jne 0x100094f0
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x10009508
jmp 0x100094f4
pop edx
pop eax
jle 0x10009508
mov dword [0x1000f6c4], 0
mov dword [0x1000f6c8], 0
push dword [0x1000f6c8]
push dword [0x1000f6c4]
lea eax, [ebp - 8]
call fcn.10006710
mov eax, dword [ebp - 8]
push eax
push 2
lea eax, [ebp - 0xc]
mov ecx, dword [0x1000f6b4]
mov edx, 0x10009640
call fcn.10003988
mov edx, dword [ebp - 0xc]
mov ecx, 0x10009658
mov eax, 0x80000001
call fcn.1000577c
push 7
mov eax, dword [0x1000f684]
call fcn.1000390c
push eax
call sub.kernel32.dll_SetFileAttributesW
push 2
push 0
push 0
mov eax, dword [0x1000e0b8]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
push 0
mov eax, dword [0x1000f698]
push eax
mov eax, dword [0x1000f688]
call fcn.1000662c
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x1000f688]
call fcn.1000662c
push eax
call sub.user32.dll_SetClipboardViewer
cmp byte [0x1000f6c1], 1
jne 0x100095c3
cmp dword [0x1000e0b0], 0
je 0x100095b0
mov eax, dword [0x1000e0b0]
call fcn.10006768
mov eax, 0x10009204
xor ecx, ecx
xor edx, edx
call fcn.10006744
mov dword [0x1000e0b0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100095e5
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.10003788
ret

Function at 0x10009ab0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
dec eax
jne 0x10009ac3
mov byte [ebx + 0xe], 0
pop ebx
ret