joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427af4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x668c18
call fcn.006313fc
sub esp, 0x84
push ebx
push ebp
push esi
push edi
push 7
xor ebx, ebx
xor eax, eax
pop ecx
mov esi, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], ax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x10]
mov byte [esp + 0x9c], 2
push eax
call fcn.00598eb5
mov eax, dword [esp + 0x14]
mov ebp, ebx
mov ecx, dword [esp + 0x10]
sub eax, ecx
push 0x34
cdq
pop edi
idiv edi
test eax, eax
je 0x427cb7
mov edi, ebx
lea eax, [ecx + 0x18]
add eax, edi
lea ecx, [esp + 0x4c]
push eax
call fcn.00422efb
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x64]
add eax, edi
mov byte [esp + 0x9c], 3
push eax
call fcn.00422efb
mov eax, dword [esp + 0x10]
mov ecx, 0x689954
mov byte [esp + 0x9c], 4
mov ebx, 0x68a814
cmp byte [edi + eax + 0x32], 0
jne 0x427bb2
mov ebx, ecx
cmp byte [edi + eax + 0x30], 0
mov edx, 0x68a818
jne 0x427bc0
mov edx, ecx
test esi, esi
je 0x427bc9
mov ecx, 0x68a81c
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x427bd8
lea eax, [esp + 0x64]
push eax
push ebx
push edx
push ecx
lea eax, [esp + 0x8c]
push 0x68a820
push eax
call fcn.0047224d
add esp, 0x18
push 0xffffffffffffffff
xor ebx, ebx
mov byte [esp + 0xa0], 5
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.00423462
push ebx
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 4
call fcn.0042341c
mov ecx, 0x68a81c
test esi, esi
jne 0x427c2d
mov ecx, 0x689954
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x427c3c
lea eax, [esp + 0x4c]
push eax
push ecx
lea eax, [esp + 0x84]
push 0x68a834
push eax
call fcn.0047224d
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8], 6
call fcn.00423462
push ebx
push 1
lea ecx, [esp + 0x84]
call fcn.0042341c
push ebx
push 1
lea ecx, [esp + 0x6c]
call fcn.0042341c
push ebx
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0xa4], 2
call fcn.0042341c
mov eax, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x10]
sub eax, ecx
push 0x34
pop esi
cdq
add edi, esi
idiv esi
cmp ebp, eax
jae 0x427cb7
mov esi, dword [esp + 0x2c]
jmp 0x427b6c
mov ecx, dword [esp + 0xa8]
lea eax, [esp + 0x1c]
cmp ecx, eax
je 0x427ccf
push 0xffffffffffffffff
push ebx
push eax
call fcn.0042358a
mov ecx, dword [esp + 0xac]
lea eax, [esp + 0x34]
cmp ecx, eax
je 0x427ce7
push 0xffffffffffffffff
push ebx
push eax
call fcn.0042358a
lea ecx, [esp + 0x10]
call fcn.00434991
push ebx
push 1
lea ecx, [esp + 0x3c]
call fcn.0042341c
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.0042341c
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x427ed0
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x668c87
call fcn.006313fc
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 0x42804a
push edi
lea eax, [ebp - 0x10]
mov edi, 0x691d64
push eax
push 0x691d34
push 1
push 0
push edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x427f21
cmp dword [ebp - 0x10], 0
jne 0x427f49
lea eax, [ebp - 0x10]
xor bl, bl
push eax
push 0x691d24
push 1
push 0
push edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x428049
cmp dword [ebp - 0x10], 0
je 0x428049
and dword [ebp - 0x14], 0
push dword [ebp + 8]
test bl, bl
je 0x427f9f
lea ecx, [ebp - 0x48]
call fcn.004249e7
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.0043d0b6
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x427f78
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.0042341c
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0042341c
jmp 0x427fd0
lea eax, [ebp - 0x48]
push eax
call fcn.0047a0e4
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x427fb6
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.0040a0e9
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x68967c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x428040
cmp dword [ebp - 0x14], 0
je 0x428040
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.004249e7
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
call fcn.0043d0b6
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 5
jb 0x428012
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.0042341c
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.0042341c
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 0x4280b8
Capabilities:
Delete file

Disassembly:
mov eax, 0x668ca9
call fcn.006313fc
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 0x428282
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x10]
push edi
push eax
push 0x691d34
push 1
push 0
mov edi, 0x691d64
push edi
call esi
test eax, eax
js 0x428112
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x428137
lea eax, [ebp - 0x10]
xor bh, bh
push eax
push 0x691d24
push 1
push 0
push edi
call esi
test eax, eax
js 0x428280
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x428280
lea edx, [ebp - 0x14]
xor edi, edi
push edx
mov dword [ebp - 0x14], edi
mov eax, dword [ecx]
push 0x68967c
push ecx
call dword [eax]
test eax, eax
js 0x42825b
cmp dword [ebp - 0x14], edi
je 0x42825b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.004249e7
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0043d0b6
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x428185
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.0042341c
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0042341c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x42825b
mov eax, dword [ebp - 0x10]
push 4
mov ecx, dword [eax]
test bh, bh
je 0x428201
lea edx, [ebp - 0x5a4]
push edx
push 0x104
lea edx, [ebp - 0x354]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4281fd
push dword [ebp + 8]
lea eax, [ebp - 0x354]
push eax
call fcn.0063299b
pop ecx
pop ecx
test eax, eax
jne 0x4281fd
mov bl, 1
jmp 0x42825b
xor bl, bl
jmp 0x42825b
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.0047a1e1
test esi, esi
js 0x42824d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42823a
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push eax
call fcn.0063299b
pop ecx
pop ecx
test eax, eax
jne 0x42824d
mov bl, 1
jmp 0x42824f
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042341c
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test bl, bl
je 0x428280
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 0x428b6d
Capabilities:
Check os version
Query environment variable
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x668dbe
call fcn.006313fc
sub esp, 0x4c8
movzx eax, byte [0x75dcc0]
push ebx
push ebp
push esi
push edi
push dword [esp + 0x4ec]
cmp eax, 5
lea eax, [esp + 0x2c]
push str.SoftwareClasses_s
sbb edi, edi
neg edi
push eax
add edi, reloc.WS2_32.dll_accept
call fcn.0047224d
add esp, 0xc
and dword [esp + 0x4e0], 0
xor eax, eax
and dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
mov eax, dword [esp + 0x28]
push 8
pop ebp
mov byte [esp + 0x4e0], 1
cmp dword [esp + 0x3c], ebp
jae 0x428be3
lea eax, [esp + 0x28]
push str.shellopencommand
push eax
lea eax, [esp + 0x48]
push 0x68f938
push eax
call fcn.0047224d
add esp, 0x10
mov esi, eax
mov byte [esp + 0x4e0], 2
cmp dword [esi + 0x14], ebp
jb 0x428c0c
mov esi, dword [esi]
push esi
call fcn.004236bc
pop ecx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00434a57
push 0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x4e8], 1
call fcn.0042341c
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], ebp
jae 0x428c41
lea eax, [esp + 0x10]
mov esi, 0x10e
lea ecx, [esp + 0x2bc]
push esi
push ecx
push 0
push eax
push edi
call fcn.00481e0a
test al, al
je 0x428dbe
push esi
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x2c4]
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
push 0x20
pop eax
push 0x22
pop ecx
lea esi, [esp + 0xa0]
cmp word [esp + 0xa0], cx
jne 0x428c97
mov eax, ecx
lea esi, [esp + 0xa2]
push eax
push esi
call fcn.006328b7
pop ecx
xor ebx, ebx
pop ecx
test eax, eax
je 0x428cae
xor ecx, ecx
lea ebx, [eax + 2]
mov word [eax], cx
push esi
call fcn.0045e93a
test al, al
je 0x428dbe
push ebx
lea ecx, [esp + 0x44]
call fcn.004249e7
push esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x4e4], 3
call fcn.004249e7
lea eax, [esp + 0x40]
mov byte [esp + 0x4e0], 4
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0043d0b6
mov esi, eax
lea eax, [esp + 0x70]
mov byte [esp + 0x4e0], 5
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.0043d0b6
push esi
push eax
mov byte [esp + 0x4e8], 6
call fcn.0042711b
xor esi, esi
lea ecx, [esp + 0x88]
push esi
push 1
mov bl, al
call fcn.0042341c
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.0042341c
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.0042341c
push esi
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x4e8], 1
call fcn.0042341c
test bl, bl
jne 0x428dbe
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebp
jae 0x428d6b
lea eax, [esp + 0x28]
push str.shell
push eax
lea eax, [esp + 0x60]
push 0x68f938
push eax
call fcn.0047224d
add esp, 0x10
lea ecx, [esp + 0x10]
push eax
call fcn.0044dbe6
push 0
push 1
lea ecx, [esp + 0x60]
call fcn.0042341c
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], ebp
jae 0x428da8
lea eax, [esp + 0x10]
push 0x689f9c
push 0
push eax
push edi
call fcn.00481ad9
test al, al
je 0x428dbe
mov bl, 1
jmp 0x428dc0
xor bl, bl
xor esi, esi
lea ecx, [esp + 0x10]
push esi
push 1
call fcn.0042341c
push esi
push 1
lea ecx, [esp + 0x30]
call fcn.0042341c
mov ecx, dword [esp + 0x4d8]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x428ff0
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
mov eax, 0x668dfd
call fcn.006313fc
sub esp, 0x240
push ebx
xor ebx, ebx
xor eax, eax
mov dword [esp + 4], ebx
push ebp
push esi
mov esi, dword [esp + 0x260]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
xor ebp, ebp
mov word [esp + 0x44], ax
inc ebp
mov dword [esp + 0x254], ebx
push ebp
push 0x1a
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], ebp
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42905c
push 0x689bac
lea ecx, [esp + 0x18]
call fcn.004249e7
mov dword [esp + 0x254], ebp
jmp 0x4290bb
push ebx
push 0x26
lea eax, [esp + 0x4c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4290f8
call fcn.00576144
test al, al
je 0x42908d
cmp dword [0x75dcc0], 0x80000000
mov eax, 0x42a9f5
jb 0x429092
mov eax, 0x42a9f0
push 0xc0000000
lea ecx, [esp + 0x48]
push ecx
call eax
test al, al
je 0x4290f8
push 0x689bac
lea ecx, [esp + 0x18]
call fcn.004249e7
mov dword [esp + 0x254], 2
push ebp
lea eax, [esp + 0x18]
push eax
sub esp, 0x18
lea eax, [esp + 0x64]
mov ecx, esp
push eax
call fcn.004249e7
lea eax, [esp + 0x4c]
push eax
call fcn.0045dbfb
push eax
mov ecx, esi
call fcn.0044dbe6
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0042341c
push ebx
push ebp
lea ecx, [esp + 0x1c]
call fcn.0042341c
mov ecx, dword [esp + 0x24c]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x42a186
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 0x42a1f0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42a1a2
sub ecx, edx
sar ecx, 1
push 0x5c
pop edi
lea eax, [ecx + ecx]
lea ecx, [eax + esi]
je 0x42a1d5
cmp word [ecx - 2], di
jne 0x42a1d5
add ecx, 0xfffffffe
xor edx, edx
mov word [ecx], dx
jmp 0x42a1d5
cmp word [ecx - 2], di
je 0x42a1d9
add ecx, 0xfffffffe
cmp ecx, esi
jne 0x42a1cc
sub eax, ecx
add eax, 2
add eax, esi
and eax, 0xfffffffe
push eax
push ecx
push esi
call fcn.00630c90
add esp, 0xc
jmp 0x42a206
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 0x42a1f7
pop edi
pop esi
ret 4
Function at 0x42cc07
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x66926a
call fcn.006313fc
sub esp, 0x7c
push ebx
push esi
push str.netsh.exe
lea ecx, [ebp - 0x58]
call fcn.004249e7
lea eax, [ebp - 0x58]
xor ebx, ebx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.0042e22f
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0042341c
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 0x42cc6a
mov ecx, 0x68f290
cmp byte [0x75dcc0], 6
jb 0x42cd18
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.0047224d
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x42cca5
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x42ccb1
lea ecx, [ebp - 0x40]
push 1
push ebx
push 1
lea edx, [ebp - 0x58]
push edx
push eax
push ecx
call fcn.0042fa11
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
mov bl, al
call fcn.0042341c
test bl, bl
je 0x42ccf4
mov esi, 0x68f2dc
push esi
call fcn.004236bc
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00434a57
xor ebx, ebx
mov dword [ebp - 0x10], ebx
jmp 0x42cd13
mov esi, str.Unknown_error.
push esi
call fcn.004236bc
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00434a57
mov dword [ebp - 0x10], 1
xor ebx, ebx
lea ecx, [ebp - 0x58]
jmp 0x42cd6f
push ecx
lea eax, [ebp - 0x88]
push str.netsh.exe_interface_ipv6_set_teredo__s
push eax
call fcn.0047224d
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x42cd39
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x42cd45
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x10]
push edx
push ebx
push eax
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.004324e0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044dbe6
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.0042341c
lea ecx, [ebp - 0x88]
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.0042341c
cmp dword [ebp - 0x18], 0
je 0x42cd8b
cmp dword [ebp - 0x10], 0
jne 0x42cd8b
mov bl, 1
jmp 0x42cda4
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42cd97
lea eax, [ebp - 0x28]
push eax
push str.Could_not_setup_teredo__result_was:___s_
call fcn.004790ad
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042341c
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0042341c
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 0x42db0e
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 0x42db88
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 0x42db59
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x42db88
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0047a370
test al, al
je 0x42db88
mov al, 1
jmp 0x42db8a
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42db90
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x669311
call fcn.006313fc
sub esp, 0x440
lea eax, [esp + 0x30]
push ebx
push ebp
push esi
push edi
push 0x208
push eax
push 0x689bac
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.00481e0a
test al, al
je 0x42dc8e
mov eax, dword [esp + 0x464]
xor ebp, ebp
cmp dword [eax + 0x10], ebp
je 0x42dc8c
xor ecx, ecx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebp
mov word [esp + 0x10], cx
mov esi, dword [esp + 0x468]
sub esp, 0x18
mov dword [esp + 0x470], ebp
push 6
pop ecx
mov edi, esp
cmp dword [esi + 0x10], ebp
je 0x42dc2c
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov esi, eax
lea eax, [esp + 0x58]
push 6
pop ecx
mov edi, esp
push str.__s___s
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0047224d
add esp, 0x38
jmp 0x42dc42
mov esi, eax
lea eax, [esp + 0x40]
push 0x68fab4
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0047224d
add esp, 0x20
push eax
lea ecx, [esp + 0x14]
call fcn.0044dbe6
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.0042341c
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
jae 0x42dc67
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0063299b
pop ecx
pop ecx
mov ebx, eax
lea ecx, [esp + 0x10]
neg ebx
push ebp
sbb bl, bl
push 1
inc bl
call fcn.0042341c
mov al, bl
jmp 0x42dc8e
mov al, 1
mov ecx, dword [esp + 0x450]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x42e0fc
Capabilities:
Get common file path

Disassembly:
mov eax, 0x66933d
call fcn.006313fc
sub esp, 0x258
push edi
lea ecx, [ebp - 0x10]
call fcn.0053cf71
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.0048199d
test al, al
je 0x42e212
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push str.StatsTesting
lea ecx, [ebp - 0x10]
call fcn.004819fc
cmp dword [ebp - 0x14], edi
je 0x42e212
push edi
push 0x1a
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42e212
push 0x689bac
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2c]
push str._s_stats__s.txt
push eax
call fcn.0047224d
add esp, 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0043d091
cmp dword [eax + 0x14], 0x10
jb 0x42e1a5
mov eax, dword [eax]
push esi
push 0x689be0
push eax
call fcn.00633836
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.0040a0e9
test esi, esi
je 0x42e206
push dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
call fcn.0047a1e1
cmp dword [eax + 0x14], 8
jb 0x42e1d8
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.0063384b
add esp, 0x14
lea ecx, [ebp - 0x44]
push edi
push 1
call fcn.0042341c
push esi
call fcn.006333bd
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042341c
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00481751
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x42e22f
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.004249e7
push dword [ebp + 8]
call fcn.0045dbfb
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x42e584
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x66d348
call fcn.006313fc
sub esp, 0x224
push ebx
push esi
push edi
xor edi, edi
xor eax, eax
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
push esi
mov ebx, str.DisplayVersion
mov dword [ebp - 4], edi
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstalluTorrent
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x10], 1
call fcn.00481d3f
cmp dword [esi + 0x10], edi
jne 0x42e5e4
push esi
push ebx
push str.SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstalluTorrent
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00481d3f
cmp dword [esi + 0x14], 8
jb 0x42e5ee
mov eax, dword [esi]
jmp 0x42e5f0
mov eax, esi
push 0x104
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x230]
push eax
call fcn.004236bc
pop ecx
push eax
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00434a57
cmp dword [esi + 0x14], 8
jb 0x42e629
mov eax, dword [esi]
jmp 0x42e62b
mov eax, esi
push eax
lea eax, [ebp - 0x28]
push str.INSTALLDEBUG:_QueryDisplayVersion._Installed_version:__s_n
push eax
call fcn.0047224d
add esp, 0xc
lea ecx, [ebp - 0x28]
push edi
push 1
call fcn.0042341c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4