joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ab20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
jne 0x41ab4b
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret
push esi
push 0x22c
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.005619c0
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41ab85
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41abca
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0056f8c3
add esp, 8
test eax, eax
je 0x41abe4
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x41aba8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop ebx
pop esi
pop edi
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret
Function at 0x41ac10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590c48
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x5f1414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
push str.Unknow
mov dword [ebp - 0x10], 0
call fcn.00416170
mov dword [ebp - 4], 0
cmp dword [0x5fd14c], 0
mov dword [ebp - 0x10], 1
jne 0x41acad
push 0x28
call fcn.004fb501
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0041d840
push 0
mov edi, eax
mov byte [ebp - 4], 0
push edi
push 0x5fd14c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x41acad
test edi, edi
je 0x41acad
push 0x28
push edi
call fcn.004fb534
add esp, 8
mov eax, dword [0x5fd14c]
mov eax, dword [eax]
dec eax
cmp eax, 6
ja case.default.0x41acba
jmp dword [eax*4 + 0x41ada0]
push str.window_xp
jmp 0x41acf0
push str.window_2003
jmp 0x41acf0
push str.window_vista
jmp 0x41acf0
push str.window_server_2008
jmp 0x41acf0
push str.window_7
jmp 0x41acf0
push str.window_8
jmp 0x41acf0
push str.window_10
mov ecx, esi
call fcn.00416230
push 0x5dbb40
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test eax, eax
je 0x41ad20
lea ecx, [ebp - 0x3c]
push ecx
call eax
jmp 0x41ad26
lea eax, [ebp - 0x3c]
push eax
call edi
mov ax, word [ebp - 0x3c]
cmp ax, 9
je 0x41ad44
cmp ax, 6
je 0x41ad44
push 3
push 0x5dbc78
mov ecx, esi
call fcn.0041adc0
push 0x5dbb40
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41ad67
lea ecx, [ebp - 0x60]
push ecx
call eax
jmp 0x41ad6d
lea eax, [ebp - 0x60]
push eax
call edi
mov ax, word [ebp - 0x60]
cmp ax, 9
je 0x41ad7d
cmp ax, 6
jne 0x41ad8b
push 3
push 0x5dbc80
mov ecx, esi
call fcn.0041adc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5f1414]
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 ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41b80c
cmp byte [ebx + 0x3d], 0
je 0x41b80c
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x41b6c9
xor al, al
jmp 0x41b80e
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0041ba30
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41b736
sub eax, 1
je 0x41b73a
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x41b7f4
xor bl, bl
jmp 0x41b7f6
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x41b76f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00571495
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x41b72f
cmp byte [ebx + 0x3d], 0
je 0x41b7f4
test esi, esi
jne 0x41b6f1
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
sub eax, edx
cmp eax, 8
jbe 0x41b7ea
lea esi, [edx + 8]
cmp esi, 0xfffffffe
ja 0x41b7ea
cmp ecx, esi
jae 0x41b7d1
push edx
push esi
lea ecx, [ebp - 0x28]
call fcn.00412010
mov ecx, dword [ebp - 0x14]
test esi, esi
je 0x41b6f1
push 0
push 8
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
call fcn.0041bb00
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x28]
mov byte [eax + esi], 0
jmp 0x41b6ee
test esi, esi
jne 0x41b7ab
cmp ecx, 0x10
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
jmp 0x41b6ee
push str.string_too_long
call fcn.004f81ea
mov bl, 1
cmp ecx, 0x10
jb 0x41b808
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040f770
mov al, bl
jmp 0x41b80e
mov al, 1
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.004fb4f0
mov esp, ebp
pop ebp
ret
Function at 0x41c0e0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x800
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x808], esi
call fcn.005619c0
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c150
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x804], ax
jne 0x41c170
xor ecx, ecx
jmp 0x41c18f
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c180
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00410890
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.005619c0
add esp, 0xc
mov dword [ebp - 0x210], 0
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x41c224
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
xor eax, eax
cmp dword [ebp - 0x210], eax
push 0
setne al
lea eax, [eax*4 + 0x26]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
test eax, eax
jne 0x41c27d
mov word [esi], ax
cmp word [ebp - 0x20c], ax
je 0x41c28b
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c270
jmp 0x41c2ab
xor eax, eax
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x41c28f
xor ecx, ecx
jmp 0x41c2af
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c2a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00410890
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret
Function at 0x41c6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov ebx, ecx
call fcn.0041c620
push 0
mov ecx, ebx
call fcn.0041c7e0
push 1
mov ecx, ebx
call fcn.0041c7e0
mov ecx, ebx
call fcn.0041ca40
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.005619c0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x214]
add esp, 0xc
push 0
push 0xb
push eax
push 0
call esi
test eax, eax
je 0x41c737
lea eax, [ebp - 0x214]
mov ecx, ebx
push eax
call fcn.0041ce10
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.005619c0
add esp, 0xc
lea eax, [ebp - 0x214]
push 0
push 0x17
push eax
push 0
call esi
lea eax, [ebp - 0x214]
mov ecx, ebx
push eax
call fcn.0041ce10
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.005619c0
add esp, 0xc
lea eax, [ebp - 0x214]
push 0
push 0x1a
push eax
push 0
call esi
test eax, eax
je 0x41c7c6
lea edi, [ebp - 0x214]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41c7a0
mov ecx, 0x15
lea eax, [ebp - 0x214]
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
call fcn.0041ce10
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret 4
Function at 0x41c7e0
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590d51
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.005619c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x208
push 0
push eax
call fcn.005619c0
add esp, 0xc
mov dword [ebp - 0x458], 7
xor eax, eax
mov dword [ebp - 0x45c], 0
lea ecx, [ebp - 0x46c]
mov word [ebp - 0x46c], ax
push eax
push 0x5db124
call fcn.00410890
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x5db124
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x440], 7
mov dword [ebp - 0x444], 0
mov word [ebp - 0x454], ax
call fcn.00410890
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x5db124
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], 7
mov dword [ebp - 0x42c], 0
mov word [ebp - 0x43c], ax
call fcn.00410890
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 2
push 0
je 0x41c8e6
push 0x17
jmp 0x41c8e8
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41c982
cmp dword [esi + 0x5c], 8
lea eax, [esi + 0x48]
jb 0x41c904
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x21c]
push 0x5dbd9c
push eax
call fcn.0040e750
sub esp, 8
xor eax, eax
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [ebp - 0x21c], ax
jne 0x41c942
xor ecx, ecx
jmp 0x41c95f
lea ecx, [ebp - 0x21c]
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c950
sub ecx, edi
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, edx
push eax
call fcn.00410890
mov ecx, esi
call fcn.0041cad0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x428]
cmp eax, 8
jb 0x41c9a0
inc eax
lea ecx, [ebp - 0x43c]
push eax
push dword [ebp - 0x43c]
call fcn.00411000
xor eax, eax
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x42c], 0
cmp eax, 8
jb 0x41c9db
inc eax
lea ecx, [ebp - 0x454]
push eax
push dword [ebp - 0x454]
call fcn.00411000
xor eax, eax
mov dword [ebp - 0x440], 7
mov word [ebp - 0x454], ax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x444], 0
cmp eax, 8
jb 0x41ca16
inc eax
lea ecx, [ebp - 0x46c]
push eax
push dword [ebp - 0x46c]
call fcn.00411000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret 4
Function at 0x41ca40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.005619c0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41ca91
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.0041ce10
push 0
push 0x19
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41cab6
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.0041ce10
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret
Function at 0x41ce10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [edx], ax
jne 0x41ce5c
xor ecx, ecx
jmp 0x41ce70
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ce61
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00410890
push 1
push 0x5db4cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0040f640
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f8a0
push 4
push str..lnk
lea ecx, [ebp - 0x2c]
call fcn.0040f640
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x30], 7
cmovae edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
cmp word [edx], ax
jne 0x41ced7
xor ecx, ecx
jmp 0x41ceef
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cee0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00410890
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41cf20
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.0041cf70
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x41cf35
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00411000
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x41cf4a
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00411000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret 4
Function at 0x41cf70
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.005619c0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push edi
call ebx
test eax, eax
jne 0x41d073
push edi
lea eax, [ebp - 0x20c]
push 0x5daf68
push eax
call fcn.0040e750
lea eax, [ebp - 0x20c]
push 0x5dbb30
push eax
call fcn.00560d69
add esp, 0x14
test eax, eax
je 0x41cff6
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret 4
push esi
xor esi, esi
nop dword [eax]
lea eax, [ebp - 0x20c]
test esi, esi
jne 0x41d01b
push edi
push str._s.remove
push eax
call fcn.0040e750
add esp, 0xc
jmp 0x41d02b
push esi
push edi
push str._s.remove_d
push eax
call fcn.0040e750
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d051
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x41d051
cmp esi, 0xa
jg 0x41d072
inc esi
jmp 0x41d000
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0056f896
add esp, 8
lea eax, [ebp - 0x20c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret 4
Function at 0x41d4a0
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590e61
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00415e90
mov ecx, eax
test ecx, ecx
jne 0x41d4e4
push 0x80004005
call fcn.00415c00
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005619c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x25
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 0x41d54c
xor ecx, ecx
jmp 0x41d564
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d555
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00410890
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x220]
cmovae ecx, dword [ebp - 0x230]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x41d5ac
push 0x5c
push 1
lea ecx, [ebp - 0x230]
call fcn.00410b60
push ecx
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.0041d700
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d641
cmp dword [edi + 0x14], 8
jb 0x41d5ec
mov edi, dword [edi]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x24c]
push str._s__s__u___s_
push eax
call fcn.004155f0
mov esi, dword [ebp - 0x24c]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x41d636
push dword [esi - 0xc]
lea ecx, [ebp - 0x24c]
call fcn.00414e90
mov esi, dword [ebp - 0x24c]
push ecx
mov ecx, esi
call fcn.0041a920
add esp, 4
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x41d65f
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00411000
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x41d69a
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00411000
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
add esi, 0xfffffff0
mov dword [ebp - 0x220], 0
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41d6d6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.004fb4f0
mov esp, ebp
pop ebp
ret
Function at 0x41d840
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x5f1414]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d8b1
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push ecx
push edi
call eax
test eax, eax
jne 0x41d8a6
mov eax, 2
jmp 0x41d8b1
xor eax, eax
cmp dword [ebp - 0x124], eax
setne al
push 0x118
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x11c]
push 0
push eax
mov dword [ebp - 0x120], 0x11c
call fcn.005619c0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41d92d
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d926
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x11c]
push ecx
call eax
movzx eax, word [ebp - 0x114]
mov dword [ebp - 0x114], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x114]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp edx, 5
jne 0x41d95e
test ecx, ecx
jle 0x41d9a4
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x41d9a4
cmp edx, 6
jne 0x41d98f
cmp byte [ebp - 6], 1
jne 0x41d987
sub ecx, 0
je 0x41d97f
sub ecx, 1
je 0x41d977
mov dword [esi], edx
jmp 0x41d9a4
mov dword [esi], 5
jmp 0x41d9a4
mov dword [esi], 3
jmp 0x41d9a4
mov dword [esi], 4
jmp 0x41d9a4
cmp edx, 0xa
jne 0x41d99c
mov dword [esi], 7
jmp 0x41d9a4
jle 0x41d9a4
mov dword [esi], 8
movzx eax, word [ebp - 0xc]
xorps xmm0, xmm0
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0xa]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x148]
push eax
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x148]
test eax, eax
je 0x41da01
cmp eax, 6
je 0x41d9f8
cmp eax, 9
jne 0x41da08
mov dword [esi + 0x18], 1
jmp 0x41da08
mov dword [esi + 0x18], 2
jmp 0x41da08
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0x134]
mov eax, esi
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x12c]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004fb4f0
mov esp, ebp
pop ebp
ret