joyce8/EMBER2024-capa huggingface dataset:
Function at 0x501390
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.00407248
mov eax, dword [ebp - 8]
call fcn.00407248
xor eax, eax
push ebp
push 0x50141e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5013f7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004072ec
push eax
mov eax, dword [ebp - 4]
call fcn.004072ec
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 0x501403
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501425
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407258
ret

Function at 0x501a08
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.00404c18
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.0041593c
mov ebx, eax
xor eax, eax
push ebp
push 0x501a8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor ecx, ecx
mov edx, 0x208
call fcn.00404c18
push 0xffffffffffffffff
push esi
push ebx
mov eax, dword [ebp - 0x38]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
je 0x501a79
mov dword [ebp - 4], ebx
jmp 0x501a81
mov eax, 0x501aa0
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501a96
ret
Function at 0x501aa4
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.00407248
xor eax, eax
push ebp
push 0x501bc3
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.004042b0
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 0x501b22
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 4]
call fcn.0040740c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00407920
jne 0x501b22
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.0040740c
mov eax, ebx
call fcn.004042cc
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x501ba0
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_1
mov edi, eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x7a
jne 0x501b98
mov eax, dword [ebp - 0xc]
call fcn.004042b0
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
call sub.wininet.dll_FindNextUrlCacheEntryW
test eax, eax
je 0x501b91
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 4]
call fcn.0040740c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00407920
jne 0x501b91
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 8]
call fcn.0040740c
jmp 0x501ba0
mov eax, ebx
call fcn.004042cc
cmp edi, 0x103
jne 0x501b31
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501bca
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407258
lea eax, [ebp - 4]
call fcn.00407250
ret
Function at 0x501f70
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe48
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5020ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x1a4]
push eax
mov dl, 1
mov al, 1
call fcn.0040cc0c
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x501fcc
mov eax, dword [ebp - 0x10]
mov edx, 0x50210c
call fcn.00407260
jmp 0x5020ce
xor eax, eax
push ebp
push 0x5020c7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x502002
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x104
call fcn.00406c3c
push 0x104
mov eax, dword [ebp - 4]
call fcn.00406b0c
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.00406b0c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
test ebx, ebx
je 0x502073
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00407464
mov eax, dword [esi]
call fcn.004072ec
call fcn.004154a4
mov edx, eax
mov eax, esi
call fcn.004075c4
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1b0], eax
push dword [ebp - 0x1b0]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1b8]
mov ecx, 0
call fcn.004068d8
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 8]
call fcn.00407464
mov byte [ebp - 0x11], 1
jmp 0x5020b4
call sub.wsock32.dll_WSAGetLastError
sub eax, 0x2734
je 0x5020a7
sub eax, 0xe
je 0x502098
sub eax, 0x2b
jne 0x5020b4
mov eax, dword [ebp - 0x10]
mov edx, 0x502150
call fcn.00407260
jmp 0x5020b4
mov eax, dword [ebp - 0x10]
mov edx, 0x502180
call fcn.00407260
jmp 0x5020b4
mov eax, dword [ebp - 0x10]
mov edx, 0x5021a4
call fcn.00407260
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5020ce
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5020f6
lea eax, [ebp - 0x1b8]
call fcn.00406640
lea eax, [ebp - 4]
call fcn.00406640
ret

Function at 0x5021c4
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 0x502249
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
xor edx, edx
call fcn.004072b4
lea eax, [ebp - 8]
xor edx, edx
call fcn.004072b4
push 0x502264
push dword [ebp - 4]
push 0x502294
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00407800
push 1
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.004072ec
push eax
push 0x5022a4
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 0x502250
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407258
ret
Function at 0x503e64
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 0x503ea4
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 0x503eae
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x505170
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.00407248
mov eax, dword [ebp - 8]
call fcn.00407248
mov eax, dword [ebp - 0xc]
call fcn.00407248
xor eax, eax
push ebp
push 0x50529f
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.004072ec
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.004072ec
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.00480578
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.004072ec
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x505284
xor eax, eax
push ebp
push 0x50527d
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 0x50525d
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x505261
xor eax, eax
jmp 0x505263
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x505284
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 0x5052a6
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407258
ret
Function at 0x5052b0
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.00407248
mov eax, dword [ebp - 8]
call fcn.00407248
mov eax, dword [ebp - 0xc]
call fcn.00407248
mov eax, dword [ebp + 0xc]
call fcn.00407248
xor eax, eax
push ebp
push 0x50541a
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.004072ec
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x505430
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.004072ec
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5053f7
xor edx, edx
push ebp
push 0x5053f0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.004072ec
push eax
mov eax, dword [ebp - 0xc]
call fcn.004072ec
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 0x5053d9
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 0x5053d0
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x5053d4
xor eax, eax
jmp 0x5053d6
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5053f7
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 0x505421
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407258
lea eax, [ebp + 0xc]
call fcn.00407250
ret
Function at 0x505440
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.00407248
mov eax, dword [ebp - 8]
call fcn.00407248
xor eax, eax
push ebp
push 0x50555a
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.004072ec
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.004072ec
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x50553f
xor eax, eax
push ebp
push 0x505538
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 0x505518
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionW
test eax, eax
jne 0x50551c
xor eax, eax
jmp 0x50551e
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50553f
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 0x505561
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407258
ret

Function at 0x50556c
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, 0x505634
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x505638
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x505634
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x50562b
xor eax, eax
push ebp
push 0x505624
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 0x50562b
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 0x506d38
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x506f64
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0x105
mov eax, dword [ebp - 0x24]
call fcn.004042b0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x506db9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
je 0x506da3
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x14]
call fcn.0040740c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x506dc0
mov eax, dword [ebp - 0x14]
call fcn.004042cc
ret

Function at 0x50c4ac
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.00404c18
push 0x14
lea eax, [ebp - 0x14]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
je 0x50c4e7
cmp word [ebp - 0x14], 0x31
jne 0x50c4e5
mov bl, 1
jmp 0x50c4e7
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50ea8c
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.004a34d0
test al, al
je 0x50eb4b
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x50eb29
cmp word [esi + 0x67a], 0
je 0x50eadd
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x67c]
call dword [esi + 0x678]
movzx eax, byte [esi + 0x670]
or al, byte [ebp - 9]
jne 0x50eb00
cmp dword [ebp - 4], 0
jbe 0x50eafc
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x50eb00
xor ebx, ebx
jmp 0x50eb02
mov bl, 1
test bl, bl
jne 0x50eb4b
mov eax, dword [0x5266fc]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x50eb4b
mov eax, dword [0x5266fc]
mov eax, dword [eax]
call fcn.004c9cc8
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x50eb4b
cmp byte [esi + 0x610], 0
jne 0x50eb4b
mov edx, 0xfffffdf3
mov eax, esi
call fcn.004d6a38
cmp eax, 4
jne 0x50eaba
mov byte [esi + 0x670], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50eb60
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
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x50ebec
cmp word [esi + 0x67a], 0
je 0x50eba0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x67c]
call dword [esi + 0x678]
movzx eax, byte [esi + 0x670]
or al, byte [ebp - 9]
jne 0x50ebc3
cmp dword [ebp - 4], 0
jbe 0x50ebbf
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x50ebc3
xor ebx, ebx
jmp 0x50ebc5
mov bl, 1
test bl, bl
jne 0x50ec0a
mov eax, dword [0x5266fc]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x50ec0a
mov eax, dword [0x5266fc]
mov eax, dword [eax]
call fcn.004c9cc8
push 1
call sub.kernel32.dll_Sleep_1
cmp byte [esi + 0x610], 0
jne 0x50ec0a
mov edx, 0xd4
mov eax, esi
call fcn.004d6a24
test ax, ax
jne 0x50eb7d
mov byte [esi + 0x670], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5165a8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x51666a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406d04
mov dl, 1
mov eax, dword [0x44d810]
call fcn.0044f96c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51664d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 4]
call fcn.0044fa54
xor ecx, ecx
mov edx, 0x516684
mov eax, dword [ebp - 4]
call fcn.0044fb9c
test al, al
je 0x51662f
lea ecx, [ebp - 8]
mov edx, 0x516714
mov eax, dword [ebp - 4]
call fcn.004505cc
lea eax, [ebp - 8]
mov edx, 0x51672c
call fcn.0040765c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004074c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x516654
mov eax, dword [ebp - 4]
call fcn.0044fa24
mov eax, dword [ebp - 4]
call fcn.00405378
ret
Function at 0x5184c4
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x5184cd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407248
mov eax, dword [ebp - 8]
call fcn.00407248
xor eax, eax
push ebp
push 0x5186dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov edx, dword [0x5267ac]
mov edx, dword [edx]
call fcn.00407920
je 0x518678
xor eax, eax
push ebp
push 0x518671
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xe], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004074c4
mov edx, dword [ebp - 0x18]
mov ecx, 0x5186f4
mov eax, ebx
call fcn.00517234
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.004074b0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.004074c4
mov edx, dword [ebp - 0x24]
mov ecx, 0x5186f4
mov eax, ebx
call fcn.00517234
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.004074b0
mov edx, dword [ebp - 0x1c]
mov eax, 0x518710
call fcn.0041ad98
mov esi, eax
test esi, esi
jle 0x5185b5
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00407988
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 0x518720
call fcn.0040771c
cmp word [ebx + 0x37a], 0
je 0x518604
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.0049a1a4
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.004074c4
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe]
push eax
push 0
lea eax, [ebp - 0x34]
call fcn.005165a8
lea eax, [ebp - 0x34]
mov edx, 0x518734
call fcn.00406f40
mov ecx, dword [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebx + 0x37c]
call dword [ebx + 0x378]
cmp byte [ebp - 0xe], 0
jne 0x518663
xor eax, eax
push ebp
push 0x518655
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004072ec
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x518758
mov edx, dword [ebp - 0xc]
call fcn.0040771c
mov eax, dword [ebp - 0x38]
call fcn.004072ec
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileW
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x518663
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518678
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5186e4
lea eax, [ebp - 0x38]
call fcn.00407250
lea eax, [ebp - 0x34]
call fcn.00406d04
lea eax, [ebp - 0x30]
call fcn.00407250
lea eax, [ebp - 0x2c]
call fcn.00406d04
lea eax, [ebp - 0x28]
call fcn.00407250
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00406d1c
lea eax, [ebp - 0x1c]
call fcn.00407250
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406d1c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407258
ret
Function at 0x519e94
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
test byte [eax + 0x3c4], 1
je 0x519eaa
or edx, 0x10000000
jmp 0x519eb0
or edx, 0x20000000
test byte [eax + 0x3c4], 2
je 0x519ec1
or edx, 0x40000000
jmp 0x519ec7
or edx, 0x80000000
test byte [eax + 0x3c4], 4
je 0x519ed5
or edx, 1
jmp 0x519ed8
or edx, 1
test byte [eax + 0x3c4], 8
je 0x519ee6
or edx, 2
jmp 0x519ee9
or edx, 2
test byte [eax + 0x3c4], 0x10
je 0x519ef7
or edx, 4
jmp 0x519efa
or edx, 4
test byte [eax + 0x3c4], 0x20
je 0x519f08
or edx, 6
jmp 0x519f0b
or edx, 6
test byte [eax + 0x3c4], 0x40
je 0x519f19
or edx, 8
jmp 0x519f1c
or edx, 8
push edx
mov eax, dword [eax + 0x2b0]
push eax
call sub.shlwapi.dll_SHAutoComplete
pop ebp
ret