joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003cf1
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100525ff
mov eax, dword fs:[0]
push eax
mov eax, 0x20090
call fcn.10045780
mov eax, dword [0x10069060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
push str.clientCfg
lea ecx, [ebp - 0x20098]
mov dword [ebp - 0x20038], esi
mov dword [ebp - 0x20040], eax
mov dword [ebp - 0x2003c], ebx
call fcn.10001e3e
lea eax, [ebp - 0x20098]
push eax
xor edi, edi
lea eax, [ebp - 0x2007c]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.10003050
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x20098]
mov byte [ebp - 4], 3
call fcn.100020f3
push str.useCidMac
lea ecx, [ebp - 0x20060]
call fcn.10001e3e
lea eax, [ebp - 0x20060]
push eax
lea eax, [ebp - 0x2007c]
mov byte [ebp - 4], 4
call fcn.10002fad
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x20060]
mov dword [ebp - 0x20034], eax
mov byte [ebp - 4], 3
call fcn.100020f3
cmp dword [ebp - 0x20034], ebx
je 0x10003dee
push str.use_cid_dummy_mac
call fcn.1001aefe
pop ecx
lea eax, [ebp - 0x20060]
push eax
call fcn.1001c65a
pop ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10003c28
pop ecx
lea ecx, [ebp - 0x20060]
jmp 0x10003ef9
push ebx
lea ecx, [ebp - 0x20030]
mov dword [ebp - 0x20018], 0xf
call fcn.10002438
lea eax, [ebp - 0x20044]
push eax
lea esi, [ebp - 0x20014]
mov eax, esi
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x20044], 0x20000
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10003ee1
cmp dword [esi + 0x190], 6
jne 0x10003e76
lea eax, [esi + 0x1ac]
mov dword [ebp - 0x20034], eax
cmp eax, ebx
je 0x10003e76
jmp 0x10003e50
mov eax, dword [ebp - 0x20034]
add eax, 4
push eax
mov eax, dword [ebp - 0x20040]
call fcn.10005c2e
pop ecx
test al, al
jne 0x10003e7e
mov eax, dword [ebp - 0x20034]
mov eax, dword [eax]
mov dword [ebp - 0x20034], eax
cmp eax, ebx
jne 0x10003e4a
mov esi, dword [esi]
cmp esi, ebx
jne 0x10003e2f
jmp 0x10003ee1
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x
lea esi, [ebp - 0x20060]
call fcn.1002d81e
add esp, 0x1c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x20030]
mov byte [ebp - 4], 7
call fcn.10001ff3
push ebx
push edi
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.100020f3
mov ecx, dword [ebp - 0x20038]
lea eax, [ebp - 0x20030]
push eax
call fcn.10001e60
lea ecx, [ebp - 0x20030]
push ebx
push edi
mov dword [ebp - 0x2003c], edi
call fcn.100020f3
lea esi, [ebp - 0x2007c]
mov byte [ebp - 4], bl
call fcn.10022266
mov eax, dword [ebp - 0x20038]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100366e3
leave
ret
Function at 0x10004d54
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0x50
mov eax, 0x10050884
call fcn.10037d5a
mov eax, dword [ebp + 8]
push 4
pop esi
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push str._fci
mov ebx, str.Softwareprojonepodlp_smpcache_
push ebx
mov edi, reloc.WS2_32.dll_bind
push edi
mov dword [ebp - 0x4c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10004d9d
cmp dword [ebp - 0x50], esi
jne 0x10004d9d
mov eax, dword [ebp - 0x54]
jmp 0x10004d9f
xor eax, eax
cmp eax, 1
jne 0x10004ea6
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x48]
mov byte [eax], 1
call fcn.10002fe4
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x34], esi
jne 0x10004dd1
push str.cstate_not_found
call fcn.1001b18f
pop ecx
push esi
jmp 0x10004e9c
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0x2c]
call fcn.10001ee6
push str.__fci
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.10005536
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004dfe
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.1002c853
mov esi, eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x10004e18
cmp esi, 0xffffffff
jne 0x10004e4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.start_cstate__fci_failed:__d
call fcn.1001b18f
mov eax, dword [ebp - 0x50]
inc dword [ebp - 0x50]
cmp eax, 0x1e
pop ecx
pop ecx
jg 0x10004e86
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.10002f50
jmp 0x10004df2
push str.wait_for_fill_client_info_before_online
call fcn.1001ad95
mov dword [esp], 0x493e0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10004e79
push str.fille_client_info_wait_time_out_
call fcn.1001b18f
pop ecx
push str._fci
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x4c]
call fcn.10002f50
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.100021ef
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.100021ef
call fcn.10037ddd
ret
Function at 0x1000532d
Capabilities:
Create thread

Disassembly:
push 0x14c
mov eax, 0x10051669
call fcn.10037d5a
xor edi, edi
push edi
mov esi, ecx
push edi
lea eax, [ebp - 0x70]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
call fcn.10022f83
push 2
pop ebx
mov dword [ebp - 4], ebx
cmp esi, edi
je 0x100053a4
push esi
lea ecx, [ebp - 0x54]
call fcn.10001e3e
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x34], 1
call fcn.1001ee33
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 4], 4
push eax
mov dword [ebp - 0x34], 3
call fcn.1001ee97
test al, al
je 0x100053a4
cmp byte [ebp - 0x68], 7
mov byte [ebp - 0x2d], 0
je 0x100053a8
mov byte [ebp - 0x2d], 1
test byte [ebp - 0x34], bl
je 0x100053bc
and dword [ebp - 0x34], 0xfffffffd
lea eax, [ebp - 0x158]
call fcn.1002166a
mov dword [ebp - 4], ebx
test byte [ebp - 0x34], 1
je 0x100053d0
push edi
push 1
lea ecx, [ebp - 0x54]
call fcn.100020f3
cmp byte [ebp - 0x2d], 0
je 0x10005431
push esi
lea ecx, [ebp - 0x54]
call fcn.10001e3e
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.100011df
pop ecx
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 8
jb 0x10005402
mov eax, dword [eax + 4]
jmp 0x10005405
add eax, 4
push eax
push str.invalid_client_info:_s
call fcn.1001b18f
pop ecx
pop ecx
push edi
push 1
lea esi, [ebp - 0x8c]
call fcn.100021ef
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.100020f3
jmp 0x1000551f
mov esi, str.BB68C37F
push esi
mov edi, str.Softwareprojonepodlp_smpcache_
push reloc.WS2_32.dll_bind
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.1002d927
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 7
call fcn.1000121f
push dword [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.10005c2e
add esp, 0x14
mov bl, al
neg bl
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x8c]
inc bl
mov byte [ebp - 4], 7
call fcn.100020f3
test bl, bl
je 0x10005513
push str.client_info_changed__record_now
call fcn.1001ad95
pop ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0xa8]
call fcn.10001e3e
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 9
call fcn.100011df
cmp dword [eax + 0x18], 8
pop ecx
jb 0x100054cc
mov eax, dword [eax + 4]
jmp 0x100054cf
add eax, 4
push esi
mov ebx, edi
mov esi, eax
mov edi, reloc.WS2_32.dll_bind
call fcn.1002d89c
xor edi, edi
push edi
push 1
lea esi, [ebp - 0xc4]
call fcn.100021ef
push edi
push 1
lea ecx, [ebp - 0xa8]
call fcn.100020f3
push edi
push edi
push edi
push 0x10005257
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.100021ef
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x70]
call fcn.10022266
call fcn.10037ddd
ret
Function at 0x10005dc6
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x10069060]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x44
mov eax, 0x1004ef09
call fcn.10037cf1
and dword [ebp - 0x18], 0
mov esi, edx
cmp dword [esi + 0x14], 0xc8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
jbe 0x10005e14
push 0x10056d70
mov esi, edi
call fcn.10001ec7
mov eax, edi
jmp 0x10005f06
xor eax, eax
push 0x40e
push eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push eax
call fcn.10038cf0
add esp, 0xc
push 0x208
lea eax, [ebp + 0x1c]
mov edi, str.cachekvstore
push eax
mov ebx, edi
xor ecx, ecx
call fcn.1002b6b2
push esi
lea ecx, [ebp - 0x34]
call fcn.100011df
cmp dword [eax + 0x18], 8
pop ecx
jb 0x10005e58
mov eax, dword [eax + 4]
jmp 0x10005e5b
add eax, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea eax, [ebp + 0x1c]
push eax
call ebx
push 0
push 1
lea esi, [ebp - 0x34]
call fcn.100021ef
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005ef8
lea eax, [ebp]
push 2
push eax
call fcn.10005d6a
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x14], esi
je 0x10005ee8
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10005ea5
lea eax, [ebp + 4]
push 0x208
push eax
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
lea eax, [ebp + 0x1c]
push eax
call ebx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x50]
call fcn.100011df
cmp dword [eax + 0x18], 8
pop ecx
jb 0x10005ed3
mov eax, dword [eax + 4]
jmp 0x10005ed6
add eax, 4
push eax
lea eax, [ebp + 0x1c]
push eax
call ebx
push esi
push 1
lea esi, [ebp - 0x50]
call fcn.100021ef
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea esi, [ebp]
call fcn.100021ef
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x1c]
push eax
call fcn.10001ec7
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.100366e3
add ebp, 0x430
leave
ret

Function at 0x10006093
Capabilities:
Hide graphical window

Disassembly:
push 0x1c
mov eax, 0x1004e97a
call fcn.10037cf1
call fcn.10006009
push 0
push str.OneClientWnd
mov edi, eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100060ef
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100060d6
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10006124
push edi
push esi
call fcn.1002e7d8
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x10006124
push edi
push str._location_d
lea ecx, [ebp - 0x28]
call fcn.1002d7c0
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x1000610e
mov eax, dword [eax + 4]
jmp 0x10006111
add eax, 4
mov ecx, eax
call fcn.10005f29
push 0
push 1
lea esi, [ebp - 0x28]
call fcn.100021ef
call fcn.10037dc9
ret
Function at 0x1000628c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10069060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x118
lea eax, [ebp - 0x124]
push 0
push eax
mov ebx, ecx
call fcn.10038cf0
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
mov dword [ebp - 0x128], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x124], 5
push 0
setne al
push 0x1388
push 1
push dword [ebx]
dec eax
and eax, 3
add eax, 0x67
mov word [ebx + 0x3d4], ax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, ebx
call fcn.100064e7
lea edi, [ebx + 0x3bc]
mov esi, 0x10057d60
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x20], 0x20
movsd dword es:[edi], dword [esi]
add ebx, 0x14
push ebx
push 2
movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100366e3
leave
ret
Function at 0x10006334
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x48
mov eax, 0x10050ea1
call fcn.10037cf1
push str.CryptEnabled
call fcn.10005d87
neg eax
sbb eax, eax
neg eax
pop ecx
jne 0x1000635d
push 0x10057e8c
jmp 0x100064d5
lea eax, [ebp - 0x54]
push str.Softwareprojonepodlpkeyrulemain_
push eax
call fcn.100308c0
mov eax, dword [eax + 0x1c]
pop ecx
pop ecx
xor ecx, ecx
cmp ecx, eax
lea eax, [ebp - 0x54]
sbb esi, esi
push eax
neg esi
call fcn.10009fa0
test esi, esi
jne 0x1000639a
push 0x10057e98
push dword [ebp + 8]
call fcn.100021ca
xor eax, eax
inc eax
jmp 0x100064df
push 0x10057ea4
lea ecx, [ebp - 0x34]
call fcn.10001e3e
and dword [ebp - 4], 0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.10005dc6
cmp dword [eax + 0x18], 8
jb 0x100063c1
mov eax, dword [eax + 4]
jmp 0x100063c4
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
test eax, eax
push 1
lea esi, [ebp - 0x50]
setne bl
call fcn.100021ef
push 0
test bl, bl
sete bl
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x34]
call fcn.100020f3
test bl, bl
je 0x1000640a
push 0x10057ea8
push dword [ebp + 8]
call fcn.100021ca
push 2
pop eax
jmp 0x100064df
push str.PersonMode
call fcn.10005d87
pop ecx
test eax, eax
je 0x1000642a
push 0x10057ed0
push dword [ebp + 8]
call fcn.100021ca
push 3
jmp 0x10006404
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push str.dlpOnline
push str.Softwareprojonepodlpdlpcore_
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000645f
cmp dword [ebp - 0x14], esi
jne 0x1000645f
mov eax, dword [ebp - 0x18]
jmp 0x10006462
xor eax, eax
inc eax
test eax, eax
jne 0x10006477
push 0x10057f30
push dword [ebp + 8]
call fcn.100021ca
mov eax, esi
jmp 0x100064df
mov esi, str.CryptoMode
push esi
call fcn.10005d87
pop ecx
cmp eax, 2
jne 0x1000648f
push 0x10057f5c
jmp 0x100064d5
push esi
call fcn.10005d87
pop ecx
test eax, eax
jne 0x100064d0
call fcn.1002e05a
test eax, eax
je 0x100064bc
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call fcn.100307b2
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x10]
pop ecx
jne 0x100064d0
push 0x10057f68
push dword [ebp + 8]
call fcn.100021ca
push 5
jmp 0x10006404
push str.ck8
push dword [ebp + 8]
call fcn.100021ca
xor eax, eax
call fcn.10037dc9
ret 4
Function at 0x100072c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x10069060]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x41c], 0
mov eax, str.clientinfo.exe
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x458], eax
mov eax, str.clientstat.exe
push ebx
push esi
mov ecx, str.cstate.exe
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x44c], eax
mov eax, str.poda32.exe
push edi
mov dword [ebp - 0x478], str.aspda.exe
mov dword [ebp - 0x474], str.assistda.exe
mov dword [ebp - 0x470], str.asphost.exe
mov dword [ebp - 0x46c], str.assisthost.exe
mov dword [ebp - 0x468], str.asphs.exe
mov dword [ebp - 0x464], str.assisths.exe
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0x448], str.poagent32.exe
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], str.poagent64.exe
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x438], str.pohost32.exe
mov dword [ebp - 0x434], str.pobus32.exe
mov dword [ebp - 0x430], str.pohost64.exe
mov dword [ebp - 0x42c], str.pobus64.exe
mov dword [ebp - 0x428], str.rcserver.exe
mov dword [ebp - 0x424], str.assists.exe
mov edi, 0x206
mov esi, 0x104
xor eax, eax
push edi
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.10038cf0
add esp, 0xc
xor eax, eax
push edi
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10038cf0
add esp, 0xc
push esi
lea eax, [ebp - 0x418]
push eax
mov eax, dword [ebp - 0x41c]
mov ebx, dword [ebp + eax*8 - 0x474]
xor ecx, ecx
call fcn.1002b6b2
push esi
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x41c]
mov ebx, dword [ebp + eax*8 - 0x478]
xor ecx, ecx
call fcn.1002b6b2
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x418]
push eax
call ebx
test eax, eax
je 0x10007463
lea eax, [ebp - 0x210]
push eax
call ebx
test eax, eax
je 0x10007463
lea eax, [ebp - 0x210]
push eax
push str.delete_old_file:__s
call fcn.1001aefe
pop ecx
pop ecx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0x41c]
cmp dword [ebp - 0x41c], 0xb
jb 0x100073b7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100366e3
leave
ret
Function at 0x1000855a
Capabilities:
Check if file exists

Disassembly:
push 0x84
mov eax, 0x10053251
call fcn.10037d5a
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov esi, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], eax
cmp edi, ebx
je 0x100085e1
cmp esi, ebx
je 0x100085e1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100085e1
cmp byte [ebp + 0xc], bl
jne 0x100085b2
call fcn.1001b85d
push esi
cmp eax, 1
jne 0x100085a4
push edi
call fcn.10008239
pop ecx
jmp 0x100085a9
call fcn.100084dc
pop ecx
cmp al, bl
je 0x100085b2
mov al, 1
jmp 0x100085e3
push 1
lea ecx, [ebp - 0x2c]
call fcn.1001c67c
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x100085cc
lea eax, [ebp - 0x28]
push ebx
call fcn.1002be97
test eax, eax
jne 0x100085e9
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020f3
xor al, al
call fcn.10037ddd
ret
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x100085f5
lea eax, [ebp - 0x28]
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile
lea esi, [ebp - 0x48]
call fcn.1002d81e
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x90]
call fcn.10022f83
sub esp, 0x18
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x6c], esp
push edi
call fcn.10022015
lea eax, [ebp - 0x90]
push eax
mov edx, 0x10058d1c
mov byte [ebp - 4], 5
call fcn.10023221
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100222e9
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
push dword [ebp - 0x70]
call fcn.10022015
lea eax, [ebp - 0x90]
push eax
mov edx, str.name
mov byte [ebp - 4], 6
call fcn.10023221
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100222e9
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
push ebx
call fcn.10021fb7
lea eax, [ebp - 0x90]
push eax
mov edx, str.clean
mov byte [ebp - 4], 7
call fcn.10023221
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100222e9
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x64]
call fcn.100236bf
mov byte [ebp - 4], 8
cmp dword [ebp - 0x4c], 0x10
mov ecx, dword [ebp - 0x60]
jae 0x100086c7
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x100086d3
lea eax, [ebp - 0x44]
push ebx
push ebx
push ebx
push ebx
push ecx
push str.desc
push dword [ebp - 0x74]
push str.file
push eax
call fcn.1001b3b5
push ebx
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp - 0x65]
call fcn.100020f3
lea esi, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.10022266
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.100020f3
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.100020f3
mov al, byte [ebp - 0x65]
jmp 0x100085e3
Function at 0x10008dcc
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10069060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
xor eax, eax
inc eax
mov ecx, esi
shl eax, cl
test ebx, eax
je 0x10008e5f
push 0x3a
lea eax, [esi + 0x61]
mov word [ebp - 0x24], ax
pop eax
mov word [ebp - 0x22], ax
push 0x5c
pop eax
mov word [ebp - 0x20], ax
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x1e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10008e5f
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
mov dword [ebp - 0x40], ecx
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x10008e5f
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
adc dword [ebp - 0x2c], eax
inc esi
cmp esi, 0x1a
jl 0x10008def
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100366e3
leave
ret
Function at 0x1000c0bb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp byte [esi + 4], bl
je 0x1000c0cd
xor al, al
jmp 0x1000c107
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov byte [esi + 4], 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call sub.gdiplus.dll_GdiplusStartup
push ebx
push ebx
push ebx
push 0x1000d2ba
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
mov al, 1
pop ebx
leave
ret
Function at 0x1000c3f3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x50
mov eax, 0x1004ee4c
call fcn.10037d5a
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x5c], ebx
jb 0x1000c418
mov eax, dword [eax + 4]
jmp 0x1000c41b
add eax, 4
cmp dword [ecx + 0x3c], 8
jb 0x1000c426
mov ecx, dword [ecx + 0x28]
jmp 0x1000c429
add ecx, 0x28
push eax
push ecx
push 0x1005977c
lea ecx, [ebp - 0x2c]
call fcn.1002d7c0
add esp, 0xc
xor esi, esi
inc esi
mov edi, ebx
mov dword [ebp - 4], esi
call fcn.1000c5cc
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], esi
jae 0x1000c457
lea edx, [ebp - 0x28]
push str.type
mov edi, reloc.WS2_32.dll_bind
push edi
lea ecx, [ebp - 0x58]
call fcn.1002d927
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.1000213e
push 0
push esi
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100021ef
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x1000c496
lea edx, [ebp - 0x28]
push str.filePath
push edi
lea ecx, [ebp - 0x58]
call fcn.1002d927
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 3
call fcn.1000213e
push 0
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100021ef
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1000c4d2
lea eax, [ebp - 0x28]
push 4
pop esi
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push str.index
push eax
push edi
mov dword [ebp - 0x3c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000c4ff
cmp dword [ebp - 0x38], esi
jne 0x1000c4ff
mov eax, dword [ebp - 0x30]
jmp 0x1000c501
xor eax, eax
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
mov dword [ebx + 0x8c], eax
jae 0x1000c513
lea edx, [ebp - 0x28]
push 0x100597d4
push edi
lea ecx, [ebp - 0x58]
call fcn.1002d927
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x38]
mov byte [ebp - 4], 4
call fcn.1000213e
push 0
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100021ef
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x1000c54f
lea edx, [ebp - 0x28]
push str.icoCache
push edi
lea ecx, [ebp - 0x58]
call fcn.1002d927
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x54]
mov byte [ebp - 4], 5
call fcn.1000213e
push 0
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100021ef
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x1000c58b
lea edx, [ebp - 0x28]
push str.keyName
push edi
lea ecx, [ebp - 0x58]
call fcn.1002d927
pop ecx
pop ecx
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebx + 0x70]
mov byte [ebp - 4], 6
call fcn.1000213e
push edi
push 1
lea esi, [ebp - 0x58]
call fcn.100021ef
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.100021ef
mov eax, ebx
call fcn.10037ddd
ret 4