joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ddc0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbf76
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x24c], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0048f1a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x40de53
xor ecx, ecx
jmp 0x40de6f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40de60
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004063e0
push 0x4db7dc
lea edx, [ebp - 0x230]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00410c80
push str.XuanZhi_
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00410c80
add esp, 8
cmp dword [ebp - 0x234], 8
jb 0x40decb
push dword [ebp - 0x248]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x40deff
push dword [ebp - 0x230]
call fcn.00486360
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x40df09
mov eax, dword [esi]
jmp 0x40df0b
mov eax, esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret
Function at 0x40eae0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2064
call fcn.004932a0
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
xor eax, eax
mov edi, edx
push 0x1ffe
push eax
mov word [ebp - 0x200c], ax
mov esi, ecx
lea eax, [ebp - 0x200a]
push eax
call fcn.0048f1a0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40eb23
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x200c]
push 0x1000
push eax
call fcn.0048cb20
push 0x40
lea eax, [ebp - 0x2060]
push 0
push eax
call fcn.0048f1a0
add esp, 0x18
mov dword [ebp - 0x2064], 0x44
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x201c], xmm0
jb 0x40eb65
mov esi, dword [esi]
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2064]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x200c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40ebbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.execute__CreateProcess_return_false__last_error_is__d.
push 0x1de
push str.runExeFile
call fcn.0042c780
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x201c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2018]
call esi
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00486203
mov esp, ebp
pop ebp
ret
Function at 0x40ebf0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc160
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4f84d8]
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 esi, ecx
cmp dword [esi + 0x14], 8
jb 0x40ec27
mov eax, dword [esi]
jmp 0x40ec29
mov eax, esi
push eax
push str.make_dir___s
push 0x3a4
push str.makeDirectory
call fcn.0042c780
add esp, 0x10
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00406a90
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x40ec90
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x40ecba
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408490
lea edx, [ebp - 0x28]
mov ecx, edx
call fcn.0040ee10
jmp 0x40ec90
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x34]
sub ecx, esi
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, 1
jb 0x40ed3b
mov ebx, dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
lea eax, [edi + edi*2]
lea esi, [esi + eax*8]
add esi, 0xffffffe8
push 1
lea eax, [ebp - 0x54]
push eax
call ebx
push 0
push 0
push 1
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x3c], eax
cmp dword [esi + 0x14], 8
jb 0x40ed1d
mov eax, dword [esi]
jmp 0x40ed1f
mov eax, esi
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40edc6
dec edi
sub esi, 0x18
cmp edi, 1
jae 0x40ece7
mov edi, dword [ebp - 0x34]
mov bl, 1
cmp dword [ebp - 0x14], 8
jb 0x40ed51
push dword [ebp - 0x28]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test edi, edi
je 0x40eda8
mov eax, dword [ebp - 0x30]
mov esi, edi
cmp edi, eax
je 0x40ed9f
cmp dword [esi + 0x14], 8
jb 0x40ed85
push dword [esi]
call fcn.00486360
mov eax, dword [ebp - 0x30]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
add esi, 0x18
cmp esi, eax
jne 0x40ed72
push edi
call fcn.00486360
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.00486203
mov esp, ebp
pop ebp
ret
lea esi, [edi + edi*2]
mov edi, dword [ebp - 0x34]
lea esi, [esi - 3]
cmp dword [edi + esi*8 + 0x14], 8
lea esi, [edi + esi*8]
jb 0x40eddb
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.create_directory_failed__dir___s__error___d
push 0x3bd
push str.makeDirectory
call fcn.0042c780
add esp, 0x14
xor bl, bl
jmp 0x40ed40
Function at 0x40f3a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc218
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4f84d8]
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, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x40f3db
mov eax, dword [esi]
jmp 0x40f3dd
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x40f3e5
mov ecx, dword [edi]
push 0
push eax
push ecx
push str.createProcess_filename____s___param____s___show___d
push 0x726
push str.create
call fcn.0042c780
push edi
mov edx, 0x4dbd64
lea ecx, [ebp - 0x40]
call fcn.00410820
push 0x4dbd64
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410c80
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
jb 0x40f439
push dword [ebp - 0x40]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [esi + 0x10], eax
je 0x40f489
push esi
mov edx, 0x4dbd60
lea ecx, [ebp - 0x58]
call fcn.00410820
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040c3a0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x44], 8
jb 0x40f489
push dword [ebp - 0x58]
call fcn.00486360
add esp, 4
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0048f1a0
add esp, 0xc
mov dword [ebp - 0xb0], 0x44
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xac], 0
xor eax, eax
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x80], eax
push ecx
push 0
push 0
push 0x10
push 0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x84], 1
movdqu xmmword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40f528
push str.createProcess_failed___
push 0x739
push str.create
call fcn.0042c780
add esp, 0xc
xor esi, esi
jmp 0x40f534
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x68]
cmp dword [ebp - 0x14], 8
jb 0x40f545
push dword [ebp - 0x28]
call fcn.00486360
add esp, 4
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.00486203
mov esp, ebp
pop ebp
ret
Function at 0x40f8a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc2bc
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0048f1a0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
cmp word [ebp - 0x220], ax
jne 0x40f925
xor ecx, ecx
jmp 0x40f93f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f930
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x440]
call fcn.004063e0
push 0x104
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40fa67
push 0x104
lea eax, [ebp - 0x428]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x40fa67
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x470]
call fcn.004064e0
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x458]
call fcn.0040f6c0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x45c], 8
jb 0x40f9ce
push dword [ebp - 0x470]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x45c], 7
push str.ldlduninst_del.exe
lea edx, [ebp - 0x440]
mov dword [ebp - 0x460], 0
lea ecx, [ebp - 0x488]
mov word [ebp - 0x470], ax
call fcn.00410410
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
lea edx, [ebp - 0x458]
cmovae ecx, dword [ebp - 0x440]
cmp dword [ebp - 0x444], 8
push ecx
cmovae edx, dword [ebp - 0x458]
push ecx
mov ecx, eax
call fcn.0040e750
add esp, 0xc
cmp dword [ebp - 0x474], 8
jb 0x40fa50
push dword [ebp - 0x488]
call fcn.00486360
add esp, 4
cmp dword [ebp - 0x444], 8
jb 0x40fa67
push dword [ebp - 0x458]
call fcn.00486360
add esp, 4
cmp dword [ebp - 0x42c], 8
jb 0x40fa7e
push dword [ebp - 0x440]
call fcn.00486360
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret

Function at 0x40faa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
mov esi, ecx
push 0
push eax
call fcn.0048f1a0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x38], 0x440
mov dword [ebp - 0x30], str.open
jb 0x40fad8
mov eax, dword [esi]
jmp 0x40fada
mov eax, esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40fb11
cmp dword [esi + 0x14], 8
jb 0x40fafa
mov esi, dword [esi]
push 5
push 0
push esi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410fe0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc3ab
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00411200
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x248]
push eax
push 0
mov dword [ebp - 0x248], 0
call esi
test eax, eax
je 0x411039
cmp eax, 0x6f
jne 0x411068
push dword [ebp - 0x248]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp - 0x24c], edi
test edi, edi
je 0x411068
lea eax, [ebp - 0x248]
push eax
push edi
call esi
test eax, eax
je 0x411086
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x1b], eax
mov esi, edi
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
jmp 0x4110a0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x4110bc
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x4111c9
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call fcn.0048f1a0
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x4dbe30
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.0048c888
xor eax, eax
mov dword [ebp - 0x230], 7
add esp, 0x34
mov dword [ebp - 0x234], 0
mov word [ebp - 0x244], ax
cmp word [ebp - 0x22c], ax
je 0x411160
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411151
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x244]
call fcn.004063e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x244]
mov edi, dword [ebx]
push eax
push dword [edi + 4]
push edi
call fcn.00411260
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4111ec
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], edx
cmp dword [ebp - 0x230], 8
jb 0x4111c9
push dword [ebp - 0x244]
call fcn.00486360
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x4110a0
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [ebx + 4], eax
setne al
jmp 0x41106a
push str.list_T__too_long
call fcn.0043a303
int3
Function at 0x411d10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x411e5a
test edx, edx
jle 0x411e5a
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
mov byte [ebp - 0x28], 0
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0040c870
lea ecx, [ebp - 0x94]
call fcn.0040c940
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
call fcn.0040ca10
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x411db8
mov eax, dword [esi]
jmp 0x411dba
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x411e07
cmp ecx, 0x10
jb 0x411dca
mov edx, dword [esi]
jmp 0x411dcc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x411e07
cmp ecx, 0x10
jb 0x411de1
mov ecx, dword [esi]
jmp 0x411de3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00407340
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x411e18
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call 0x4074a0
cmp dword [esi + 0x14], 0x10
jb 0x411e22
mov eax, dword [esi]
jmp 0x411e24
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0048db40
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x411e42
mov esi, dword [esi]
mov byte [esi + 0x20], 0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00486203
mov esp, ebp
pop ebp
ret
Function at 0x411ee0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc505
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4f84d8]
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 esi, ecx
mov dword [ebp - 0x34], esi
lea edx, [esi + 0x78]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040df30
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x411f6f
cmp byte [esi + 0xc8], 0
je 0x411f52
mov al, byte [eax + 0x1c]
test al, al
jne 0x411f6f
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 2
push eax
lea ecx, [esi + 0xc4]
mov dword [ebp - 0x2c], 0
call fcn.004136e0
cmp dword [ebp - 0x14], 8
jb 0x411f80
push dword [ebp - 0x28]
call fcn.00486360
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [esi + 0xc4]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test edx, edx
je 0x411fc2
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x411fc2
mov ecx, dword [edx + 0x28]
test ecx, ecx
je 0x411fba
mov eax, dword [ecx]
push edx
jmp 0x411fc0
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
cmp dword [esi + 0xbc], 8
jb 0x411fd9
push dword [esi + 0xa8]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [esi + 0xbc], 7
mov dword [esi + 0xb8], 0
mov word [esi + 0xa8], ax
cmp dword [esi + 0xa4], 8
jb 0x41200d
push dword [esi + 0x90]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [esi + 0xa4], 7
mov dword [esi + 0xa0], 0
mov word [esi + 0x90], ax
cmp dword [esi + 0x8c], 8
jb 0x41203e
push dword [esi + 0x78]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], 0
mov ecx, esi
mov word [esi + 0x78], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00409e80
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.00486203
mov esp, ebp
pop ebp
ret
Function at 0x4132c0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc750
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 0x78]
lea ecx, [ebp - 0x40]
call fcn.0040e060
push 0xd
push str.fyservice.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00410ba0
push 0xb
xor eax, eax
mov dword [ebp - 0x14], 7
push str.__uninstall
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004063e0
push 0xbb8
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040f570
add esp, 8
cmp dword [ebp - 0x14], 8
jb 0x413355
push dword [ebp - 0x28]
call fcn.00486360
add esp, 4
lea eax, [ebp - 0x44]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x413384
push str.LDNews
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2c], 8
jb 0x413395
push dword [ebp - 0x40]
call fcn.00486360
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret
Function at 0x4134c0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc78b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.0048f1a0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
cmp word [ebp - 0x220], ax
jne 0x413548
xor ecx, ecx
jmp 0x413560
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413551
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x238]
call fcn.004063e0
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.00413660
cmp eax, 0xffffffff
je 0x413607
push eax
push 0
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x238]
call fcn.00410b60
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x4135f0
cmp dword [ebp - 0x224], 8
jb 0x4135c7
push dword [ebp - 0x238]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x224], 7
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
call fcn.00406310
cmp dword [ebp - 0x23c], 8
jb 0x413607
push dword [ebp - 0x250]
call fcn.00486360
add esp, 4
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x224], 8
jb 0x413639
push dword [ebp - 0x238]
call fcn.00486360
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret
Function at 0x419b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bd2c3
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4f84d8]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push esi
mov eax, dword [0x4f84d8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov byte [esp + 0x74], al
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
lea ecx, [esp + 0xc]
push 0x2f
push str.Content_Type:_application_x_www_form_urlencoded
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
call fcn.004063e0
push 0
lea eax, [esp + 0x10]
mov byte [esp + 0x94], 1
push eax
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x30]
call fcn.00406d00
mov byte [esp + 0x90], 0
mov bl, al
cmp dword [esp + 0x20], 8
jb 0x419c45
push dword [esp + 0xc]
call fcn.00486360
add esp, 4
test bl, bl
je 0x419c52
lea ecx, [esp + 0x24]
call fcn.00406ea0
lea ecx, [esp + 0x24]
call fcn.0040a210
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00486203
mov esp, ebp
pop ebp
ret