joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524b24
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x524b2d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 4]
call fcn.00405b34
mov eax, dword [ebp - 8]
call fcn.004052c8
mov eax, dword [ebp + 0x20]
call fcn.004052c8
mov eax, dword [ebp + 0x1c]
call fcn.004052c8
mov eax, dword [ebp + 0x18]
call fcn.004052c8
mov eax, dword [ebp + 0x14]
call fcn.004052c8
mov eax, dword [ebp + 0x10]
call fcn.004052c8
mov eax, dword [ebp + 0xc]
call fcn.004052c8
mov eax, dword [ebp + 8]
call fcn.004052c8
xor eax, eax
push ebp
push 0x524cfc
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x524cad
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.004050a0
mov eax, dword [ebp - 0x14]
call fcn.0040a9c8
test al, al
jne 0x524bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524cb7
mov edx, dword [0x587cd8]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
mov ecx, 0x524d14
call fcn.00405124
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.004056f8
mov edx, dword [0x587a84]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, 0x524d2c
call fcn.004057f0
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004050a0
mov eax, dword [ebp - 0x1c]
call fcn.0040a9c8
test al, al
jne 0x524c50
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.004050a0
mov eax, dword [ebp - 0x20]
call fcn.0040a9c8
test al, al
je 0x524c46
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405774
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405774
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x524c50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524cb7
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.004050a0
mov eax, dword [ebp - 0x24]
call fcn.0040a9c8
test al, al
je 0x524ca3
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x511a98]
call fcn.00511b48
call fcn.00425238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524cb7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524d03
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404e2c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 8]
call fcn.00404e08
lea eax, [ebp - 4]
call fcn.00405524
lea eax, [ebp + 8]
mov edx, 7
call fcn.00404e2c
ret
Function at 0x52ad58
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x52ad61
mov eax, dword [ebp - 4]
add esp, 0xffffffa4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
xor eax, eax
push ebp
push 0x52ae75
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x200c]
mov edx, dword [ebp - 4]
call fcn.0040ae64
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402db8
lea eax, [ebp - 0x400c]
mov edx, dword [ebp - 0xc]
call fcn.0040ae64
lea eax, [ebp - 0x4050]
xor ecx, ecx
mov edx, 0x44
call fcn.0040379c
mov dword [ebp - 0x4050], 0x44
mov dword [ebp - 0x4024], 1
mov word [ebp - 0x4020], bx
lea eax, [ebp - 0x4060]
push eax
lea eax, [ebp - 0x4050]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x200c]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x52ae1a
mov dword [ebp - 8], 0xffffffff
jmp 0x52ae57
push 0x64
mov eax, dword [ebp - 0x4060]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x52ae1a
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x4060]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x4060]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x405c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52ae7c
lea eax, [ebp - 0xc]
call fcn.00404e08
lea eax, [ebp - 4]
call fcn.00404e08
ret

Function at 0x52b160
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040affc
add esp, 0x18
pop ebx
ret

Function at 0x52b188
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
mov eax, dword [ebp - 8]
call fcn.004052c8
xor eax, eax
push ebp
push 0x52b24d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x1c]
push eax
push 0x52b260
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x52b1ff
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
cmp byte [ebp + 8], 1
cmc
sbb eax, eax
push eax
cmp byte [ebp + 0xc], 1
cmc
sbb eax, eax
push eax
movzx eax, bx
push eax
mov eax, dword [ebp - 8]
call fcn.004052d8
push eax
mov eax, dword [ebp - 4]
call fcn.004052d8
push eax
call sub.advapi32.dll_InitiateSystemShutdownA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b254
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e2c
ret
Function at 0x52c170
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x52c2d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0050fbf8
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0050fc18
jmp 0x52c2a5
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00405088
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040ac20
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409a90
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409a90
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405224
je 0x52c287
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00405088
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409a90
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409a90
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405224
jne 0x52c29c
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.0050fc38
test eax, eax
jne 0x52c1e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c2da
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404e2c
lea eax, [ebp - 4]
call fcn.00404e08
ret
Function at 0x536d7c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x536d85
mov eax, dword [ebp - 4]
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
xor eax, eax
push ebp
push 0x536f04
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x200c]
mov edx, dword [ebp - 4]
call fcn.0040ae64
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402db8
lea eax, [ebp - 0x400c]
mov edx, dword [ebp - 0xc]
call fcn.0040ae64
lea eax, [ebp - 0x4050]
xor ecx, ecx
mov edx, 0x44
call fcn.0040379c
mov dword [ebp - 0x4050], 0x44
mov dword [ebp - 0x4024], 1
mov word [ebp - 0x4020], bx
lea eax, [ebp - 0x4060]
push eax
lea eax, [ebp - 0x4050]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x200c]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x536e43
mov dword [ebp - 8], 0xffffffff
jmp 0x536ee6
push 0x64
mov eax, dword [ebp - 0x4060]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ebx, eax
cmp dword [0x5894e8], 0
jne 0x536e6a
mov eax, dword [0x587abc]
mov eax, dword [eax]
call fcn.004859c0
jmp 0x536eb6
xor eax, eax
push ebp
push 0x536eaa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x4060]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x4060]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x405c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x536ee6
cmp ebx, 0x102
je 0x536e43
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x4060]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x4060]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x405c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536f0b
lea eax, [ebp - 0xc]
call fcn.00404e08
lea eax, [ebp - 4]
call fcn.00404e08
ret
Function at 0x536f18
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x53707b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0050fbf8
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0050fc18
jmp 0x53704d
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00405088
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040ac20
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409a90
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409a90
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405224
je 0x53702f
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00405088
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409a90
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409a90
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405224
jne 0x537044
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.0050fc38
test eax, eax
jne 0x536f90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x537082
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404e2c
lea eax, [ebp - 4]
call fcn.00404e08
ret

Function at 0x53d3c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x53d42b
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.00405464
push edi
mov eax, dword [ebp - 8]
call fcn.004052d8
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404e5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d432
lea eax, [ebp - 8]
call fcn.00404e08
ret
Function at 0x541d64
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x541dee
xor edx, edx
push ebp
push 0x541dcf
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x541dee
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x545ca0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x545cce
mov eax, ebx
call fcn.00546754
cmp dword [ebx + 0x40], 0
je 0x545cc7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x545d3f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x545d31
cmp dword [ebx + 8], 0
je 0x545cf0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x545d02
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x545d31
cmp dword [ebx + 8], 0
je 0x545ce3
cmp eax, 3
je 0x545d15
dec eax
jne 0x545ce3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x545ce3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x545ce3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x545d5d
cmp dword [ebx + 0x14], 0xcc
je 0x545d5d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00545d68
pop ebx
ret
Function at 0x556598
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
mov eax, dword [ebp - 8]
call fcn.004052c8
mov eax, dword [ebp - 0xc]
call fcn.004052c8
xor eax, eax
push ebp
push 0x5566c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.004052d8
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.004052d8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.00436198
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.004052d8
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5566ac
xor eax, eax
push ebp
push 0x5566a5
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
push 0
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x556685
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x556689
xor eax, eax
jmp 0x55668b
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5566ac
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5566ce
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e2c
ret
Function at 0x5566d8
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
mov eax, dword [ebp - 8]
call fcn.004052c8
mov eax, dword [ebp - 0xc]
call fcn.004052c8
mov eax, dword [ebp + 0xc]
call fcn.004052c8
xor eax, eax
push ebp
push 0x556842
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.004052d8
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x556854
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.004052d8
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x55681f
xor edx, edx
push ebp
push 0x556818
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.004052d8
push eax
mov eax, dword [ebp - 0xc]
call fcn.004052d8
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x556801
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5567f8
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x5567fc
xor eax, eax
jmp 0x5567fe
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55681f
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x556849
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e2c
lea eax, [ebp + 0xc]
call fcn.00404e08
ret
Function at 0x55685c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x556924
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x556928
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x556924
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x55691b
xor eax, eax
push ebp
push 0x556914
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55691b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x556b94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x556da8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.00402bac
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x556c12
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x556bfc
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00405010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x556c19
mov eax, dword [ebp - 8]
call fcn.00402bdc
ret

Function at 0x558174
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.0040379c
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x5581ae
cmp byte [ebp - 0xa], 0x31
jne 0x5581ac
mov bl, 1
jmp 0x5581ae
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5598d4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0046c16c
test al, al
je 0x559992
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x559970
cmp word [esi + 0x5f2], 0
je 0x559925
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x559947
cmp dword [ebp - 4], 0
jbe 0x559943
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x559947
xor ebx, ebx
jmp 0x559949
mov bl, 1
test bl, bl
jne 0x559992
mov eax, dword [0x587abc]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x559992
mov eax, dword [0x587abc]
mov eax, dword [eax]
call fcn.004859c0
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x559992
cmp byte [esi + 0x588], 0
jne 0x559992
mov edx, 0xfffffdf3
mov eax, esi
call fcn.00501ed8
cmp eax, 4
jne 0x559902
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x562c94
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
push esp
push eax
mov eax, dword [0x587abc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040affc
add esp, 0x104
pop ebx
ret
Function at 0x56e8c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x56e943
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.0040379c
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x56e95c
mov edx, ebx
call fcn.00405124
mov eax, dword [ebp - 0x24]
call fcn.004052d8
mov dword [ebp - 0x16], eax
mov eax, 0x56e960
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x14
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56e94a
lea eax, [ebp - 0x24]
call fcn.00404e08
ret
Function at 0x57b010
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
xor eax, eax
push ebp
push 0x57b132
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004050d8
mov ebx, eax
shl ebx, 2
mov eax, ebx
call fcn.004099fc
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x57b115
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, ebx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00405fc0
push 0
call sub.user32.dll_OpenClipboard
call sub.user32.dll_EmptyClipboard
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x57b0e2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x57b0d1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00402e50
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57b0d8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret