joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x10c2473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x10dc2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x10dc2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x10db10c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10c247a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x42a1a1
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.0065d010
add esp, 0xc
cmp byte [esi], 5
jb 0x42a1eb
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 0x42a213
push str.GetProductInfo
push 0x6c4060
call fcn.0046462c
test eax, eax
je 0x42a213
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 0x42b632
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6a2fd5
call fcn.006426c4
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.00439096
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42b673
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 0x42b6a4
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.004285f6
mov eax, esi
jmp 0x42b766
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x42b6b0
lea ecx, [ebp - 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42b6b3
sub ecx, edx
sar ecx, 1
push ebx
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043ffbd
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42b6e4
push esi
call fcn.00428864
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004286d2
push 0x6c5314
lea ecx, [ebp - 0x40]
call fcn.00429d77
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.00427fbe
lea eax, [ebp - 0x58]
push eax
call fcn.00460bac
push eax
lea ecx, [ebp - 0x28]
call fcn.00428071
push 0
push ebx
lea ecx, [ebp - 0x58]
call fcn.004285f6
push 0
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004285f6
mov esi, str..lnk
push esi
call fcn.00428864
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004286d2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00427f9c
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.004285f6
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 0x42d219
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x69e21c
call fcn.006426c4
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 0x42d393
push edi
lea eax, [ebp - 0x10]
mov edi, 0x6cc340
push eax
push 0x6cc310
push 1
push 0
push edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42d26a
cmp dword [ebp - 0x10], 0
jne 0x42d292
lea eax, [ebp - 0x10]
xor bl, bl
push eax
push 0x6cc300
push 1
push 0
push edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42d392
cmp dword [ebp - 0x10], 0
je 0x42d392
and dword [ebp - 0x14], 0
push dword [ebp + 8]
test bl, bl
je 0x42d2e8
lea ecx, [ebp - 0x48]
call fcn.00429d77
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
call fcn.00440cce
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x42d2c1
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.004285f6
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004285f6
jmp 0x42d319
lea eax, [ebp - 0x48]
push eax
call fcn.0047e83e
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x42d2ff
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.0040f95f
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x6c3ea8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x42d389
cmp dword [ebp - 0x14], 0
je 0x42d389
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.00429d77
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 4
push eax
call fcn.00440cce
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 5
jb 0x42d35b
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.004285f6
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004285f6
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 0x42d401
Capabilities:
Delete file

Disassembly:
mov eax, 0x69e23e
call fcn.006426c4
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 0x42d5cb
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x10]
push edi
push eax
push 0x6cc310
push 1
push 0
mov edi, 0x6cc340
push edi
call esi
test eax, eax
js 0x42d45b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x42d480
lea eax, [ebp - 0x10]
xor bh, bh
push eax
push 0x6cc300
push 1
push 0
push edi
call esi
test eax, eax
js 0x42d5c9
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x42d5c9
lea edx, [ebp - 0x14]
xor edi, edi
push edx
mov dword [ebp - 0x14], edi
mov eax, dword [ecx]
push 0x6c3ea8
push ecx
call dword [eax]
test eax, eax
js 0x42d5a4
cmp dword [ebp - 0x14], edi
je 0x42d5a4
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.00429d77
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00440cce
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 2
jb 0x42d4ce
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.004285f6
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004285f6
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
js 0x42d5a4
mov eax, dword [ebp - 0x10]
push 4
mov ecx, dword [eax]
test bh, bh
je 0x42d54a
lea edx, [ebp - 0x5a4]
push edx
push 0x104
lea edx, [ebp - 0x354]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x42d546
push dword [ebp + 8]
lea eax, [ebp - 0x354]
push eax
call fcn.00667f5f
pop ecx
pop ecx
test eax, eax
jne 0x42d546
mov bl, 1
jmp 0x42d5a4
xor bl, bl
jmp 0x42d5a4
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.0047e93b
test esi, esi
js 0x42d596
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x42d583
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push eax
call fcn.00667f5f
pop ecx
pop ecx
test eax, eax
jne 0x42d596
mov bl, 1
jmp 0x42d598
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004285f6
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test bl, bl
je 0x42d5c9
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 0x42e263
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x69e347
call fcn.006426c4
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 0x42e292
mov eax, dword [esi]
jmp 0x42e294
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 0x42e2d5
push 0x6c4264
lea ecx, [ebp - 0x2c]
call fcn.00429d77
xor edi, edi
inc edi
mov dword [ebp - 4], edi
jmp 0x42e332
push ebx
push 0x26
lea eax, [ebp - 0x24c]
push eax
push ebx
call edi
test eax, eax
je 0x42e36d
call fcn.005817cb
test al, al
je 0x42e304
cmp dword [0x7af1d8], 0x80000000
mov eax, 0x42f8f9
jb 0x42e309
mov eax, 0x42f8f4
push 0xc0000000
lea ecx, [ebp - 0x24c]
push ecx
call eax
test al, al
je 0x42e36d
push 0x6c4264
lea ecx, [ebp - 0x2c]
call fcn.00429d77
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.00429d77
lea eax, [ebp - 0x44]
push eax
call fcn.00460bac
push eax
mov ecx, esi
call fcn.00428071
push ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.004285f6
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004285f6
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 0x42f2a7
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 0x42f311
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x42f2c3
sub ecx, edx
sar ecx, 1
push 0x5c
pop edi
lea eax, [ecx + ecx]
lea ecx, [eax + esi]
je 0x42f2f6
cmp word [ecx - 2], di
jne 0x42f2f6
add ecx, 0xfffffffe
xor edx, edx
mov word [ecx], dx
jmp 0x42f2f6
cmp word [ecx - 2], di
je 0x42f2fa
add ecx, 0xfffffffe
cmp ecx, esi
jne 0x42f2ed
sub eax, ecx
add eax, 2
add eax, esi
and eax, 0xfffffffe
push eax
push ecx
push esi
call fcn.0065a600
add esp, 0xc
jmp 0x42f327
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 0x42f318
pop edi
pop esi
ret 4
Function at 0x430e7b
Capabilities:
Create directory

Disassembly:
mov eax, 0x69e673
call fcn.006426c4
sub esp, 0x3c
push ebx
push esi
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.00484b1b
mov eax, dword [ebp - 0x30]
xor ebx, ebx
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 4], ebx
jae 0x430ea5
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.00427fbe
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov esi, 0x7b5c3c
push eax
mov ecx, esi
call fcn.0042a98d
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00489b2e
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0042a98d
mov ecx, dword [ebp - 0x14]
call fcn.0048986e
push 0xc4
call fcn.00642424
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x430f0f
mov ecx, eax
call fcn.00466f4c
jmp 0x430f11
mov eax, ebx
mov byte [ebp - 4], bl
mov dword [ebp - 0x10], eax
test eax, eax
je 0x430f24
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.0042a98d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov edi, 0x6c8fa4
push edi
push eax
call fcn.0048a760
mov esi, dword [eax]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x430f5e
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
test esi, esi
jne 0x430f93
push edi
lea ecx, [ebp - 0x48]
call fcn.0040f32f
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
push 1
push ebx
push 0x432f26
lea eax, [ebp - 0x48]
push eax
call fcn.005a2607
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040f95f
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
test eax, eax
je 0x430fa4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004285f6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431855
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x69e788
call fcn.006426c4
sub esp, 0x7c
push ebx
push esi
push str.netsh.exe
lea ecx, [ebp - 0x58]
call fcn.00429d77
lea eax, [ebp - 0x58]
xor ebx, ebx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.00432da4
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004285f6
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 0x4318b8
mov ecx, 0x6c97a0
cmp byte [0x7af1d8], 6
jb 0x431966
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.00465d7f
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x4318f3
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x4318ff
lea ecx, [ebp - 0x40]
push 1
push ebx
push 1
lea edx, [ebp - 0x58]
push edx
push eax
push ecx
call fcn.00434411
push 0
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
mov bl, al
call fcn.004285f6
test bl, bl
je 0x431942
mov esi, 0x6c97ec
push esi
call fcn.00428864
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00439135
xor ebx, ebx
mov dword [ebp - 0x10], ebx
jmp 0x431961
mov esi, str.Unknown_error.
push esi
call fcn.00428864
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00439135
mov dword [ebp - 0x10], 1
xor ebx, ebx
lea ecx, [ebp - 0x58]
jmp 0x4319bd
push ecx
lea eax, [ebp - 0x88]
push str.netsh.exe_interface_ipv6_set_teredo__s
push eax
call fcn.00465d7f
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x431987
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
mov ecx, dword [ebp - 0x40]
jae 0x431993
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x10]
push edx
push ebx
push eax
push ecx
lea eax, [ebp - 0x70]
push eax
call fcn.00436c48
push eax
lea ecx, [ebp - 0x28]
call fcn.00428071
push ebx
push 1
lea ecx, [ebp - 0x70]
call fcn.004285f6
lea ecx, [ebp - 0x88]
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.004285f6
cmp dword [ebp - 0x18], 0
je 0x4319d9
cmp dword [ebp - 0x10], 0
jne 0x4319d9
mov bl, 1
jmp 0x4319f2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4319e5
lea eax, [ebp - 0x28]
push eax
push str.Could_not_setup_teredo__result_was:___s_
call fcn.0047d5f0
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004285f6
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004285f6
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 0x4326a5
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 0x43271f
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 0x4326f0
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x43271f
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0047eaca
test al, al
je 0x43271f
mov al, 1
jmp 0x432721
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x432727
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6b10e9
call fcn.006426c4
sub esp, 0x440
lea eax, [ebp - 0x44c]
push ebx
push esi
push edi
push 0x208
push eax
push 0x6c4264
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.004869ee
test al, al
je 0x432812
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
je 0x432810
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 0x4327b4
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.00465d7f
add esp, 0x38
jmp 0x4327c9
mov esi, eax
lea eax, [ebp - 0x3c]
push str.__s_
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00465d7f
add esp, 0x20
push eax
lea ecx, [ebp - 0x24]
call fcn.00428071
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004285f6
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4327e9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.00667f5f
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x24]
neg ebx
push 0
sbb bl, bl
push 1
inc bl
call fcn.004285f6
mov al, bl
jmp 0x432812
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 0x432c75
Capabilities:
Get common file path

Disassembly:
mov eax, 0x69e808
call fcn.006426c4
sub esp, 0x258
push edi
lea ecx, [ebp - 0x10]
call fcn.0048629f
push 0x20019
push 0x6c4220
xor edi, edi
lea ecx, [ebp - 0x10]
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], edi
call fcn.0048655d
test al, al
je 0x432d8b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push str.StatsTesting
lea ecx, [ebp - 0x10]
call fcn.004865bc
cmp dword [ebp - 0x14], edi
je 0x432d8b
push edi
push 0x1a
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x432d8b
push 0x6c4264
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2c]
push str._s_stats__s.txt
push eax
call fcn.00465d7f
add esp, 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00440ca9
cmp dword [eax + 0x14], 0x10
jb 0x432d1e
mov eax, dword [eax]
push esi
push 0x6c4298
push eax
call fcn.00669d91
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.0040f95f
test esi, esi
je 0x432d7f
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
call fcn.0047e93b
cmp dword [eax + 0x14], 8
jb 0x432d51
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.004414cf
add esp, 0x14
lea ecx, [ebp - 0x5c]
push edi
push 1
call fcn.004285f6
push esi
call fcn.006697e3
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004285f6
pop esi
lea ecx, [ebp - 0x10]
call fcn.004862a5
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x432da4
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.00429d77
push dword [ebp + 8]
call fcn.00460bac
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8