joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f599
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x69777b
call fcn.006375a8
sub esp, 0x29c
push ebx
push esi
push edi
push 0x6c2104
lea ecx, [ebp - 0x40]
call fcn.00427f43
push 1
lea eax, [ebp - 0x40]
xor edi, edi
push eax
sub esp, 0x18
mov dword [ebp - 4], edi
mov eax, esp
push dword [ebp + 0xc]
push eax
call fcn.00427922
lea eax, [ebp - 0x28]
push eax
call fcn.0045e7e8
push edi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004267c2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45f5f6
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45f663
mov bl, byte [ebp + 0x10]
test bl, bl
jne 0x45f61c
cmp word [ebp - 0x27c], 0x2e
je 0x45f64a
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00427f43
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 3
call fcn.0043df98
push edi
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004267c2
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x45f60e
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.004267c2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45f68f
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x69777b
call fcn.006375a8
mov eax, dword [ebp + 0x10]
sub esp, 0x29c
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x45f6b0
mov eax, 0x6c2104
push eax
lea ecx, [ebp - 0x40]
call fcn.00427f43
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push 1
push eax
sub esp, 0x18
mov eax, esp
push dword [ebp + 0xc]
push eax
call fcn.00427922
lea eax, [ebp - 0x28]
push eax
call fcn.0045e7e8
push 0
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004267c2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45f6f6
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45f70f
xor esi, esi
jmp 0x45f76a
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00427922
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 3
call fcn.0043df98
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004267c2
lea eax, [ebp - 0x2a8]
inc esi
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x45f70f
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push str.Found__d_entries_using_filter__s_in_directory__s
call fcn.0040c884
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004267c2
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45f7bc
Capabilities:
Get common file path

Disassembly:
mov eax, 0x69779d
call fcn.006375a8
sub esp, 0x64
push esi
push edi
xor edi, edi
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], ax
mov dword [ebp - 4], edi
cmp byte [0x7a398a], al
je 0x45f7fd
push str.downloads
push dword [ebp + 8]
call fcn.00470d99
jmp 0x45f90d
push 0x6c2188
push 0x6bcec4
call fcn.00462194
mov dword [ebp - 0x28], 0x374de290
mov dword [ebp - 0x24], 0x4565123f
mov dword [ebp - 0x20], 0xc4396491
mov dword [ebp - 0x1c], 0x7b465e92
test eax, eax
je 0x45f899
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x8000
lea ecx, [ebp - 0x28]
push ecx
call eax
test eax, eax
js 0x45f899
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.00427f43
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0043ee18
push eax
lea ecx, [ebp - 0x40]
call fcn.0042623d
push edi
push 1
lea ecx, [ebp - 0x70]
call fcn.004267c2
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.004267c2
push 2
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x45f891
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x45f901
push 2
push 0x118
call fcn.0045e456
push 1
push 5
mov esi, eax
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45f901
push 0x6c21a0
lea ecx, [ebp - 0x58]
call fcn.00427f43
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00427f43
lea eax, [ebp - 0x70]
push eax
call fcn.0045e7e8
push eax
lea ecx, [ebp - 0x40]
call fcn.0042623d
push edi
push 1
lea ecx, [ebp - 0x70]
call fcn.004267c2
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.004267c2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.0042613c
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.004267c2
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45f97d
Capabilities:
Move file

Disassembly:
push 3
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
ret 8

Function at 0x45fc3c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x45fc7f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x45fca1
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
test ecx, ecx
je 0x45fc8b
mov dword [ecx], eax
cmp eax, esi
je 0x45fc9f
sub esi, eax
add eax, edi
push esi
push 0
push eax
call fcn.00651ed0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x45fcfc
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
push 0x22
pop eax
cmp word [edi], ax
jne 0x45fd19
add edi, 2
push eax
lea eax, [edi + 2]
push eax
jmp 0x45fd1c
push 0x20
push edi
call fcn.00650617
mov esi, eax
xor ebx, ebx
mov ebp, ebx
pop ecx
pop ecx
test esi, esi
je 0x45fd38
movzx ebp, word [esi]
xor ecx, ecx
mov word [esi], cx
add esi, 2
push edi
call fcn.0045f4bc
test al, al
jne 0x45fd4a
push 2
pop eax
jmp 0x45fdd9
push 0x3c
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00651ed0
add esp, 0xc
mov dword [esp + 0x20], edi
xor edi, edi
mov dword [esp + 0x10], 0x3c
lea eax, [esp + 0x10]
mov dword [esp + 0x24], esi
inc edi
mov dword [esp + 0x14], 0x540
push eax
mov dword [esp + 0x30], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, edi
jne 0x45fdcf
cmp dword [esp + 0x48], ebx
je 0x45fdcf
push 0x493e0
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x45fdba
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x45fdc5
mov ebx, dword [esp + 0x50]
jmp 0x45fdc5
mov ecx, 0x102
cmp eax, ecx
jne 0x45fdc5
mov ebx, ecx
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x45fdd7
mov word [esi - 2], bp
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4

Function at 0x460273
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, si
jne 0x460281
sub edi, ecx
sar edi, 1
lea eax, [edi + 1]
test eax, eax
js 0x4602a7
lea eax, [edi*2 + 2]
call fcn.00637c70
mov esi, esp
jmp 0x4602b8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x7a3ad4], eax
mov dword [0], esi
lea eax, [edi*2 + 2]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
push esi
call fcn.0064fe80
add esp, 0xc
push 0x5c
pop edx
cmp word [esi], dx
jne 0x4602ed
cmp word [esi + 2], dx
jne 0x4602ed
cmp word [esi + 4], 0x3f
jne 0x460352
cmp word [esi + 6], dx
jne 0x460352
add esi, 8
cmp edi, 3
jl 0x4602fc
cmp word [esi + 2], 0x3a
jne 0x4602fc
add esi, 6
push edx
push esi
call fcn.00479632
mov esi, eax
test esi, esi
je 0x460345
mov edi, dword [ebp - 4]
xor eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x460327
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x46036d
push 0x5c
xor ecx, ecx
pop eax
mov word [esi - 2], ax
cmp word [esi], cx
je 0x460345
push eax
lea eax, [esi + 2]
push eax
call fcn.00479632
mov esi, eax
test esi, esi
jne 0x46030c
mov al, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 2
pop ecx
add esi, 4
movzx eax, word [esi]
add esi, 2
cmp ax, dx
jne 0x460368
sub ecx, 1
je 0x4602fc
test ax, ax
jne 0x460358
xor al, al
jmp 0x460347
Function at 0x4609eb
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6976e3
call fcn.006375a8
push ecx
xor edx, edx
mov dword [ebp - 0x10], edx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x460a14
mov eax, dword [esi]
jmp 0x460a16
mov eax, esi
xor ecx, ecx
push ebx
mov word [eax], cx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push edx
push edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 1
call ebx
mov edi, eax
test edi, edi
je 0x460a93
push 0
push edi
mov ecx, esi
call fcn.0043e107
cmp dword [esi + 0x14], 8
jb 0x460a4a
mov eax, dword [esi]
jmp 0x460a4c
mov eax, esi
push eax
push edi
call ebx
test eax, eax
jne 0x460a6a
and dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x460a61
mov eax, dword [esi]
jmp 0x460a63
mov eax, esi
xor ecx, ecx
mov word [eax], cx
jmp 0x460a93
cmp dword [esi + 0x14], 8
jb 0x460a74
mov ecx, dword [esi]
jmp 0x460a76
mov ecx, esi
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x460a7b
sub ecx, edx
sar ecx, 1
push ebx
push ecx
mov ecx, esi
call fcn.0043e107
xor eax, eax
pop ebx
cmp dword [esi + 0x10], eax
jne 0x460ab0
mov edi, 0x6c1fdc
push edi
call fcn.00426a30
pop ecx
push eax
push edi
mov ecx, esi
call fcn.004372ba
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x460f19
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 0x410]
push ebx
push esi
push edi
mov ebx, 0x104
or esi, 0xffffffff
push ebx
push eax
push dword [ebp + 8]
mov edi, SysReAllocString
call fcn.0046f348
test al, al
je 0x460fc1
push ebx
xor ebx, ebx
lea eax, [ebp - 0x208]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
test eax, eax
je 0x460fc1
push str.FATE
lea eax, [ebp - 0x208]
push eax
call fcn.0047b116
test al, al
jne 0x460fc1
push str.FAT32
lea eax, [ebp - 0x208]
push eax
call fcn.0047b116
test al, al
jne 0x460fbf
push 0x6c28c4
lea eax, [ebp - 0x208]
push eax
call fcn.0047b116
test al, al
jne 0x460fba
push str.FAT16
lea eax, [ebp - 0x208]
push eax
call fcn.0047b116
test al, al
je 0x460fc1
mov esi, 0x7ffa8000
mov edi, ebx
push dword [ebp + 8]
push edi
push esi
push str.GetMaxFileSize___returning__Ld_for___s_
call fcn.0040c884
add esp, 0x10
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4613b5
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
lea eax, [ebp - 0x438]
push ebx
push esi
push 0x21c
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
mov esi, eax
call fcn.00473ae9
xor ebx, ebx
test al, al
je 0x461421
mov ecx, str.Sysnative..explorer.exe
lea eax, [esi + esi]
sub eax, ecx
lea edx, [ebp - 0x438]
add edx, eax
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4613f1
push 1
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x438]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setle cl
test ecx, ecx
je 0x46145f
mov ecx, 0x6c2a14
lea eax, [esi + esi]
sub eax, ecx
lea edx, [ebp - 0x438]
add edx, eax
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x461433
push 1
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x438]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setle cl
xor ecx, 1
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46167e
Capabilities:
Get disk information

Disassembly:
mov eax, 0x6937dd
call fcn.006375a8
sub esp, 0x2c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push 0x104
push 0
push eax
call fcn.0043ed9c
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x4616ae
lea eax, [ebp - 0x38]
push ebx
push 0xa
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0046f348
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 2
lea ecx, [ebp - 0x38]
push 0
push 1
sete bl
call fcn.004267c2
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x46175f
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
push str.ReplaceFileW
xor ebx, ebx
push 0x6b69f4
mov esi, ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
test edi, edi
je 0x46181e
push dword [0x7a00b8]
call fcn.00661135
call fcn.00661114
push eax
push dword [ebp + 0xc]
mov esi, 0x104
lea eax, [ebp - 0x208]
push str._s._u.tmp
push esi
push eax
call fcn.00462d1a
push dword [ebp + 0xc]
lea eax, [ebp - 0x410]
push str._s.new
push esi
push eax
call fcn.00462d1a
add esp, 0x28
lea eax, [ebp - 0x410]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
push ebx
push ebx
push 2
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp + 0xc]
call edi
mov esi, eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x46181e
push 4
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
pop edi
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x461ae3
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push dword [esp + 0x220]
xor ebx, ebx
mov esi, ebx
call fcn.0045f4bc
movzx ebp, al
test al, al
mov eax, 0x6b6e68
je 0x461b0d
mov eax, str..new
push eax
push dword [esp + 0x224]
lea eax, [esp + 0x1c]
push 0x6b7bbc
push 0x104
push eax
call fcn.00462d1a
add esp, 0x14
lea eax, [esp + 0x14]
push 0x80
push 7
push eax
call fcn.0045fa00
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x461b4a
xor al, al
jmp 0x461bbb
push dword [esp + 0x228]
push dword [esp + 0x228]
push eax
call fcn.0045fe87
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
call fcn.0045f990
test ebp, ebp
je 0x461ba8
push dword [esp + 0x220]
lea eax, [esp + 0x18]
push eax
call fcn.0046175f
movzx esi, al
test al, al
jne 0x461ba8
push ebx
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x228]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov esi, eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [esp + 0x10], ebx
jne 0x461bb9
test esi, esi
jne 0x461bb6
test ebp, ebp
jne 0x461bb9
xor ebx, ebx
inc ebx
mov al, bl
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0xc

Function at 0x461c60
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x461c70
xor al, al
jmp 0x461ccc
mov eax, dword [esp + 8]
push ebx
push esi
push edi
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push esi
push dword [esp + 0x14]
xor ecx, ecx
push eax
mov word [esi + eax], cx
call fcn.0064fe80
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
setne bl
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
mov al, bl
pop ebx
ret 8

Function at 0x46213e
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_GetComputerNameW]
test eax, eax
jne 0x46217f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Cant_get_computer_name____d__d
call fcn.00479bc5
add esp, 0xc
push 0x6c2a50
jmp 0x462183
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00427f43
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x4626e3
Capabilities:
Check http status code

Disassembly:
mov eax, 0x693f76
call fcn.006375a8
sub esp, 0x44
push ebx
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x20000013
push dword [esi]
mov dword [ebp - 0x18], ebx
call dword [0x79e290]
test eax, eax
je 0x46275d
cmp dword [ebp - 0x14], 0xc8
je 0x46275d
push dword [ebp - 0x14]
lea eax, [ebp - 0x50]
push str.HTTP_Reply__d
push eax
call fcn.004638e7
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x462745
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004626ae
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.004267c2
jmp 0x46281e
push edi
xor eax, eax
mov byte [ebp - 0x38], bl
lea edi, [ebp - 0x37]
mov dword [ebp - 0x10], 0x14
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x1d
push dword [esi]
call dword [0x79e290]
test eax, eax
je 0x4627a6
lea eax, [ebp - 0x38]
push str.gzip
push eax
call fcn.00661182
pop ecx
pop ecx
test eax, eax
jne 0x4627a6
or byte [esi + 0x25], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x20
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
push eax
lea eax, [esi + 5]
push eax
push 1
push dword [esi]
call dword [0x79e290]
push ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x24]
push eax
push 0x20000005
push dword [esi]
call dword [0x79e290]
test eax, eax
je 0x4627f0
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], ebx
push 0xa
pop ecx
xor eax, eax
lea edi, [esi + 0x2c]
rep stosd dword es:[edi], eax
mov edi, 0x2000
mov dword [esi + 0x2c], 0x28
push edi
call fcn.0045e489
mov ecx, esi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov byte [esi + 4], 1
call fcn.00462871
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x46908c
Capabilities:
Create thread

Disassembly:
mov eax, 0x697e62
call fcn.006375a8
sub esp, 0x14
and dword [ebp - 0x10], 0
push esi
push edi
mov edi, dword [ebp + 0x20]
test edi, edi
jne 0x4690a9
lea edi, [ebp - 0x10]
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [edi]
mov esi, eax
mov edi, 0x79e398
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x1c], 1
call fcn.00469175
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push 0x79e3d0
call fcn.0046860d
push edi
call fcn.00469268
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x46a867
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, dword [0x778b44]
cmp esi, 0x270
jl 0x46a92c
xor esi, esi
push ebx
mov edx, esi
mov ebx, SysReAllocString
mov ecx, dword [edx*4 + 0x79e554]
xor ecx, dword [edx*4 + 0x79e550]
and ecx, ebx
xor ecx, dword [edx*4 + 0x79e550]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x778d48]
xor ecx, dword [edx*4 + 0x79eb84]
mov dword [edx*4 + 0x79e550], ecx
inc edx
cmp edx, 0xe3
jl 0x46a884
cmp edx, 0x26f
jge 0x46a8fd
push edi
lea edi, [edx*4 + 0x79e550]
mov ecx, dword [edi]
xor ecx, dword [edi + 4]
and ecx, ebx
xor ecx, dword [edi]
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [eax*4 + 0x778d48]
xor eax, dword [edi - 0x38c]
xor eax, ecx
mov dword [edi], eax
add edi, 4
cmp edi, 0x79ef0c
jl 0x46a8d0
pop edi
mov ecx, dword [0x79e550]
xor ecx, dword [0x79ef0c]
and ecx, ebx
xor ecx, dword [0x79ef0c]
mov eax, ecx
shr ecx, 1
and eax, 1
pop ebx
xor ecx, dword [eax*4 + 0x778d48]
xor ecx, dword [0x79eb80]
mov dword [0x79ef0c], ecx
mov ecx, dword [esi*4 + 0x79e550]
mov eax, ecx
shr eax, 0xb
inc esi
xor ecx, eax
mov dword [0x778b44], esi
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
ret

Function at 0x46aac3
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
xor edx, edx
mov dword [0x79e550], eax
inc edx
mov ecx, 0x79e550
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x79ef0c
jl 0x46aad4
mov dword [0x778b44], edx
ret 4

Function at 0x46bb1d
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46bb53
xor eax, eax
cmp dword [ebp + 0x14], eax
setne al
cmp dword [ebp + 0x18], 0
je 0x46bb41
or eax, 2
test ecx, eax
je 0x46bb53
not eax
and eax, ecx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
pop ebp
ret 0x14