joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100fd63a
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x1040], 0
je 0x100fd656
mov byte [edi + 0x1040], 0
mov esi, dword [edi + 0x1060]
push esi
call fcn.10013b40
pop ecx
test al, al
je 0x100fd6bf
lea eax, [edi + 0x1028]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
or dword [edi + 0x1080], 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x100fd6bf
cmp eax, 0xe8
je 0x100fd6bf
cmp eax, 0x217
je 0x100fd6ad
cmp eax, 0x3e5
jne 0x100fd6bf
or dword [edi + 0x1080], 4
mov byte [edi + 0x1040], 1
jmp 0x100fd6bb
or dword [edi + 0x1080], 0x10
mov byte [edi + 0x107c], 0
mov al, 1
jmp 0x100fd6c1
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100fd6c7
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
cmp byte [esi + 0x105c], bl
je 0x100fd72d
mov byte [esi + 0x105c], bl
cmp dword [ebp + 8], ebx
je 0x100fd815
cmp dword [ebp + 0xc], ebx
je 0x100fd815
cmp dword [esi + 0x1078], ebx
jne 0x100fd707
call fcn.10023650
lea edi, [esi + 0x1068]
mov ecx, edi
call fcn.100fdbae
mov ecx, dword [eax]
dec dword [edi + 0x10]
jne 0x100fd720
mov dword [edi + 0xc], ebx
jmp 0x100fd723
inc dword [edi + 0xc]
test ecx, ecx
je 0x100fd72d
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x1078], ebx
je 0x100fd873
push dword [esi + 0x1060]
call fcn.10013b40
pop ecx
test al, al
je 0x100fd868
lea ecx, [esi + 0x1068]
call fcn.100fdbae
mov edi, dword [eax]
or dword [esi + 0x1080], 0x20
cmp byte [esi + 0x107f], bl
je 0x100fd76e
call fcn.10023650
mov byte [esi + 0x107f], 1
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
add ecx, dword [eax]
lea eax, [esi + 0x1044]
push eax
push ebx
push ecx
mov dword [esi + 0x108c], ecx
mov dword [esi + 0x1084], ebx
push dword [edi + 4]
push dword [esi + 0x1060]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100fd86c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x1084], eax
cmp eax, 0x3e5
je 0x100fd86c
mov byte [esi + 0x107f], bl
mov dword [esi + 0x1088], eax
call fcn.1000af50
mov edi, 0x100
cmp eax, 2
jg 0x100fd811
push 2
push 0x204
push str.k:liebao_src_pool_release.branch_91_src_importipcipc_channel_win.cc
lea ecx, [ebp - 0xb4]
mov ebx, edi
call fcn.1000afc0
push dword [esi + 0x1084]
add eax, 8
push str.pipe_error:
push eax
call fcn.100025d0
pop ecx
pop ecx
mov ecx, eax
call fcn.100058d0
test edi, ebx
jmp 0x100fd85b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.1000af50
cmp eax, 2
jg 0x100fd858
push 8
pop ebx
push 2
push 0x1db
push str.k:liebao_src_pool_release.branch_91_src_importipcipc_channel_win.cc
lea ecx, [ebp - 0xb4]
call fcn.1000afc0
push esi
add eax, ebx
push str.pipe_error:
push eax
call fcn.100025d0
pop ecx
pop ecx
mov ecx, eax
call fcn.100058d0
test bl, 8
je 0x100fd868
lea ecx, [ebp - 0xb4]
call fcn.1000b010
xor al, al
jmp 0x100fd875
mov byte [esi + 0x105c], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100ff9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014e718
mov eax, dword fs:[0]
push eax
mov eax, 0x1020
call fcn.1011bf70
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x102c], edi
call fcn.100f36d0
mov byte [edi + 0xc4], 0
xor ecx, ecx
mov dword [edi + 0xdc], 7
mov dword [edi + 0xd8], 0
mov dword [ebp - 4], 0
mov word [edi + 0xc8], cx
mov word [edi + 0xe0], cx
lea ecx, [edi + 0xe4]
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.h_lvse
mov byte [ebp - 4], 1
mov byte [ecx], 0
call fcn.10002130
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
lea ecx, [ebp - 0x1024]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1028], 0
call fcn.1004dd90
test eax, eax
jne 0x100ffc20
mov esi, dword [ebp - 0x1024]
lea eax, [ebp - 0x1014]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1014], 4
push eax
lea eax, [ebp - 0x1018]
push eax
push 0
push str.ProxyEnable
push esi
call ebx
test eax, eax
jne 0x100ffc26
cmp dword [ebp - 0x1018], 4
jne 0x100ffc26
cmp dword [ebp - 0x1028], eax
je 0x100ffc26
test esi, esi
je 0x100ffafe
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1024], 0
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
lea ecx, [ebp - 0x1024]
mov dword [ebp - 0x1020], 0
call fcn.1004dd90
test eax, eax
jne 0x100ffc20
push 0xffe
push eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push eax
call fcn.1011a400
mov esi, dword [ebp - 0x1024]
lea eax, [ebp - 0x1014]
add esp, 0xc
mov dword [ebp - 0x1014], 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1018]
push eax
push 0
push str.ProxyServer
push esi
call ebx
test eax, eax
jne 0x100ffc26
mov eax, dword [ebp - 0x1018]
cmp eax, 1
je 0x100ffb8e
cmp eax, 2
jne 0x100ffc26
mov ecx, dword [ebp - 0x1014]
test ecx, ecx
je 0x100ffbb2
test cl, 1
jne 0x100ffc26
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
je 0x100ffbbb
jmp 0x100ffc26
xor eax, eax
mov word [ebp - 0x1010], ax
shr ecx, 1
add ecx, ecx
cmp ecx, 0x1000
jae 0x100ffc1b
xor eax, eax
mov word [ebp + ecx - 0x1010], ax
cmp word [ebp - 0x1010], ax
jne 0x100ffbde
xor ecx, ecx
jmp 0x100ffbf6
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ffbe7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [edi + 0xc8]
call fcn.1000c2b0
cmp dword [edi + 0xd8], 0
je 0x100ffc26
mov byte [edi + 0xc4], 1
jmp 0x100ffc26
call fcn.1011ef87
mov esi, dword [ebp - 0x1024]
test esi, esi
je 0x100ffc31
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x100ffc50
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014e814
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x3c]
mov dword [esi], 0x10167874
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x10178415
mov dword [ebp - 0x814], esi
mov byte [ecx], 0
call fcn.10002130
lea ecx, [esi + 0x54]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0xf
push 0
mov dword [ecx + 0x10], 0
push 0x10178415
mov byte [ecx], 0
call fcn.10002130
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x14], 0xf
push 6
mov dword [ecx + 0x10], 0
push str.h_lvse
mov byte [ecx], 0
call fcn.10002130
mov byte [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x98], 0
mov byte [esi + 0x99], 0
mov byte [esi + 0x9a], 0
mov byte [esi + 0x9b], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xc8], 0xf
mov dword [esi + 0xc4], 0
mov byte [esi + 0xb4], 0
mov dword [esi + 0xe0], 0xf
mov dword [esi + 0xdc], 0
mov byte [esi + 0xcc], 0
mov dword [esi + 0xf8], 0xf
mov dword [esi + 0xf4], 0
mov byte [esi + 0xe4], 0
mov dword [esi + 0x110], 0xf
mov dword [esi + 0x10c], 0
mov byte [esi + 0xfc], 0
mov dword [esi + 0x128], 0xf
mov dword [esi + 0x124], 0
mov byte [esi + 0x114], 0
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x12c]
call fcn.100ff9b0
lea ecx, [esi + 0x228]
mov byte [ebp - 4], 0xb
call fcn.100ffef0
lea eax, [esi + 0x324]
mov byte [ebp - 4], 0xc
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x810]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x810], 0
jne 0x100ffead
xor eax, eax
jmp 0x100ffebf
lea eax, [ebp - 0x810]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100ffeb6
sub eax, edx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [esi + 0xb4]
call fcn.10002130
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x10100a00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push ebx
xor ebx, ebx
push esi
mov dword [eax], ebx
cmp dword [ebp + 0x14], ebx
jne 0x10100a12
int3
cmp byte [ebp + 0x10], bl
je 0x10100a20
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], ebx
ja 0x10100a20
int3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x10100a2b
mov eax, dword [eax]
push 0x10179110
push eax
call fcn.1011ff12
mov esi, eax
add esp, 8
test esi, esi
je 0x10100ac9
push edi
push 2
push 0
push esi
call fcn.10120339
push esi
call fcn.1012074c
push 0
push 0
push esi
mov edi, eax
call fcn.10120339
add esp, 0x1c
test edi, edi
jle 0x10100abf
mov dl, byte [ebp + 0x10]
test dl, dl
je 0x10100a78
mov ecx, dword [ebp + 0x1c]
lea eax, [edi + 0x18]
mov dword [ecx], eax
jmp 0x10100a7f
mov eax, dword [ebp + 0x1c]
mov ecx, eax
mov dword [eax], edi
mov eax, dword [ebp + 0x18]
cmp eax, dword [ecx]
jb 0x10100abf
test dl, dl
je 0x10100aab
mov ebx, dword [ebp + 0x14]
push 0x18
push ebx
push edi
push dword [ebp + 0xc]
call fcn.10100ad0
push esi
push edi
lea eax, [ebx + 0x18]
push 1
push eax
call fcn.101201fe
add esp, 0x20
jmp 0x10100aba
push esi
push edi
push 1
push dword [ebp + 0x14]
call fcn.101201fe
add esp, 0x10
mov ebx, 1
push esi
call fcn.1011d775
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x10100d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test edi, edi
jne 0x10100d42
int3
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov edx, esi
mov ecx, dword [eax]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10100d62
int3
xor ebx, ebx
cmp ecx, esi
je 0x10100d72
add ebx, dword [ecx + 0x10]
add ecx, 0x18
cmp ecx, esi
jne 0x10100d68
test bl, 7
je 0x10100d81
shr ebx, 3
lea ebx, [ebx*8 + 8]
push ebx
call fcn.1011bc79
push ebx
mov esi, eax
push 0
push esi
call fcn.1011a400
mov ecx, dword [ebp - 4]
add esp, 0x10
push ebx
push esi
push dword [ebp + 8]
call fcn.10100e90
push edi
push ebx
push 1
push esi
call fcn.1011db35
push edi
call fcn.1011d89f
push esi
call fcn.1011bc41
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10100dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014ea28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10100e6f
cmp dword [ebx + 0x68], 0x10
lea edi, [ebx + 0x54]
jb 0x10100e14
mov ecx, dword [edi]
jmp 0x10100e16
mov ecx, edi
push eax
push dword [ebx + 0x64]
push 1
push ecx
call fcn.1011db35
push dword [ebp - 0x2c]
mov esi, eax
call fcn.1011d89f
add esp, 0x14
cmp esi, 8
je 0x10100e6f
push 0x10178415
lea ecx, [ebp - 0x28]
call fcn.10001c30
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push edi
lea eax, [ebx + 0x3c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
push 6
call fcn.10105c50
cmp dword [ebp - 0x14], 0x10
jb 0x10100e6f
push dword [ebp - 0x28]
call fcn.1011a1ea
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 4
Function at 0x10101a80
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x288
mov dword [ebp - 0x38], eax
call fcn.1011bc79
add esp, 4
mov dword [ebp - 0x34], 0x288
mov edi, eax
lea eax, [ebp - 0x34]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10101ae0
push edi
call fcn.1011bc41
push dword [ebp - 0x34]
call fcn.1011bc79
add esp, 8
mov edi, eax
lea eax, [ebp - 0x34]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10101b94
push 8
lea eax, [edi + 0x194]
mov ecx, ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10102950
mov ebx, eax
cmp esi, ebx
je 0x10101b2b
cmp dword [esi + 0x14], 0x10
jb 0x10101b12
push dword [esi]
call fcn.1011a1ea
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push ebx
mov byte [esi], 0
call fcn.10001d80
cmp dword [ebp - 0x1c], 0x10
jb 0x10101b3c
push dword [ebp - 0x30]
call fcn.1011a1ea
add esp, 4
xor eax, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0x18]
push 0xa
push eax
lea eax, [edi + 0x1b0]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call fcn.101255bb
mov edx, eax
add esp, 0xc
cmp byte [edx], 0
jne 0x10101b7c
xor ecx, ecx
jmp 0x10101b8a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10101b81
sub ecx, esi
push ecx
mov ecx, dword [ebp - 0x38]
push edx
call fcn.10002130
test edi, edi
je 0x10101ba1
push edi
call fcn.1011bc41
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 8
Function at 0x10101f30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014eb6b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x238], eax
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x10101f79
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [ebp - 0x113]
push 0x103
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.1011a400
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x114], 0
jne 0x10101fbd
xor al, al
jmp 0x10102169
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
lea edx, [ecx + 1]
mov byte [ebp - 0x230], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10101fe1
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.10002130
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
cmp byte [edx], 0
jne 0x1010201c
xor ecx, ecx
jmp 0x1010202a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10102021
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.10002130
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x23c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x1010214e
push esi
call fcn.101160b2
add esp, 4
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
mov ebx, eax
mov dword [ebp - 0x244], ebx
cmovae ecx, dword [ebp - 0x230]
push ebx
push esi
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10102145
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x234]
push eax
push 0x10167594
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10102145
mov eax, dword [ebp - 0x234]
push 0x103
push 0
movzx ecx, word [eax + 0xa]
movzx ebx, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx esi, word [eax + 0xc]
lea eax, [ebp - 0x217]
push eax
mov dword [ebp - 0x240], ecx
mov byte [ebp - 0x218], 0
call fcn.1011a400
mov eax, dword [ebp - 0x240]
push esi
push edi
push ebx
movzx eax, ax
push eax
push 0x10167598
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10125326
mov ecx, dword [ebp - 0x238]
lea eax, [ebp - 0x218]
add esp, 0x28
push eax
call fcn.10018730
push dword [ebp - 0x244]
call fcn.1011bfcc
add esp, 4
mov bl, 1
jmp 0x10102150
push ebx
call fcn.1011bfcc
add esp, 4
xor bl, bl
cmp dword [ebp - 0x21c], 0x10
jb 0x10102167
push dword [ebp - 0x230]
call fcn.1011a1ea
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret
Function at 0x10103260
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014ed3b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x434], 4
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x42c], 0
push eax
push str.servicealive
push str.Softwareliebao
push closesocket
mov dword [ebp - 0x430], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0
call fcn.1011cfc5
add esp, 4
test edx, edx
jl 0x10103434
jg 0x101032f9
cmp eax, dword [ebp - 0x42c]
jb 0x10103434
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
push 0x3ff
lea eax, [ebp - 0x40f]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 0x410], 0
call fcn.1011a400
add esp, 0xc
call fcn.10101bc0
push 0x400
mov esi, eax
mov ecx, ebx
lea eax, [ebp - 0x410]
push eax
push 0
mov edi, dword [esi]
push 1
push 2
call fcn.10001d70
push eax
push 0
push 0x3d
mov ecx, esi
call dword [edi + 0xc]
cmp byte [ebp - 0x410], 0
jne 0x10103371
xor ecx, ecx
jmp 0x10103389
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10103380
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.10002130
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
push str.time
cmovae eax, dword [ebp - 0x428]
push eax
call fcn.10120f90
add esp, 8
test eax, eax
je 0x1010341d
add eax, 5
push eax
call fcn.1011fe14
push 0
mov edi, eax
call fcn.1011cfc5
mov esi, eax
add esp, 8
mov eax, 0xc22e4507
imul edi
push 4
add edx, edi
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
imul eax, eax, 0x15180
sub eax, edi
add esi, eax
lea eax, [ebp - 0x42c]
push eax
push 4
push str.servicealive
push str.Softwareliebao
push closesocket
mov dword [ebp - 0x42c], esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 0x414], 0x10
jb 0x10103434
push dword [ebp - 0x428]
call fcn.1011a1ea
add esp, 4
push 0
call fcn.1011cfc5
mov ecx, dword [ebp - 0x42c]
add esp, 4
sub ecx, eax
mov dword [ebp - 0x434], edx
imul eax, ecx, 0x3e8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 4
Function at 0x101038a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x1018d0d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov byte [ebp - 0x805], 0
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x81c], ecx
lea esi, [eax + 0xb4]
mov ecx, dword [ebp + 0x18]
push edi
or edi, 0xffffffff
mov dword [ebp - 0x814], ecx
cmp dword [esi + 0x14], 0x10
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x820], ecx
mov dword [ebp - 0x80c], edi
jb 0x10103900
mov esi, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call ebx
push eax
push esi
push str._s_send__x.gz
lea eax, [ebp - 0x804]
push 0x7ff
push eax
call fcn.10125326
add esp, 0x14
test eax, eax
js 0x10103a0a
lea eax, [ebp - 0x804]
push 0x10167954
push eax
call fcn.101407e9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10103a04
push dword [ebp + 0x10]
push dword [ebp - 0x81c]
push ebx
call fcn.101403d6
push ebx
mov esi, eax
call fcn.101406e7
add esp, 0x10
test esi, esi
je 0x101039ea
push dword [ebp - 0x814]
mov ebx, dword [ebp - 0x818]
lea eax, [ebp - 0x80c]
push dword [ebp + 0x14]
push eax
push dword [ebp - 0x820]
lea eax, [ebp - 0x804]
push eax
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [ebx], ax
jne 0x101039af
xor ecx, ecx
jmp 0x101039c3
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101039b4
sub ecx, esi
sar ecx, 1
push ecx
push ebx
mov ecx, edx
call fcn.1000c2b0
mov eax, dword [ebp - 0x810]
add eax, 0x12c
push eax
call fcn.10105f80
mov edi, dword [ebp - 0x80c]
mov byte [ebp - 0x805], 1
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [ebp - 0x805], 0
jne 0x10103adc
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, dword [ebp - 0x810]
cmp dword [eax + 0xdc], 0
je 0x10103adc
cmp dword [eax + 0xe0], 0x10
lea esi, [eax + 0xcc]
jb 0x10103a2e
mov esi, dword [esi]
call ebx
push eax
push esi
push str._s_send__x.gz
lea eax, [ebp - 0x804]
push 0x7ff
push eax
call fcn.10125326
add esp, 0x14
test eax, eax
js 0x10103adc
lea eax, [ebp - 0x804]
push 0x10167954
push eax
call fcn.101407e9
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10103adc
push dword [ebp + 0x10]
push dword [ebp - 0x81c]
push ebx
call fcn.101403d6
push ebx
mov esi, eax
call fcn.101406e7
add esp, 0x10
test esi, esi
je 0x10103acf
push dword [ebp - 0x814]
lea eax, [ebp - 0x80c]
push dword [ebp + 0x14]
push eax
push dword [ebp - 0x820]
lea eax, [ebp - 0x804]
push eax
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x818]
call fcn.1000b9e0
mov eax, dword [ebp - 0x810]
add eax, 0x12c
push eax
call fcn.10105f80
mov edi, dword [ebp - 0x80c]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 0x18