joyce8/EMBER2024-capa huggingface dataset:
Function at 0x565cc4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a904
xor eax, eax
push ebp
push 0x565e1a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x230]
call fcn.0040a890
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.0040a9a0
mov eax, dword [ebp - 0x230]
call fcn.0056311c
test al, al
je 0x565de6
test bl, bl
je 0x565d5e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
push 7
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xd8]
call fcn.0040a9a0
jmp 0x565d7b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 7
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xd8]
call fcn.0040a9a0
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
call sub.user32.dll_GetForegroundWindow
mov ebx, eax
push 0x200
lea eax, [ebp - 0x22c]
push eax
push ebx
call sub.user32.dll_GetClassNameW
mov eax, 0x565e34
call fcn.00407ea0
push eax
lea eax, [ebp - 0x22c]
push eax
call sub.kernel32.dll_lstrcmpW
test eax, eax
jne 0x565dba
mov esi, ebx
mov eax, dword [0x5d876c]
mov eax, dword [eax]
call fcn.0052d14c
call sub.kernel32.dll_GetTickCount_1
test esi, esi
jne 0x565dd8
sub eax, edi
cmp eax, 0x1b58
jbe 0x565d84
test esi, esi
je 0x565de6
mov eax, dword [ebp - 0x2c]
push eax
push esi
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x565e21
lea eax, [ebp - 0x230]
call fcn.0040a890
lea eax, [ebp - 0x28]
mov edx, dword [0x4012e0]
mov ecx, 2
call fcn.00408710
lea eax, [ebp - 4]
call fcn.0040a890
ret

Function at 0x566e50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004072b8
xor eax, eax
push ebp
push 0x566ea0
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00407ea0
push eax
push 0x566eac
push ebx
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x566ea7
lea eax, [ebp - 4]
call fcn.004071d4
ret
Function at 0x5677dc
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004072b8
mov eax, dword [ebp - 8]
call fcn.004072b8
xor eax, eax
push ebp
push 0x56786a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x567843
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407ea0
push eax
mov eax, dword [ebp - 4]
call fcn.00407ea0
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56784f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567871
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407234
ret

Function at 0x567e58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404fc8
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x104
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], 1
mov eax, 0x104
call fcn.004209b8
mov ebx, eax
xor eax, eax
push ebp
push 0x567edf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x208
call fcn.00404fc8
push 0xffffffffffffffff
push esi
push ebx
mov eax, dword [ebp - 0x38]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x567ec9
mov dword [ebp - 4], ebx
jmp 0x567ed1
mov eax, 0x567ef0
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567ee6
ret
Function at 0x567ef4
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004072b8
xor eax, eax
push ebp
push 0x568013
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryW
mov eax, dword [ebp - 0xc]
call fcn.004045e0
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryW
mov esi, eax
test esi, esi
je 0x567f72
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 4]
call fcn.00407ef8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040821c
jne 0x567f72
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.00407ef8
mov eax, ebx
call fcn.004045fc
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x567ff0
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
call sub.wininet.dll_FindNextUrlCacheEntryW
call sub.kernel32.dll_GetLastError_2
mov edi, eax
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x7a
jne 0x567fe8
mov eax, dword [ebp - 0xc]
call fcn.004045e0
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
call sub.wininet.dll_FindNextUrlCacheEntryW
test eax, eax
je 0x567fe1
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 4]
call fcn.00407ef8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040821c
jne 0x567fe1
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.00407ef8
jmp 0x567ff0
mov eax, ebx
call fcn.004045fc
cmp edi, 0x103
jne 0x567f81
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56801a
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407234
lea eax, [ebp - 4]
call fcn.004071d4
ret
Function at 0x5683c4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe4c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x56853d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x56841b
mov eax, dword [ebp - 0xc]
mov edx, 0x56855c
call fcn.004075b4
jmp 0x56851c
xor edx, edx
push ebp
push 0x568515
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 4], 0
jne 0x568451
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x104
call fcn.00407b34
push 0x104
mov eax, dword [ebp - 4]
call fcn.00407a68
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.00407a68
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
test ebx, ebx
je 0x5684c1
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00407f50
mov eax, dword [esi]
call fcn.00407ea0
call fcn.004076b8
mov edx, esi
xchg edx, eax
call fcn.0040800c
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
push dword [ebp - 0x1ac]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1b4]
mov ecx, 0
call fcn.004078cc
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 8]
call fcn.00407f50
mov byte [ebp - 0xd], 1
jmp 0x568502
call sub.wsock32.dll_WSAGetLastError
sub eax, 0x2734
je 0x5684f5
sub eax, 0xe
je 0x5684e6
sub eax, 0x2b
jne 0x568502
mov eax, dword [ebp - 0xc]
mov edx, 0x5685a0
call fcn.004075b4
jmp 0x568502
mov eax, dword [ebp - 0xc]
mov edx, 0x5685d0
call fcn.004075b4
jmp 0x568502
mov eax, dword [ebp - 0xc]
mov edx, 0x5685f4
call fcn.004075b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56851c
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x568544
lea eax, [ebp - 0x1b4]
call fcn.004071f8
lea eax, [ebp - 4]
call fcn.004071f8
ret

Function at 0x568614
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x568695
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004071d4
lea eax, [ebp - 8]
call fcn.004071d4
push 0x5686b0
push dword [ebp - 4]
push 0x5686e0
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040816c
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00407ea0
push eax
push 0x5686f0
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56869c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407234
ret
Function at 0x56a2b0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x56a2f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 7
push 0
lea eax, [ebp - 8]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56a2fa
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x56b59c
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.004072b8
mov eax, dword [ebp - 8]
call fcn.004072b8
mov eax, dword [ebp - 0xc]
call fcn.004072b8
xor eax, eax
push ebp
push 0x56b6cb
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.00407ea0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00407ea0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.004d0428
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407ea0
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x56b6b0
xor eax, eax
push ebp
push 0x56b6a9
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_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x56b689
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x56b68d
xor eax, eax
jmp 0x56b68f
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b6b0
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 0x56b6d2
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407234
ret
Function at 0x56b6dc
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.004072b8
mov eax, dword [ebp - 8]
call fcn.004072b8
mov eax, dword [ebp - 0xc]
call fcn.004072b8
mov eax, dword [ebp + 0xc]
call fcn.004072b8
xor eax, eax
push ebp
push 0x56b846
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.00407ea0
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x56b85c
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.00407ea0
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x56b823
xor edx, edx
push ebp
push 0x56b81c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00407ea0
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407ea0
push eax
movzx eax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectW
test eax, eax
je 0x56b805
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x56b7fc
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x56b800
xor eax, eax
jmp 0x56b802
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b823
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 0x56b84d
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407234
lea eax, [ebp + 0xc]
call fcn.004071d4
ret
Function at 0x56b86c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004072b8
mov eax, dword [ebp - 8]
call fcn.004072b8
xor eax, eax
push ebp
push 0x56b986
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x3c], 4
mov eax, dword [ebp - 8]
call fcn.00407ea0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x1c], 2
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00407ea0
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x56b96b
xor eax, eax
push ebp
push 0x56b964
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x56b944
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x56b948
xor eax, eax
jmp 0x56b94a
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b96b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b98d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407234
ret

Function at 0x56b998
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, 0x56ba60
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x56ba64
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x56ba60
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x56ba57
xor eax, eax
push ebp
push 0x56ba50
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_InternetSetOptionW
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionW
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56ba57
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56d16c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x56d396
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x105
mov eax, dword [ebp - 0x20]
call fcn.004045e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x56d1ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
je 0x56d1d7
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00407ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d1f4
mov eax, dword [ebp - 0x10]
call fcn.004045fc
ret

Function at 0x572934
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov bl, 2
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0x14
call fcn.00404fc8
push 0x14
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x57296f
cmp word [ebp - 0x14], 0x31
jne 0x57296d
mov bl, 1
jmp 0x57296f
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x574f20
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.004a38e4
test al, al
je 0x574fdf
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x574fbd
cmp word [esi + 0x682], 0
je 0x574f71
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x684]
call dword [esi + 0x680]
movzx eax, byte [esi + 0x678]
or al, byte [ebp - 9]
jne 0x574f94
cmp dword [ebp - 4], 0
jbe 0x574f90
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x574f94
xor ebx, ebx
jmp 0x574f96
mov bl, 1
test bl, bl
jne 0x574fdf
mov eax, dword [0x5d876c]
mov eax, dword [eax]
cmp byte [eax + 0xa8], 0
jne 0x574fdf
mov eax, dword [0x5d876c]
mov eax, dword [eax]
call fcn.0052d14c
push 1
call sub.kernel32.dll_Sleep_2
test esi, esi
je 0x574fdf
cmp byte [esi + 0x618], 0
jne 0x574fdf
mov edx, 0xfffffdf3
mov eax, esi
call fcn.0053bccc
cmp eax, 4
jne 0x574f4e
mov byte [esi + 0x678], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4040a8
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0040558c
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0040558c
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x40413e
mov dword [ebp - 0x18], esp
mov eax, 4
call fcn.00405598
cmp dword [ebp - 0x18], esp
je 0x40413b
push 6
call fcn.00405592
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 5
call fcn.00405598
cmp dword [ebp - 0x18], esp
je 0x40416a
push 6
call fcn.00405592
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 6
call fcn.00405598
cmp dword [ebp - 0x18], esp
je 0x404198
push 6
call fcn.00405592
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 7
call fcn.00405598
cmp dword [ebp - 0x18], esp
je 0x4041c4
push 6
call fcn.00405592
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 8
call fcn.00405598
cmp dword [ebp - 0x18], esp
je 0x404253
push 6
call fcn.00405592
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 2
call fcn.00405598
cmp dword [ebp - 0x18], esp
je 0x404278
push 6
call fcn.00405592
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x404280
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00405586
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00405586
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x40d4e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46eaab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004637e3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d562
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046159a
mov eax, dword [eax]
push 0x48c1f0
push eax
call fcn.00453514
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00463a6e
test bl, bl
je 0x40d562
push 0x48c1f0
lea ecx, [esp + 0xc]
call fcn.00463dfe
push 0x48fd50
lea ecx, [esp + 0xc]
call fcn.00463dfe
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40d59e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00463a6e
jmp 0x40d669
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40d622
lea edx, [esp + 0x7c]
push 0x48fd4c
push edx
call fcn.00453514
add esp, 8
test eax, eax
je 0x40d622
lea eax, [esp + 0x7c]
push 0x48fd48
push eax
call fcn.00453514
add esp, 8
test eax, eax
je 0x40d622
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d5b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00463a6e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40de60
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40dec2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc