joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429d9d
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.0065ab80
add esp, 0xc
cmp byte [esi], 5
jb 0x429de7
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 0x429e0f
push str.GetProductInfo
push 0x6c0ff0
call fcn.00463d8e
test eax, eax
je 0x429e0f
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 0x42ad80
Capabilities:
Create directory

Disassembly:
mov eax, 0x69bbda
call fcn.00640244
sub esp, 0x38
cmp dword [ebp + 8], 0
je 0x42ae61
mov eax, dword [ebp + 0xc]
or eax, dword [ebp + 0x10]
je 0x42ae61
push ebx
push edi
lea eax, [ebp - 0x14]
mov ecx, 0x7b1a24
push eax
call fcn.0042a5be
mov edi, dword [ebp - 0x14]
add edi, 0x34
setne byte [ebp - 0xd]
test edi, edi
je 0x42adc6
call fcn.00478821
push 0x6c1cd4
lea eax, [ebp - 0x44]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0047354f
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 1
jae 0x42ade9
lea eax, [ebp - 0x44]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push eax
call fcn.00473603
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
jae 0x42ae0d
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.004636dd
lea eax, [ebp + 0x14]
mov ecx, 0x7b1a24
push eax
call fcn.0042a5be
mov ecx, dword [ebp + 0x14]
call fcn.0048957a
push 1
push dword [ebp + 8]
call fcn.004600c9
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004281f2
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004281f2
test edi, edi
mov dword [ebp - 4], 3
pop edi
pop ebx
je 0x42ae61
call fcn.00478862
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42b2d5
Capabilities:
Get common file path

Disassembly:
mov eax, 0x69bc4a
call fcn.00640244
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.00438c5c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42b316
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 0x42b347
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.004281f2
mov eax, esi
jmp 0x42b409
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x42b353
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42b356
sub ecx, edx
sar ecx, 1
push ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043fb65
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42b387
push esi
call fcn.00428460
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004282ce
push 0x6c2294
lea ecx, [ebp - 0x40]
call fcn.00429973
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.00427b8e
lea eax, [ebp - 0x58]
push eax
call fcn.00460380
push eax
lea ecx, [ebp - 0x28]
call fcn.00427c6d
push 0
push ebx
lea ecx, [ebp - 0x58]
call fcn.004281f2
push 0
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004281f2
mov esi, str..lnk
push esi
call fcn.00428460
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004282ce
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00427b6c
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.004281f2
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 0x42cebc
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x69c060
call fcn.00640244
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 0x42d036
push edi
lea eax, [ebp - 0x10]
mov edi, 0x6c9290
push eax
push 0x6c9260
push 1
push 0
push edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42cf0d
cmp dword [ebp - 0x10], 0
jne 0x42cf35
lea eax, [ebp - 0x10]
xor bl, bl
push eax
push 0x6c9250
push 1
push 0
push edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42d035
cmp dword [ebp - 0x10], 0
je 0x42d035
and dword [ebp - 0x14], 0
push dword [ebp + 8]
test bl, bl
je 0x42cf8b
lea ecx, [ebp - 0x48]
call fcn.00429973
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.0044087b
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x42cf64
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.004281f2
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004281f2
jmp 0x42cfbc
lea eax, [ebp - 0x48]
push eax
call fcn.0047dece
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x42cfa2
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.0040f52f
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x6c0e38
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x42d02c
cmp dword [ebp - 0x14], 0
je 0x42d02c
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.00429973
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
call fcn.0044087b
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 5
jb 0x42cffe
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.004281f2
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004281f2
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 0x42d0a4
Capabilities:
Delete file

Disassembly:
mov eax, 0x69c082
call fcn.00640244
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 0x42d26e
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x10]
push edi
push eax
push 0x6c9260
push 1
push 0
mov edi, 0x6c9290
push edi
call esi
test eax, eax
js 0x42d0fe
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x42d123
lea eax, [ebp - 0x10]
xor bh, bh
push eax
push 0x6c9250
push 1
push 0
push edi
call esi
test eax, eax
js 0x42d26c
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42d26c
lea edx, [ebp - 0x14]
xor edi, edi
push edx
mov dword [ebp - 0x14], edi
mov eax, dword [ecx]
push 0x6c0e38
push ecx
call dword [eax]
test eax, eax
js 0x42d247
cmp dword [ebp - 0x14], edi
je 0x42d247
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00429973
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0044087b
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x42d171
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.004281f2
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004281f2
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x42d247
mov eax, dword [ebp - 0x10]
push 4
mov ecx, dword [eax]
test bh, bh
je 0x42d1ed
lea edx, [ebp - 0x5a4]
push edx
push 0x104
lea edx, [ebp - 0x354]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x42d1e9
push dword [ebp + 8]
lea eax, [ebp - 0x354]
push eax
call fcn.00665a8e
pop ecx
pop ecx
test eax, eax
jne 0x42d1e9
mov bl, 1
jmp 0x42d247
xor bl, bl
jmp 0x42d247
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.0047dfcb
test esi, esi
js 0x42d239
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42d226
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push eax
call fcn.00665a8e
pop ecx
pop ecx
test eax, eax
jne 0x42d239
mov bl, 1
jmp 0x42d23b
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004281f2
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test bl, bl
je 0x42d26c
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 0x42df00
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x69c18b
call fcn.00640244
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 0x42df2f
mov eax, dword [esi]
jmp 0x42df31
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 0x42df72
push 0x6c11e8
lea ecx, [ebp - 0x2c]
call fcn.00429973
xor edi, edi
inc edi
mov dword [ebp - 4], edi
jmp 0x42dfcf
push ebx
push 0x26
lea eax, [ebp - 0x24c]
push eax
push ebx
call edi
test eax, eax
je 0x42e00a
call fcn.005802b9
test al, al
je 0x42dfa1
cmp dword [0x7aafd8], 0x80000000
mov eax, 0x42f596
jb 0x42dfa6
mov eax, 0x42f591
push 0xc0000000
lea ecx, [ebp - 0x24c]
push ecx
call eax
test al, al
je 0x42e00a
push 0x6c11e8
lea ecx, [ebp - 0x2c]
call fcn.00429973
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.00429973
lea eax, [ebp - 0x44]
push eax
call fcn.00460380
push eax
mov ecx, esi
call fcn.00427c6d
push ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.004281f2
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004281f2
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 0x42ef44
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 0x42efae
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42ef60
sub ecx, edx
sar ecx, 1
push 0x5c
pop edi
lea eax, [ecx + ecx]
lea ecx, [eax + esi]
je 0x42ef93
cmp word [ecx - 2], di
jne 0x42ef93
add ecx, 0xfffffffe
xor edx, edx
mov word [ecx], dx
jmp 0x42ef93
cmp word [ecx - 2], di
je 0x42ef97
add ecx, 0xfffffffe
cmp ecx, esi
jne 0x42ef8a
sub eax, ecx
add eax, 2
add eax, esi
and eax, 0xfffffffe
push eax
push ecx
push esi
call fcn.00658170
add esp, 0xc
jmp 0x42efc4
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 0x42efb5
pop edi
pop esi
ret 4
Function at 0x430b18
Capabilities:
Create directory

Disassembly:
mov eax, 0x69c4e3
call fcn.00640244
sub esp, 0x3c
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.0048465d
mov eax, dword [ebp - 0x30]
xor ebx, ebx
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 4], ebx
jae 0x430b42
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.00427b8e
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov esi, 0x7b1a24
push eax
mov ecx, esi
call fcn.0042a5be
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0048983a
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0042a5be
mov ecx, dword [ebp - 0x14]
call fcn.0048957a
push 0xc4
call fcn.0063ffa4
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x430bac
mov ecx, eax
call fcn.004666da
jmp 0x430bae
mov eax, ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x10], eax
test eax, eax
je 0x430bc1
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.0042a5be
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edi, str.http:__apps.bittorrent.com_utorrent_onboarding_player.btapp
push edi
push eax
call fcn.0048a495
mov esi, dword [eax]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x430bfb
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
jne 0x430c30
push edi
lea ecx, [ebp - 0x48]
call fcn.0040eeff
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
push 1
push ebx
push 0x432bc0
lea eax, [ebp - 0x48]
push eax
call fcn.005a0e50
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040f52f
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x430c41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4314f2
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x69c5e6
call fcn.00640244
sub esp, 0x7c
push ebx
push esi
push str.netsh.exe
lea ecx, [ebp - 0x58]
call fcn.00429973
lea eax, [ebp - 0x58]
xor ebx, ebx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.00432a3e
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004281f2
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 0x431555
mov ecx, 0x6c6720
cmp byte [0x7aafd8], 6
jb 0x431603
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.004654e1
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x431590
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x43159c
lea ecx, [ebp - 0x40]
push 1
push ebx
push 1
lea edx, [ebp - 0x58]
push edx
push eax
push ecx
call fcn.004340ab
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
mov bl, al
call fcn.004281f2
test bl, bl
je 0x4315df
mov esi, 0x6c676c
push esi
call fcn.00428460
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00438cfb
xor ebx, ebx
mov dword [ebp - 0x10], ebx
jmp 0x4315fe
mov esi, str.Unknown_error.
push esi
call fcn.00428460
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00438cfb
mov dword [ebp - 0x10], 1
xor ebx, ebx
lea ecx, [ebp - 0x58]
jmp 0x43165a
push ecx
lea eax, [ebp - 0x88]
push str.netsh.exe_interface_ipv6_set_teredo__s
push eax
call fcn.004654e1
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x431624
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x431630
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x10]
push edx
push ebx
push eax
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.004368e2
push eax
lea ecx, [ebp - 0x28]
call fcn.00427c6d
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004281f2
lea ecx, [ebp - 0x88]
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.004281f2
cmp dword [ebp - 0x18], 0
je 0x431676
cmp dword [ebp - 0x10], 0
jne 0x431676
mov bl, 1
jmp 0x43168f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x431682
lea eax, [ebp - 0x28]
push eax
push str.Could_not_setup_teredo__result_was:___s_
call fcn.0047cc80
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004281f2
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004281f2
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 0x43233f
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 0x4323b9
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 0x43238a
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x4323b9
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0047e15a
test al, al
je 0x4323b9
mov al, 1
jmp 0x4323bb
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4323c1
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6a16fc
call fcn.00640244
sub esp, 0x440
lea eax, [ebp - 0x44c]
push ebx
push esi
push edi
push 0x208
push eax
push 0x6c11e8
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.004867b7
test al, al
je 0x4324ac
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
je 0x4324aa
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 0x43244e
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.004654e1
add esp, 0x38
jmp 0x432463
mov esi, eax
lea eax, [ebp - 0x3c]
push str.__s_
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004654e1
add esp, 0x20
push eax
lea ecx, [ebp - 0x24]
call fcn.00427c6d
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004281f2
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x432483
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.00665a8e
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x24]
neg ebx
push 0
sbb bl, bl
push 1
inc bl
call fcn.004281f2
mov al, bl
jmp 0x4324ac
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 0x43290f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x69c654
call fcn.00640244
sub esp, 0x258
push edi
lea ecx, [ebp - 0x10]
call fcn.00486068
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.00486326
test al, al
je 0x432a25
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push str.StatsTesting
lea ecx, [ebp - 0x10]
call fcn.00486385
cmp dword [ebp - 0x14], edi
je 0x432a25
push edi
push 0x1a
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x432a25
push 0x6c11e8
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2c]
push str._s_stats__s.txt
push eax
call fcn.004654e1
add esp, 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00440856
cmp dword [eax + 0x14], 0x10
jb 0x4329b8
mov eax, dword [eax]
push esi
push 0x6c121c
push eax
call fcn.006678c1
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.0040f52f
test esi, esi
je 0x432a19
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
call fcn.0047dfcb
cmp dword [eax + 0x14], 8
jb 0x4329eb
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.00441082
add esp, 0x14
lea ecx, [ebp - 0x5c]
push edi
push 1
call fcn.004281f2
push esi
call fcn.00667313
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004281f2
pop esi
lea ecx, [ebp - 0x10]
call fcn.0048606e
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x432a3e
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.00429973
push dword [ebp + 8]
call fcn.00460380
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4368e2
Capabilities:
Create pipe
Read file on windows
Read pipe

Disassembly:
mov eax, 0x69c9ef
call fcn.00640244
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x2c], 0xc
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp - 0x10]
push 2
push ebx
push ebx
push eax
call esi
push eax
push dword [ebp - 0x18]
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0059fe60
mov esi, dword [ebp + 8]
mov cl, al
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x43696f
mov eax, dword [esi]
jmp 0x436971
mov eax, esi
xor edx, edx
mov word [eax], dx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
test cl, cl
je 0x436a62
push edi
push 0x104
call fcn.004600d6
xor ecx, ecx
mov ebx, eax
mov edi, ecx
mov byte [ebp + 0x13], cl
jmp 0x436a05
cmp dword [ebp + 0xc], 0
jne 0x4369c5
cmp byte [ebp + 0x13], 0
jne 0x436a1a
push 0xc8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x436a03
mov byte [ebp + 0x13], 1
jmp 0x436a03
push 0
lea eax, [ebp + 0xc]
push eax
mov eax, 0x103
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4369eb
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x436a01
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
je 0x436a1a
cmp edi, 0x103
je 0x436a1a
mov eax, dword [ebp + 0xc]
add edi, eax
xor ecx, ecx
push ecx
lea eax, [ebp + 0xc]
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
jne 0x43699e
push ebx
lea eax, [ebp - 0x44]
mov byte [edi + ebx], 0
push eax
call fcn.0047dfcb
push eax
mov ecx, esi
call fcn.00427c6d
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004281f2
push 1
push ebx
call fcn.004600c9
cmp dword [ebp + 0x18], 0
pop edi
je 0x436a57
push dword [ebp + 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x436a6c
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x436a6c
or dword [eax], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14