joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020d84
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10033040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100181cc
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100181cc
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10020dfb
cmp word [ecx], dx
je 0x10020dfb
mov eax, dword [0x1002c754]
push edi
dec eax
push eax
push 0x1002c640
call fcn.10020d23
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10020e6e
cmp word [eax], dx
je 0x10020e6e
mov eax, dword [edi]
test eax, eax
je 0x10020e1f
cmp word [eax], dx
je 0x10020e1f
lea eax, [ebp - 0x10]
push eax
call fcn.10020706
jmp 0x10020e28
lea eax, [ebp - 0x10]
push eax
call fcn.100207a1
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10020e98
mov eax, dword [0x1002c63c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1002c330
call fcn.10020d23
add esp, 0xc
test al, al
je 0x10020e98
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10020e63
cmp word [eax], di
je 0x10020e63
lea eax, [ebp - 0x10]
push eax
call fcn.10020706
pop ecx
jmp 0x10020e9a
lea eax, [ebp - 0x10]
push eax
call fcn.100207a1
jmp 0x10020e60
mov eax, dword [edi]
test eax, eax
je 0x10020e85
cmp word [eax], dx
je 0x10020e85
lea eax, [ebp - 0x10]
push eax
call fcn.100206bb
pop ecx
jmp 0x10020e98
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10020f63
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10020ba8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10020f63
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10020f63
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10020f63
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10020ef0
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1001a75f
test ebx, ebx
je 0x10020f5e
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1001a75f
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10020f63
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10020f63
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10024901
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10020f65
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000dd45
leave
ret
Function at 0x100265d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100265fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100265fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42543f
Capabilities:
Check os version

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetVersion]
mov dword [esi], eax
lea edi, [esi + 4]
xor eax, eax
lea ebx, [esi + 0x124]
mov ebp, 0x11c
mov byte [esi + 0x120], al
push ebp
push eax
push edi
mov dword [ebx], eax
call fcn.0062e010
add esp, 0xc
cmp byte [esi], 5
jb 0x425489
push edi
mov dword [edi], ebp
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
setne al
mov byte [esi + 0x120], al
cmp byte [esi], 6
jb 0x4254b1
push str.GetProductInfo
push 0x68e74c
call fcn.0045f0a1
test eax, eax
je 0x4254b1
movzx ecx, byte [esi + 1]
push ebx
push 0
push 0
push ecx
movzx ecx, byte [esi]
push ecx
call eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x426926
Capabilities:
Get common file path

Disassembly:
mov eax, 0x673359
call fcn.0062921c
sub esp, 0x4c
push ebx
push esi
push edi
push 7
xor ebx, ebx
xor eax, eax
pop edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
push ebx
push 0x104
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00434021
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x426967
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x426998
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ebx
xor eax, eax
push 1
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], ax
call fcn.0042386b
mov eax, esi
jmp 0x426a5a
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x4269a4
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4269a7
sub ecx, edx
sar ecx, 1
push ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043b1ae
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4269d8
push esi
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00423947
push 0x68fcf4
lea ecx, [ebp - 0x40]
call fcn.00424ff1
xor ebx, ebx
lea eax, [ebp - 0x40]
inc ebx
push ebx
push eax
sub esp, 0x18
mov byte [ebp - 4], bl
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423207
lea eax, [ebp - 0x58]
push eax
call fcn.0045b712
push eax
lea ecx, [ebp - 0x28]
call fcn.004232e6
push 0
push ebx
lea ecx, [ebp - 0x58]
call fcn.0042386b
push 0
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0042386b
mov esi, str..lnk
push esi
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00423947
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.004231e5
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.0042386b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42850d
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x66de4b
call fcn.0062921c
sub esp, 0x3c
and dword [ebp - 0x10], 0
push ebx
push 2
push 0
mov bl, 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
test eax, eax
js 0x428687
push edi
lea eax, [ebp - 0x10]
mov edi, 0x696af0
push eax
push 0x696ac0
push 1
push 0
push edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42855e
cmp dword [ebp - 0x10], 0
jne 0x428586
lea eax, [ebp - 0x10]
xor bl, bl
push eax
push 0x696ab0
push 1
push 0
push edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x428686
cmp dword [ebp - 0x10], 0
je 0x428686
and dword [ebp - 0x14], 0
push dword [ebp + 8]
test bl, bl
je 0x4285dc
lea ecx, [ebp - 0x48]
call fcn.00424ff1
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.0043bed2
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x4285b5
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
push 1
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0042386b
jmp 0x42860d
lea eax, [ebp - 0x48]
push eax
call fcn.004784a4
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x4285f3
mov edx, dword [edx]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
xor ebx, ebx
lea ecx, [ebp - 0x48]
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.0040abbf
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x68e8f0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x42867d
cmp dword [ebp - 0x14], 0
je 0x42867d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.00424ff1
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
call fcn.0043bed2
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 5
jb 0x42864f
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0042386b
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.0042386b
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4286f5
Capabilities:
Delete file

Disassembly:
mov eax, 0x66de6d
call fcn.0062921c
sub esp, 0x598
and dword [ebp - 0x10], 0
push ebx
push 2
push 0
mov bh, 1
xor bl, bl
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
test eax, eax
js 0x4288bf
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x10]
push edi
push eax
push 0x696ac0
push 1
push 0
mov edi, 0x696af0
push edi
call esi
test eax, eax
js 0x42874f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x428774
lea eax, [ebp - 0x10]
xor bh, bh
push eax
push 0x696ab0
push 1
push 0
push edi
call esi
test eax, eax
js 0x4288bd
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4288bd
lea edx, [ebp - 0x14]
xor edi, edi
push edx
mov dword [ebp - 0x14], edi
mov eax, dword [ecx]
push 0x68e8f0
push ecx
call dword [eax]
test eax, eax
js 0x428898
cmp dword [ebp - 0x14], edi
je 0x428898
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00424ff1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0043bed2
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x4287c2
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
push edi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push edi
push 1
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.0042386b
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0042386b
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x428898
mov eax, dword [ebp - 0x10]
push 4
mov ecx, dword [eax]
test bh, bh
je 0x42883e
lea edx, [ebp - 0x5a4]
push edx
push 0x104
lea edx, [ebp - 0x354]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x42883a
push dword [ebp + 8]
lea eax, [ebp - 0x354]
push eax
call fcn.006389aa
pop ecx
pop ecx
test eax, eax
jne 0x42883a
mov bl, 1
jmp 0x428898
xor bl, bl
jmp 0x428898
lea edx, [ebp - 0x28c]
push edx
push 0x104
lea edx, [ebp - 0x14c]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004785a1
test esi, esi
js 0x42888a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x428877
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push eax
call fcn.006389aa
pop ecx
pop ecx
test eax, eax
jne 0x42888a
mov bl, 1
jmp 0x42888c
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042386b
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test bl, bl
je 0x4288bd
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push dword [ebp + 0xc]
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x429551
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x66df76
call fcn.0062921c
sub esp, 0x240
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x429580
mov eax, dword [esi]
jmp 0x429582
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
inc ecx
xor eax, eax
mov dword [ebp - 4], ebx
push ecx
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x24c]
push 0x1a
push eax
push ebx
mov dword [ebp - 0x10], ecx
call edi
test eax, eax
je 0x4295c3
push 0x68ec3c
lea ecx, [ebp - 0x2c]
call fcn.00424ff1
xor edi, edi
inc edi
mov dword [ebp - 4], edi
jmp 0x429620
push ebx
push 0x26
lea eax, [ebp - 0x24c]
push eax
push ebx
call edi
test eax, eax
je 0x42965b
call fcn.0056f585
test al, al
je 0x4295f2
cmp dword [0x76b578], 0x80000000
mov eax, 0x42ab6f
jb 0x4295f7
mov eax, 0x42ab6a
push 0xc0000000
lea ecx, [ebp - 0x24c]
push ecx
call eax
test al, al
je 0x42965b
push 0x68ec3c
lea ecx, [ebp - 0x2c]
call fcn.00424ff1
xor edi, edi
mov dword [ebp - 4], 2
inc edi
push edi
lea eax, [ebp - 0x2c]
push eax
sub esp, 0x18
lea eax, [ebp - 0x24c]
mov ecx, esp
push eax
call fcn.00424ff1
lea eax, [ebp - 0x44]
push eax
call fcn.0045b712
push eax
mov ecx, esi
call fcn.004232e6
push ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.0042386b
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42a51d
Capabilities:
Get common file path
Get program files directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
push edi
push 0x26
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42a587
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42a539
sub ecx, edx
sar ecx, 1
push 0x5c
pop edi
lea eax, [ecx + ecx]
lea ecx, [eax + esi]
je 0x42a56c
cmp word [ecx - 2], di
jne 0x42a56c
add ecx, 0xfffffffe
xor edx, edx
mov word [ecx], dx
jmp 0x42a56c
cmp word [ecx - 2], di
je 0x42a570
add ecx, 0xfffffffe
cmp ecx, esi
jne 0x42a563
sub eax, ecx
add eax, 2
add eax, esi
and eax, 0xfffffffe
push eax
push ecx
push esi
call fcn.0062b600
add esp, 0xc
jmp 0x42a59d
mov ecx, str.Program_Files
sub esi, ecx
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42a58e
pop edi
pop esi
ret 4
Function at 0x42bfd5
Capabilities:
Create directory

Disassembly:
mov eax, 0x66e2b4
call fcn.0062921c
sub esp, 0x3c
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.0047e8bf
mov eax, dword [ebp - 0x30]
xor ebx, ebx
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 4], ebx
jae 0x42bfff
lea eax, [ebp - 0x30]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00423207
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov esi, 0x771bbc
push eax
mov ecx, esi
call fcn.00425c17
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004832bd
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00425c17
mov ecx, dword [ebp - 0x14]
call fcn.00482ffd
push 0xc4
call fcn.006291e1
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x42c069
mov ecx, eax
call fcn.004619ed
jmp 0x42c06b
mov eax, ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x10], eax
test eax, eax
je 0x42c07e
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xb0], 1
mov ecx, esi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
call fcn.00425c17
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edi, 0x693984
push edi
push eax
call fcn.00483f18
mov esi, dword [eax]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x42c0b8
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
jne 0x42c0ed
push edi
lea ecx, [ebp - 0x48]
call fcn.0040a58f
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
push 1
push ebx
push 0x42e10a
lea eax, [ebp - 0x48]
push eax
call fcn.0058ef0f
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040abbf
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x42c0fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c9bc
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x66e3b7
call fcn.0062921c
sub esp, 0x7c
push ebx
push esi
push str.netsh.exe
lea ecx, [ebp - 0x58]
call fcn.00424ff1
lea eax, [ebp - 0x58]
xor ebx, ebx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.0042df88
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0042386b
push 7
pop esi
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
push 0x10
mov byte [ebp - 4], 3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, str.enterpriseclient
test ax, ax
js 0x42ca1f
mov ecx, 0x6940e8
cmp byte [0x76b578], 6
jb 0x42cacd
xor eax, eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], ax
push ecx
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push str.interface_ipv6_set_teredo__s
push eax
call fcn.004607f4
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x42ca5a
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x42ca66
lea ecx, [ebp - 0x40]
push 1
push ebx
push 1
lea edx, [ebp - 0x58]
push edx
push eax
push ecx
call fcn.0042f5bf
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
mov bl, al
call fcn.0042386b
test bl, bl
je 0x42caa9
mov esi, 0x694134
push esi
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004340c0
xor ebx, ebx
mov dword [ebp - 0x10], ebx
jmp 0x42cac8
mov esi, str.Unknown_error.
push esi
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004340c0
mov dword [ebp - 0x10], 1
xor ebx, ebx
lea ecx, [ebp - 0x58]
jmp 0x42cb24
push ecx
lea eax, [ebp - 0x88]
push str.netsh.exe_interface_ipv6_set_teredo__s
push eax
call fcn.004607f4
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x42caee
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x42cafa
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x10]
push edx
push ebx
push eax
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.00431d76
push eax
lea ecx, [ebp - 0x28]
call fcn.004232e6
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.0042386b
lea ecx, [ebp - 0x88]
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.0042386b
cmp dword [ebp - 0x18], 0
je 0x42cb40
cmp dword [ebp - 0x10], 0
jne 0x42cb40
mov bl, 1
jmp 0x42cb59
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42cb4c
lea eax, [ebp - 0x28]
push eax
push str.Could_not_setup_teredo__result_was:___s_
call fcn.00477256
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042386b
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42d889
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 0x410]
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x42d903
push esi
lea eax, [ebp - 0x208]
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea ecx, [ebp - 0x208]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42d8d4
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x42d903
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00478730
test al, al
je 0x42d903
mov al, 1
jmp 0x42d905
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42d90b
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x689336
call fcn.0062921c
sub esp, 0x440
lea eax, [ebp - 0x44c]
push ebx
push esi
push edi
push 0x208
push eax
push 0x68ec3c
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.00480252
test al, al
je 0x42d9f6
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
je 0x42d9f4
xor ecx, ecx
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x24], cx
mov esi, dword [ebp + 0xc]
sub esp, 0x18
mov dword [ebp - 4], ebx
push 6
pop ecx
mov edi, esp
cmp dword [esi + 0x10], ebx
je 0x42d998
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov esi, eax
lea eax, [ebp - 0x3c]
push 6
pop ecx
mov edi, esp
push str.__s___s
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004607f4
add esp, 0x38
jmp 0x42d9ad
mov esi, eax
lea eax, [ebp - 0x3c]
push str.__s_
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004607f4
add esp, 0x20
push eax
lea ecx, [ebp - 0x24]
call fcn.004232e6
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042386b
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x42d9cd
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.006389aa
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x24]
neg ebx
push 0
sbb bl, bl
push 1
inc bl
call fcn.0042386b
mov al, bl
jmp 0x42d9f6
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42de59
Capabilities:
Get common file path

Disassembly:
mov eax, 0x66e451
call fcn.0062921c
sub esp, 0x258
push edi
lea ecx, [ebp - 0x10]
call fcn.0047fb12
push 0x20019
push str.SoftwareBitTorrent
xor edi, edi
lea ecx, [ebp - 0x10]
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], edi
call fcn.0047fdc1
test al, al
je 0x42df6f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push str.StatsTesting
lea ecx, [ebp - 0x10]
call fcn.0047fe20
cmp dword [ebp - 0x14], edi
je 0x42df6f
push edi
push 0x1a
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42df6f
push 0x68ec3c
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2c]
push str._s_stats__s.txt
push eax
call fcn.004607f4
add esp, 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0043bead
cmp dword [eax + 0x14], 0x10
jb 0x42df02
mov eax, dword [eax]
push esi
push 0x68ec70
push eax
call fcn.0063a7e1
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.0040abbf
test esi, esi
je 0x42df63
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
call fcn.004785a1
cmp dword [eax + 0x14], 8
jb 0x42df35
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetCurrentProcessId
push eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push str._u__d__S_n
push esi
call fcn.0043c6d9
add esp, 0x14
lea ecx, [ebp - 0x5c]
push edi
push 1
call fcn.0042386b
push esi
call fcn.0063a233
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042386b
pop esi
lea ecx, [ebp - 0x10]
call fcn.0047fb18
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x42df88
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor ecx, ecx
lea eax, [ebp - 0x20c]
push ecx
push 0x25
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00424ff1
push dword [ebp + 8]
call fcn.0045b712
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8