joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a5b3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
push 0xb
push ebx
lea edi, [esi + 4]
mov ecx, edi
call fcn.0046a7ce
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
lea ecx, [esi + 0x24]
mov eax, esp
mov dword [eax], ebx
push dword [edi]
call fcn.00469ca3
push dword [esi + 0x28]
mov ecx, esi
call fcn.0046b0bb
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
test byte [esi + 0x50], 1
push ebx
pop ecx
cmovne eax, ecx
push 0x258
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.0045ff61
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x12b
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x46a64f
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call fcn.0046b0bb
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x46a664
push 3
pop eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ccdd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x4d7aa0]
push edi
push 0x403720
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x46ce0c
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46cd6e
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x46cd67
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x46cd60
push ebx
push edi
push eax
call fcn.004ad220
add esp, 0xc
lea eax, [ebp + 8]
xor ebx, ebx
mov dword [ebp + 8], ebx
push eax
push ebx
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp + 8], ebx
jne 0x46cd75
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x46ce0b
push ebx
push dword [ebp + 8]
call fcn.0046ccbc
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x46cdcd
push 0x26200a
mov ecx, ebx
call fcn.00466bf5
push eax
mov ecx, ebx
call fcn.00466c1b
push eax
mov ecx, esi
call fcn.00466ee2
mov esi, eax
jmp 0x46cdcf
xor esi, esi
push esi
lea ecx, [ebp - 8]
call fcn.00466f6f
mov ecx, ebx
call fcn.00466bf5
push eax
mov ecx, ebx
call fcn.00466c1b
push eax
push 0
push 0
push ebx
lea ecx, [ebp - 8]
call fcn.0046c7db
test ebx, ebx
je 0x46ce01
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
push dword [ebp - 8]
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46dfa4
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
push dword [ecx + 4]
jmp 0x46dfb8
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x46dfac
pop esi
ret
Function at 0x46e34c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x58]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x46e398
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x46e3c3
shr ecx, 2
test cl, 1
je 0x46e3cb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46e3fa
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push 0x403b3c
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x46e3fa
or byte [edi + 0x5c], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46e798
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
push ebx
push esi
push edi
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x834]
push ebx
push eax
mov esi, ecx
call fcn.0045ff61
add esp, 0xc
lea eax, [ebp - 0x834]
push 0x400
push eax
push dword [esi + 0x648]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x834]
mov dword [ebp - 0xc], ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041c120
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0047a670
add esp, 0xc
lea ecx, [ebp - 0x34]
xor edi, edi
inc edi
push ebx
push edi
call fcn.0041d9f0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x46e827
mov dword [esi + 0x670], ebx
jmp 0x46e842
cmp eax, edi
jne 0x46e837
mov dword [esi + 0x670], 3
jmp 0x46e842
cmp eax, 2
jne 0x46e842
mov dword [esi + 0x670], edi
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [esi + 0x650]
push dword [esi + 4]
call fcn.0047c80e
lea eax, [ebp - 0x834]
push eax
call fcn.0041a5d0
add esp, 0x10
lea ecx, [esi + 0x678]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.0041db30
mov ecx, esi
call fcn.0046e403
push ebx
push edi
lea ecx, [ebp - 0x1c]
call fcn.0041d9f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4745f2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x30], 0x403b3c
jb 0x474619
mov eax, dword [eax]
movaps xmm0, xmmword [0x403f60]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 4

Function at 0x479d56
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push ebx
push esi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00421f50
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041c1a0
lea ecx, [ebp - 0x34]
call fcn.0041c080
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00422bd0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 7
lea ecx, [ebp - 0x34]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
push 0xffffffffffffffff
cmp word [eax], 0x22
jne 0x479dbf
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x3c]
add eax, 2
push eax
jmp 0x479dc8
push dword [ebp - 0x3c]
xor eax, eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041dc30
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00423b00
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0041d9f0
lea eax, [ebp - 0x1c]
push eax
push 3
push eax
call fcn.00428250
call fcn.00479bfe
push 0x38
mov esi, eax
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0045ff61
add esp, 0x18
mov dword [ebp - 0x88], 0x3c
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x84], 0x40
cmovae eax, dword [ebp - 0x4c]
cmp dword [ebp - 8], 8
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x4161e4
mov dword [ebp - 0x6c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x479e96
cmp byte [ebp + 0x10], al
jne 0x479e94
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x479e96
mov ecx, dword [ebp + 0xc]
mov bl, 1
test ecx, ecx
je 0x479e96
mov eax, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x479e96
mov bl, 1
test esi, esi
je 0x479ea1
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041d9f0
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.0041d9f0
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a20c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
push 0x208
xor esi, esi
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0045ff61
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004b5c20
add esp, 0x18
cmp word [ebp - 0x21e], 0x3a
jne 0x47a25e
cmp word [ebp - 0x21c], 0x5c
jne 0x47a25e
xor eax, eax
mov word [ebp - 0x21a], ax
lea eax, [ebp - 0x18]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0xc], esi
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
pop esi
test eax, eax
je 0x47a2e6
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.004aa8b0
movss xmm1, dword [0x4056cc]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm1
movss dword [eax], xmm0
call fcn.004aa8b0
movss xmm1, dword [0x4056cc]
mov eax, dword [ebp + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm1
movss dword [eax], xmm0
mov al, 1
jmp 0x47a2ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x47aae2
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
xor eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push dword [ebp + 0xc]
push ebx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
push 0x400
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x47ab58
push 0x104
lea eax, [ebp - 0x214]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x47ab4b
lea eax, [ebp - 0x214]
push eax
call fcn.0041a5d0
pop ecx
push eax
lea eax, [ebp - 0x214]
mov ecx, edi
push eax
call fcn.0041f310
jmp 0x47ab51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x10], ebx
je 0x47abd8
push ebx
push 1
push ecx
push ecx
mov esi, esp
mov eax, 0x4163b8
push eax
mov dword [esi], eax
call fcn.0041a5d0
push ecx
mov ecx, esp
mov dword [esi + 4], eax
push edi
call fcn.00423a50
lea eax, [ebp - 0xc]
push eax
call fcn.004335b0
mov eax, dword [ebp - 8]
add esp, 0x1c
add eax, 0xffffffe8
cmp edi, eax
je 0x47ab9e
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.0041dc30
push ecx
push ecx
mov esi, esp
mov eax, 0x4160c4
push eax
mov dword [esi], eax
call fcn.0041a5d0
mov dword [esi + 4], eax
mov eax, 0x405574
push ecx
mov esi, esp
push eax
mov dword [esi], eax
call fcn.0041a5d0
pop ecx
push ebx
push edi
mov dword [esi + 4], eax
call fcn.004283b0
add esp, 0x18
lea ecx, [ebp - 0xc]
call fcn.004238e0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47abe1
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
push 0
push 2
or edi, 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov esi, eax
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.0045ff61
add esp, 0xc
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x47ac51
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x224], ebx
je 0x47ac4a
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x47ac2f
jmp 0x47ac50
mov edi, dword [ebp - 0x214]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47bbb9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x47bbc7
mov eax, dword [eax]
push 1
push 0
push eax
push 0x405308
push 0x403b3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x47c702
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 5
push dword [ebp + 8]
jmp 0x47c719
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x47c70d
pop esi
pop ebp
ret

Function at 0x4801f2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x48022d
test al, 8
jne 0x48022d
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x48022d
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x48022d
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x48024a
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.0048025a
jmp 0x480255
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
Function at 0x483157
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4d33b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
cmp dword [eax + 0x10], ebx
jne 0x483182
xor al, al
jmp 0x483297
cmp dword [eax + 0x14], 8
jb 0x48318a
mov eax, dword [eax]
movzx eax, word [eax]
push esi
push edi
mov esi, 0x405d24
lea edi, [ebp - 0x14]
push ebx
push ebx
push 3
movsd dword es:[edi], dword [esi]
push ebx
push 3
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4c], esi
cmp esi, 0xffffffff
jne 0x4831c3
xor al, al
jmp 0x483295
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 0x28
lea eax, [ebp - 0x48]
mov dword [ebp - 0x20], ebx
push eax
push 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
push eax
push 0x2d1400
push esi
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4831fc
mov edi, dword [ebp - 0x2c]
jmp 0x483286
push 2
call fcn.0041b480
pop ecx
test al, al
je 0x483276
push 4
pop ebx
push 2
push 0x96
push 0x405ca8
lea ecx, [ebp - 0x104]
call fcn.0041b540
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x405d34
push dword [ebp - 0x50]
lea eax, [ebp - 0x14]
push 0x405d60
push eax
lea eax, [esi + 8]
push 0x405d70
push eax
call fcn.004200c0
pop ecx
pop ecx
push eax
call fcn.0041bee0
pop ecx
pop ecx
push eax
call fcn.004200c0
pop ecx
pop ecx
push eax
call fcn.00460b8f
pop ecx
pop ecx
push eax
call fcn.004200c0
pop ecx
pop ecx
mov ecx, eax
call fcn.0041ca70
mov esi, dword [ebp - 0x4c]
test bl, 4
je 0x483286
lea ecx, [ebp - 0x104]
call fcn.0041b6f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, 7
sete al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004aab4c
mov esp, ebp
pop ebp
ret
Function at 0x484f67
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d8
mov eax, dword [0x4d33b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x7d4]
push edi
push 0x7d0
xor ebx, ebx
push ebx
push eax
call fcn.0045ff61
add esp, 0xc
mov dword [ebp - 0x7d8], ebx
push ebx
push ebx
push ebx
push ebx
push 0x406b88
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x484fb6
xor al, al
jmp 0x48500b
cmp dword [esi + 0x14], 8
jb 0x484fbe
mov esi, dword [esi]
push ebx
push 0x80000200
push ebx
push ebx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x484fdd
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x484fb2
lea eax, [ebp - 0x7d8]
push eax
push 0x7d0
lea eax, [ebp - 0x7d4]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x484ffd
mov bl, 1
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aab4c
mov esp, ebp
pop ebp
ret
Function at 0x48613f
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.004aa3b0
mov eax, dword [0x4d33b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, edi
mov esi, edi
push esi
lea eax, [ebp - 0x104]
push 0x406c38
push eax
call fcn.004864c4
add esp, 0xc
lea eax, [ebp - 0x104]
push edi
push edi
push 3
push edi
push 3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x37c8], eax
cmp eax, 0xffffffff
je 0x486328
mov dword [ebp - 0x37c4], edi
xor eax, eax
lea edi, [ebp - 0x37c0]
stosd dword es:[edi], eax
push 0x2710
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x37b4]
xor edi, edi
push edi
push eax
mov dword [ebp - 0x37c0], edi
mov dword [ebp - 0x37bc], edi
call fcn.0045ff61
add esp, 0xc
lea eax, [ebp - 0x37c4]
push edi
mov edi, dword [ebp - 0x37c8]
push eax
push 0x2710
lea eax, [ebp - 0x37b4]
push eax
push 0xc
lea eax, [ebp - 0x37c0]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48631f
lea eax, [ebp - 0xcbc]
push eax
push 0
push dword [ebp - 0x37a8]
lea eax, [ebp - 0x37b4]
push eax
call fcn.00486345
lea eax, [ebp - 0x8d4]
push eax
push 0
push dword [ebp - 0x37a4]
lea eax, [ebp - 0x37b4]
push eax
call fcn.00486345
lea eax, [ebp - 0x10a4]
push eax
push 0
push dword [ebp - 0x37a0]
lea eax, [ebp - 0x37b4]
push eax
call fcn.00486345
lea eax, [ebp - 0x4ec]
push eax
push 1
push dword [ebp - 0x379c]
lea eax, [ebp - 0x37b4]
push eax
call fcn.00486345
add esp, 0x40
cmp byte [0x4d69c8], 0
jne 0x4862e5
movsx eax, byte [ebp - 0x4ec]
push eax
call fcn.004b8d0c
pop ecx
test eax, eax
jne 0x48629f
movsx eax, byte [ebp - 0x4d9]
push eax
call fcn.004b8d0c
pop ecx
test eax, eax
je 0x4862e5
xor eax, eax
cmp byte [ebp - 0x4ec], 0x20
jne 0x4862b5
inc eax
cmp byte [ebp + eax - 0x4ec], 0x20
je 0x4862aa
lea ecx, [ebp - 0x4ec]
mov edx, 0x4d69c8
add ecx, eax
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4862c4
xor ecx, ecx
mov al, byte [ebp + ecx - 0x8d4]
mov byte [ecx + 0x4d6dc8], al
inc ecx
test al, al
jne 0x4862d0
xor ebx, ebx
inc ebx
push 0x2710
lea eax, [ebp - 0x37b4]
push 0
push eax
call fcn.0045ff61
add esp, 0xc
lea eax, [ebp - 0x37c4]
xor ecx, ecx
push ecx
push eax
push 0x2710
lea eax, [ebp - 0x37b4]
push eax
push ecx
push ecx
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
inc esi
cmp esi, 0x10
jl 0x48615f
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aab4c
mov esp, ebp
pop ebp
ret

Function at 0x4864df
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
mov esi, ecx
push 0
push esi
call fcn.0045ff61
and dword [esi + 0x44], 0
add esp, 0xc
and dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x48], 0x67452301
mov dword [esi + 0x4c], 0xefcdab89
mov dword [esi + 0x50], 0x98badcfe
mov dword [esi + 0x54], 0x10325476
pop esi
ret
Function at 0x487168
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4871fc
push esi
xor ecx, ecx
mov eax, 0x19000
push 2
pop edx
mov dword [ebp - 4], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aa4a5
mov esi, eax
mov eax, dword [ebp - 4]
add eax, eax
push eax
push ebx
push esi
call fcn.0045ff61
add esp, 0x10
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
push esi
sbb al, al
lea ebx, [eax + 1]
call fcn.0041a5d0
pop ecx
mov ecx, dword [ebp + 0x14]
push eax
push esi
call fcn.0041db30
push esi
call fcn.004aa39f
pop ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x487373
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
xor ebx, ebx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], ebx
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4873a6
xor al, al
jmp 0x4873da
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4873cf
mov bl, 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48871f
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4d33b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4d743c]
mov ecx, eax
inc eax
mov dword [0x4d743c], eax
test ecx, ecx
je 0x48874a
xor eax, eax
jmp 0x4887d0
push ebx
mov ebx, dword [ebp + 8]
mov dword [fcn.004b46dd], 0x4b46dd
mov dword [fcn.004b1931], 0x4b1931
mov dword [fcn.004b9506], 0x4b9506
mov dword [fcn.004bc3e5], 0x4bc3e5
mov dword [fcn.004b1926], 0x4b1926
test bl, 2
je 0x4887b4
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4887bd
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x4887ac
shr eax, 8
cmp al, 2
je 0x4887b4
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x4887bd
call fcn.0041cca0
test eax, eax
je 0x4887c2
push 2
pop eax
jmp 0x4887cf
mov dword [0x4d7440], ebx
call fcn.00493a8e
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aab4c
mov esp, ebp
pop ebp
ret