joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005076
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0x50
mov eax, 0x1005b6bd
call fcn.100422ea
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 0x100050bf
cmp dword [ebp - 0x50], esi
jne 0x100050bf
mov eax, dword [ebp - 0x54]
jmp 0x100050c1
xor eax, eax
cmp eax, 1
jne 0x100051c8
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x48]
mov byte [eax], 1
call fcn.10003286
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x34], esi
jne 0x100050f3
push str.cstate_not_found
call fcn.10022364
pop ecx
push esi
jmp 0x100051be
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0x2c]
call fcn.1000204f
push str.__init
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.10005834
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10005120
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.10033830
mov esi, eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x1000513a
cmp esi, 0xffffffff
jne 0x10005171
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.start_cstate__init_failed:__d
call fcn.10022364
mov eax, dword [ebp - 0x50]
inc dword [ebp - 0x50]
cmp eax, 0x1e
pop ecx
pop ecx
jg 0x100051a8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.100031f2
jmp 0x10005114
push str.wait_for_fill_client_info_before_online
call fcn.10021f6a
mov dword [esp], 0x493e0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000519b
push str.fille_client_info_wait_time_out_
call fcn.10022364
pop ecx
push str._fci
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x4c]
call fcn.100031f2
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.10002370
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.10002370
call fcn.1004236d
ret
Function at 0x1000562b
Capabilities:
Create thread

Disassembly:
push 0x14c
mov eax, 0x1005cb00
call fcn.100422ea
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.10029f1e
push 2
pop ebx
mov dword [ebp - 4], ebx
cmp esi, edi
je 0x100056a2
push esi
lea ecx, [ebp - 0x54]
call fcn.10001fa7
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x34], 1
call fcn.10025deb
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.10025e4f
test al, al
je 0x100056a2
cmp byte [ebp - 0x68], 7
mov byte [ebp - 0x2d], 0
je 0x100056a6
mov byte [ebp - 0x2d], 1
test byte [ebp - 0x34], bl
je 0x100056ba
and dword [ebp - 0x34], 0xfffffffd
lea eax, [ebp - 0x158]
call fcn.10028613
mov dword [ebp - 4], ebx
test byte [ebp - 0x34], 1
je 0x100056ce
push edi
push 1
lea ecx, [ebp - 0x54]
call fcn.10002274
cmp byte [ebp - 0x2d], 0
je 0x1000572f
push esi
lea ecx, [ebp - 0x54]
call fcn.10001fa7
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 0x10005700
mov eax, dword [eax + 4]
jmp 0x10005703
add eax, 4
push eax
push str.invalid_client_info:_s
call fcn.10022364
pop ecx
pop ecx
push edi
push 1
lea esi, [ebp - 0x8c]
call fcn.10002370
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.10002274
jmp 0x1000581d
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.10034914
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.10005ef0
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.10002274
test bl, bl
je 0x10005811
push str.client_info_changed__record_now
call fcn.10021f6a
pop ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0xa8]
call fcn.10001fa7
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 0x100057ca
mov eax, dword [eax + 4]
jmp 0x100057cd
add eax, 4
push esi
mov ebx, edi
mov esi, eax
mov edi, reloc.WS2_32.dll_bind
call fcn.10034889
xor edi, edi
push edi
push 1
lea esi, [ebp - 0xc4]
call fcn.10002370
push edi
push 1
lea ecx, [ebp - 0xa8]
call fcn.10002274
push edi
push edi
push edi
push 0x10005579
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.10002370
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x70]
call fcn.10029201
call fcn.1004236d
ret
Function at 0x10006095
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x10078060]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0x44
mov eax, 0x10059886
call fcn.10042281
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 0x100060e3
push 0x10062dd0
mov esi, edi
call fcn.10002030
mov eax, edi
jmp 0x100061d5
xor eax, eax
push 0x40e
push eax
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push eax
call fcn.10043280
add esp, 0xc
push 0x208
lea eax, [ebp + 0x1c]
mov edi, str.cachekvstore
push eax
mov ebx, edi
xor ecx, ecx
call fcn.10032583
push esi
lea ecx, [ebp - 0x34]
call fcn.100011df
cmp dword [eax + 0x18], 8
pop ecx
jb 0x10006127
mov eax, dword [eax + 4]
jmp 0x1000612a
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.10002370
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100061c7
lea eax, [ebp]
push 2
push eax
call fcn.10006039
pop ecx
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 0x14], esi
je 0x100061b7
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10006174
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 0x100061a2
mov eax, dword [eax + 4]
jmp 0x100061a5
add eax, 4
push eax
lea eax, [ebp + 0x1c]
push eax
call ebx
push esi
push 1
lea esi, [ebp - 0x50]
call fcn.10002370
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea esi, [ebp]
call fcn.10002370
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x1c]
push eax
call fcn.10002030
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.10040b84
add ebp, 0x430
leave
ret

Function at 0x10006362
Capabilities:
Hide graphical window

Disassembly:
push 0x1c
mov eax, 0x10058b47
call fcn.10042281
call fcn.100062d8
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 0x100063be
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100063a5
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100063f3
push edi
push esi
call fcn.10035741
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x100063f3
push edi
push str._location_d
lea ecx, [ebp - 0x28]
call fcn.100347ad
pop ecx
pop ecx
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x100063dd
mov eax, dword [eax + 4]
jmp 0x100063e0
add eax, 4
mov ecx, eax
call fcn.100061f8
push 0
push 1
lea esi, [ebp - 0x28]
call fcn.10002370
call fcn.10042359
ret
Function at 0x1000655b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10078060]
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.10043280
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.100067b6
lea edi, [ebx + 0x3bc]
mov esi, 0x10063ec8
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.10040b84
leave
ret
Function at 0x10006603
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x48
mov eax, 0x1005beb0
call fcn.10042281
push str.CryptEnabled
call fcn.10006056
neg eax
sbb eax, eax
neg eax
pop ecx
jne 0x1000662c
push 0x10063ff4
jmp 0x100067a4
lea eax, [ebp - 0x54]
push str.Softwareprojonepodlpkeyrulemain_
push eax
call fcn.10037e3f
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.1000c073
test esi, esi
jne 0x10006669
push 0x10064000
push dword [ebp + 8]
call fcn.1000234b
xor eax, eax
inc eax
jmp 0x100067ae
push 0x1006400c
lea ecx, [ebp - 0x34]
call fcn.10001fa7
and dword [ebp - 4], 0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.10006095
cmp dword [eax + 0x18], 8
jb 0x10006690
mov eax, dword [eax + 4]
jmp 0x10006693
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.10002370
push 0
test bl, bl
sete bl
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x34]
call fcn.10002274
test bl, bl
je 0x100066d9
push 0x10064010
push dword [ebp + 8]
call fcn.1000234b
push 2
pop eax
jmp 0x100067ae
push str.PersonMode
call fcn.10006056
pop ecx
test eax, eax
je 0x100066f9
push 0x10064038
push dword [ebp + 8]
call fcn.1000234b
push 3
jmp 0x100066d3
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 0x1000672e
cmp dword [ebp - 0x14], esi
jne 0x1000672e
mov eax, dword [ebp - 0x18]
jmp 0x10006731
xor eax, eax
inc eax
test eax, eax
jne 0x10006746
push 0x10064098
push dword [ebp + 8]
call fcn.1000234b
mov eax, esi
jmp 0x100067ae
mov esi, str.CryptoMode
push esi
call fcn.10006056
pop ecx
cmp eax, 2
jne 0x1000675e
push 0x100640c4
jmp 0x100067a4
push esi
call fcn.10006056
pop ecx
test eax, eax
jne 0x1000679f
call fcn.10035047
test eax, eax
je 0x1000678b
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10037c43
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x10]
pop ecx
jne 0x1000679f
push 0x100640d0
push dword [ebp + 8]
call fcn.1000234b
push 5
jmp 0x100066d3
push str.ck8
push dword [ebp + 8]
call fcn.1000234b
xor eax, eax
call fcn.10042359
ret 4
Function at 0x100075f6
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x10078060]
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.10043280
add esp, 0xc
xor eax, eax
push edi
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10043280
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.10032583
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.10032583
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x418]
push eax
call ebx
test eax, eax
je 0x10007799
lea eax, [ebp - 0x210]
push eax
call ebx
test eax, eax
je 0x10007799
lea eax, [ebp - 0x210]
push eax
push str.delete_old_file:__s
call fcn.100220d3
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 0x100076ed
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10040b84
leave
ret
Function at 0x10008bea
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0x48
mov eax, 0x10058e89
call fcn.10042281
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
push dword [ebp + 8]
call fcn.10018913
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
xor edi, edi
push 0x10
mov dword [ebp - 4], ebx
inc edi
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov esi, dword [ebp - 0x14]
push 4
call fcn.10041127
pop ecx
cmp eax, ebx
je 0x10008c36
lea ecx, [ebp - 0x38]
mov dword [eax], ecx
jmp 0x10008c38
xor eax, eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0xd]
mov dword [ebp - 4], edi
mov byte [ebp - 0xd], bl
push eax
mov eax, esi
lea ebx, [ebp - 0x38]
call fcn.10009114
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
mov esi, eax
cmp eax, dword [ebp - 0x28]
jbe 0x10008c65
call fcn.10040ff9
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], esi
lea esi, [ebp - 0x20]
mov dword [ebp - 0x20], eax
call fcn.100020f6
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
xor esi, esi
push esi
push 0x10
push esi
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x10008cdc
cmp ebx, esi
je 0x10008cdc
mov esi, dword [ebx + 0x1c]
jmp 0x10008cd1
mov eax, dword [esi + 0xc]
cmp word [eax], 2
jne 0x10008cce
push dword [eax + 4]
call sub.WS2_32.dll_inet_ntoa
push eax
lea ecx, [ebp - 0x54]
call fcn.10001fa7
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
mov eax, dword [ebp + 8]
call fcn.1000208f
push 0
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.10002274
mov esi, dword [esi + 8]
test esi, esi
jne 0x10008c95
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x10008c90
cmp dword [ebp - 0x2c], esi
je 0x10008cea
push dword [ebp - 0x2c]
call fcn.10041033
pop ecx
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.10041033
mov eax, dword [ebp + 8]
pop ecx
call fcn.10042359
ret

Function at 0x10008ddb
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
cmp dword [0x10082af4], edi
jne 0x10008e28
mov dword [0x10082af4], 1
call fcn.10008d05
xor esi, esi
push edi
push 1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push esi
push 0x10008a86
push edi
push edi
mov dword [esi*4 + 0x10082ae8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 3
jl 0x10008df9
pop edi
pop esi
pop ecx
ret
Function at 0x1000a6db
Capabilities:
Check if file exists

Disassembly:
push 0x84
mov eax, 0x1005eceb
call fcn.100422ea
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 0x1000a762
cmp esi, ebx
je 0x1000a762
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000a762
cmp byte [ebp + 0xc], bl
jne 0x1000a733
call fcn.10022b29
push esi
cmp eax, 1
jne 0x1000a725
push edi
call fcn.1000a3b3
pop ecx
jmp 0x1000a72a
call fcn.1000a65d
pop ecx
cmp al, bl
je 0x1000a733
mov al, 1
jmp 0x1000a764
push 1
lea ecx, [ebp - 0x2c]
call fcn.10022de2
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000a74d
lea eax, [ebp - 0x28]
push ebx
call fcn.10032d67
test eax, eax
jne 0x1000a76a
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002274
xor al, al
call fcn.1004236d
ret
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000a776
lea eax, [ebp - 0x28]
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile
lea esi, [ebp - 0x48]
call fcn.1003480b
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x90]
call fcn.10029f1e
sub esp, 0x18
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x6c], esp
push edi
call fcn.10028fb0
lea eax, [ebp - 0x90]
push eax
mov edx, 0x10064f80
mov byte [ebp - 4], 5
call fcn.1002a1bc
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10029284
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
push dword [ebp - 0x70]
call fcn.10028fb0
lea eax, [ebp - 0x90]
push eax
mov edx, str.name
mov byte [ebp - 4], 6
call fcn.1002a1bc
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10029284
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x6c], esp
push ebx
call fcn.10028f52
lea eax, [ebp - 0x90]
push eax
mov edx, str.clean
mov byte [ebp - 4], 7
call fcn.1002a1bc
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10029284
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x64]
call fcn.1002a681
mov byte [ebp - 4], 8
cmp dword [ebp - 0x4c], 0x10
mov ecx, dword [ebp - 0x60]
jae 0x1000a848
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x1000a854
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.100225b2
push ebx
test eax, eax
push 1
lea ecx, [ebp - 0x64]
setne byte [ebp - 0x65]
call fcn.10002274
lea esi, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.10029201
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10002274
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10002274
mov al, byte [ebp - 0x65]
jmp 0x1000a764
Function at 0x1000af4d
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10078060]
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 0x1000afe0
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 0x1000afe0
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 0x1000afe0
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 0x1000af70
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.10040b84
leave
ret
Function at 0x1000e3c6
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x10079f84], esi
je 0x1000e3fe
push dword [0x1008355c]
mov dword [0x10079f84], esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
push esi
push esi
push 0x1000e085
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x1000e5cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp byte [esi + 4], bl
je 0x1000e5de
xor al, al
jmp 0x1000e618
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 0x1000f7cb
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 0x1000e904
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x50
mov eax, 0x100597a6
call fcn.100422ea
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 0x1000e929
mov eax, dword [eax + 4]
jmp 0x1000e92c
add eax, 4
cmp dword [ecx + 0x3c], 8
jb 0x1000e937
mov ecx, dword [ecx + 0x28]
jmp 0x1000e93a
add ecx, 0x28
push eax
push ecx
push 0x10065bc4
lea ecx, [ebp - 0x2c]
call fcn.100347ad
add esp, 0xc
xor esi, esi
inc esi
mov edi, ebx
mov dword [ebp - 4], esi
call fcn.1000eadd
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], esi
jae 0x1000e968
lea edx, [ebp - 0x28]
push str.type
mov edi, reloc.WS2_32.dll_bind
push edi
lea ecx, [ebp - 0x58]
call fcn.10034914
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.100022bf
push 0
push esi
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10002370
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x1000e9a7
lea edx, [ebp - 0x28]
push str.filePath
push edi
lea ecx, [ebp - 0x58]
call fcn.10034914
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 3
call fcn.100022bf
push 0
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10002370
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1000e9e3
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 0x1000ea10
cmp dword [ebp - 0x38], esi
jne 0x1000ea10
mov eax, dword [ebp - 0x30]
jmp 0x1000ea12
xor eax, eax
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
mov dword [ebx + 0x8c], eax
jae 0x1000ea24
lea edx, [ebp - 0x28]
push 0x10065c1c
push edi
lea ecx, [ebp - 0x58]
call fcn.10034914
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x38]
mov byte [ebp - 4], 4
call fcn.100022bf
push 0
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10002370
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x1000ea60
lea edx, [ebp - 0x28]
push str.icoCache
push edi
lea ecx, [ebp - 0x58]
call fcn.10034914
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x54]
mov byte [ebp - 4], 5
call fcn.100022bf
push 0
push 1
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.10002370
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
jae 0x1000ea9c
lea edx, [ebp - 0x28]
push str.keyName
push edi
lea ecx, [ebp - 0x58]
call fcn.10034914
pop ecx
pop ecx
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebx + 0x70]
mov byte [ebp - 4], 6
call fcn.100022bf
push edi
push 1
lea esi, [ebp - 0x58]
call fcn.10002370
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.10002370
mov eax, ebx
call fcn.1004236d
ret 4