joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dcd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55e2f4]
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 edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0
push dword [ebp - 0x2c]
push edi
push dword [edi + 4]
push dword [edi]
call fcn.00403d30
mov eax, dword [edi]
add esp, 0x10
mov dword [edi + 4], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x416e30
xor eax, eax
jmp 0x416eec
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004152b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x416e29
cmp word [ebx], 0
mov esi, ebx
je 0x416ede
nop
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [esi], ax
je 0x416e7f
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416e70
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.004051a0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00405410
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x416eb7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004052a0
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416ec0
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
cmp word [esi], ax
jne 0x416e50
push ebx
call fcn.004ec0b7
add esp, 4
mov eax, 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.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x416f10
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x416f47
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x416f37
push SysReAllocString
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x416fb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov dword [ebp - 4], ecx
push edi
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x417028
xor edi, edi
nop dword [eax]
mov ecx, dword [esi]
add ecx, edi
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x416fef
mov ecx, dword [ecx]
push 1
lea eax, [eax*2 + 2]
push eax
push ecx
push ebx
call fcn.004155e0
add esp, 0x10
test eax, eax
je 0x41704a
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
add edi, 0x18
inc dword [ebp - 4]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 4], eax
jb 0x416fe0
push 1
push 2
push 0x516968
push ebx
call fcn.004155e0
add esp, 0x10
test eax, eax
je 0x41704a
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x417060
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x828], xmm0
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, 0x40
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x828], eax
lea eax, [ebp - 0x828]
movq qword [ebp - 0x818], xmm0
mov dword [ebp - 0x810], 0
mov word [ebp - 0x80c], 0
push eax
mov word [ebp - 0x818], cx
mov dword [ebp - 0x80e], str.Copying......
mov dword [ebp - 0x820], ebx
mov dword [ebp - 0x81c], esi
mov dword [ebp - 0x824], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x41718f
cmp dword [ebp + 0x14], eax
je 0x41718f
lea ecx, [ebp - 0x808]
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x417100
lea ecx, [ebp - 0x808]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417120
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x80a], 0x5c
je 0x417158
push edi
lea edi, [ebp - 0x808]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x417144
mov eax, dword [0x518b40]
mov dword [edi], eax
pop edi
lea ecx, [ebp - 0x808]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417161
sub ecx, edx
lea eax, [ebp - 0x808]
sar ecx, 1
lea eax, [eax + ecx*2]
push eax
push ebx
call fcn.0041ecd0
lea eax, [ebp - 0x808]
push eax
call fcn.00416c80
add esp, 0xc
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x417300
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push 0x10
push dword [0x568604]
push dword [ebp + 8]
call fcn.004bb8b0
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.004f7120
int3
Function at 0x417580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesMountMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417622
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.NoAutoMount
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4175e7
cmp dword [ebp - 8], eax
je 0x4175e7
push dword [ebp + 8]
push str.SYS_AUTOMOUNT_DISABLED
jmp 0x417611
push 0xb
call fcn.0041c0f0
add esp, 4
test eax, eax
je 0x417609
call fcn.0041b2b0
cmp eax, 1
jge 0x417609
push dword [ebp + 8]
push str.SYS_ASSIGN_DRIVE_LETTER
jmp 0x417611
push dword [ebp + 8]
push str.DEVICE_NOT_READY_ERROR
call fcn.00419c20
add esp, 8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x417e20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
call fcn.00420eb0
push 1
push 0
push 0
push dword [ebp + 8]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0xc8
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop ebp
jmp fcn.00421690
Function at 0x417e50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dd22
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x55e2f4]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x86c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x868], ebx
call fcn.00420eb0
cmp dword [ebp + 0xc], ebx
je 0x417f69
call fcn.0041b2c0
mov edi, eax
test edi, edi
jne 0x417eb5
xor edx, edx
jmp 0x417ef5
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417ec0
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x417ede
xor edx, edx
jmp 0x417ef5
add esi, esi
mov eax, esi
call fcn.004e1f90
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00418070
mov edx, eax
mov dword [ebp - 0x838], 0xf
mov dword [ebp - 0x83c], ebx
mov byte [ebp - 0x84c], bl
cmp byte [edx], bl
jne 0x417f13
xor ecx, ecx
jmp 0x417f21
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417f18
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x84c]
call fcn.00412f70
lea eax, [ebp - 0x84c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x864]
mov dword [ebp - 0x868], 1
push str.os
push eax
call fcn.0040ecc0
add esp, 0xc
mov ebx, 3
cmp dword [eax + 0x14], 0x10
jb 0x417f6e
mov eax, dword [eax]
jmp 0x417f6e
mov eax, 0x516e7c
push dword [ebp - 0x86c]
push dword [ebp - 0x870]
push eax
push str.http:__www.cncrypt.com_applink.html_version1.20_s_sdest_s
lea eax, [ebp - 0x834]
push 0x824
push eax
call fcn.00414d90
add esp, 0x18
test bl, 2
je 0x417fd5
mov eax, dword [ebp - 0x850]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x417fba
inc eax
lea ecx, [ebp - 0x864]
push eax
push dword [ebp - 0x864]
call fcn.004131c0
mov dword [ebp - 0x850], 0xf
mov dword [ebp - 0x854], 0
mov byte [ebp - 0x864], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x41801a
mov eax, dword [ebp - 0x838]
cmp eax, 0x10
jb 0x417fff
inc eax
lea ecx, [ebp - 0x84c]
push eax
push dword [ebp - 0x84c]
call fcn.004131c0
mov dword [ebp - 0x838], 0xf
mov dword [ebp - 0x83c], 0
mov byte [ebp - 0x84c], 0
push 1
push 0
push 0
lea eax, [ebp - 0x834]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0xc8
call dword [sym.imp.KERNEL32.DLL_Sleep]
call fcn.00421690
lea esp, [ebp - 0x880]
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.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x418680
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x418752
cmp dword [0x559304], 0
jne 0x4186fe
push 0x802
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
lea eax, [ebp - 0x808]
push 0x401
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push 0x14b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x808]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
push 0x14b
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x567328]
mov esi, dword [eax]
cmp esi, eax
je 0x418741
nop word [eax + eax]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x41872b
mov eax, dword [eax]
push 0
push eax
push edi
call fcn.00405b10
mov esi, dword [esi]
add esp, 0xc
cmp esi, dword [0x567328]
jne 0x418720
push 0
push 0
push 0x14e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x418900
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x56731c], 0
je 0x418a30
push esi
push edi
lea eax, [ebp - 0x804]
push str.History.xml
push eax
call fcn.0041ebf0
add esp, 8
cmp dword [0x559304], 0
jne 0x4189b7
push 0
push 0x1a
lea eax, [ebp - 0x1008]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x1008]
push eax
call fcn.0041eee0
lea edi, [ebp - 0x1008]
add esp, 4
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x418970
mov ecx, 0x2c
lea eax, [ebp - 0x1008]
mov esi, str.MicrosoftWindowsRecentAutomaticDestinationscf740ace5a88fc18.automaticDestinations_ms
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call esi
lea eax, [ebp - 0x804]
push eax
call esi
call fcn.004042c0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x804]
push str.w_ccsUTF_8
push eax
call fcn.004ed562
mov edi, eax
add esp, 8
test edi, edi
je 0x418a2e
push edi
call fcn.004c9f90
push edi
push str._n_t_history_
call fcn.004ed409
mov eax, dword [0x567328]
add esp, 0xc
mov esi, dword [eax]
cmp esi, eax
je 0x418a14
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x4189fb
mov eax, dword [eax]
push eax
push str._n_t_t_volume__s__volume_
push edi
call fcn.00405ab0
mov esi, dword [esi]
add esp, 0xc
cmp esi, dword [0x567328]
jne 0x4189f0
push edi
push str._n_t__history_
call fcn.004ed409
push edi
call fcn.004c9f70
push edi
call fcn.004ed5ef
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x418d40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x418dbf
push 0x802
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
push 0
push 0
push 0x147
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x418d9c
lea ecx, [ebp - 0x808]
push ecx
push eax
push 0x148
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x418daf
push 0x401
lea eax, [ebp - 0x808]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x808]
push eax
push esi
call fcn.00418340
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4191b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10cc
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
push eax
push ebx
mov dword [ebp - 0x10bc], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xc00000
neg eax
push 0x824
sbb eax, eax
inc eax
mov dword [ebp - 0x10cc], eax
lea eax, [ebp - 0x104c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea eax, [ebp - 0x104c]
push eax
push edi
call fcn.0041f780
mov dword [ebp - 0x10c4], eax
lea eax, [ebp - 0x104c]
push esi
push eax
push edi
call fcn.0041f720
add esp, 0x18
mov dword [ebp - 0x10c8], eax
lea eax, [ebp - 0x105c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x10c4]
mov esi, dword [ebp - 0x1054]
mov ebx, dword [ebp - 0x1050]
test ecx, ecx
js 0x4193c3
cmp dword [ebp + 0x10], 0
je 0x419270
cmp esi, ecx
jle 0x4193c3
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x10c0], eax
mov eax, ebx
sub eax, dword [ebp - 0x10c8]
mov dword [ebp - 0x10c4], eax
lea eax, [ebp - 0x106c]
push eax
push dword [ebp - 0x10bc]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x107c]
push eax
push dword [ebp - 0x10bc]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebp - 0x10cc], 0
je 0x4192bb
xor ecx, ecx
jmp 0x4192c5
push 8
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, dword [ebp - 0x1060]
sub eax, ecx
sub eax, dword [ebp - 0x1070]
sub eax, dword [ebp - 0x1068]
mov dword [ebp - 0x10c8], eax
lea eax, [ebp - 0x105c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10b8]
mov dword [ebp - 0x10b8], 0x3c
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov eax, dword [ebp - 0x1094]
test al, 1
je 0x41931c
mov eax, dword [ebp - 0x10c0]
cdq
sub eax, edx
sar eax, 1
jmp 0x419326
test al, 2
je 0x419388
mov eax, dword [ebp - 0x10c0]
mov dword [ebp - 0x10bc], eax
test eax, eax
jle 0x419388
cmp dword [ebp - 0x10cc], 0
je 0x41933d
xor ecx, ecx
jmp 0x419347
push 7
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
sub ebx, dword [ebp - 0x10c4]
mov eax, dword [ebp - 0x1058]
sub eax, dword [ebp - 0x1068]
sub eax, dword [ebp - 0x10c8]
sub esi, dword [ebp - 0x10c0]
push 1
push ebx
push esi
push eax
mov eax, dword [ebp - 0x105c]
sub eax, ecx
sub eax, dword [ebp - 0x106c]
add eax, dword [ebp - 0x10bc]
push eax
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x4193a5
sub ebx, dword [ebp - 0x10c4]
sub esi, dword [ebp - 0x10c0]
push 6
push ebx
push esi
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 1
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x41bd20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x567564], 0
jne 0x41bf5d
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
lea eax, [ebp - 0x234]
push eax
mov dword [0x567564], 1
mov dword [ebp - 0x234], 0x114
call esi
test eax, eax
je 0x41bf5c
mov edx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x22c]
mov dword [0x56734c], ecx
mov dword [0x567350], eax
cmp edx, 2
jne 0x41bec9
cmp ecx, 0xa
jne 0x41bdae
test eax, eax
jne 0x41bf13
mov dword [0x567560], 0x13
jmp 0x41bf1d
cmp ecx, 6
jne 0x41be72
cmp eax, 3
jne 0x41bde5
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call esi
xor eax, eax
cmp byte [ebp - 6], 1
sete al
add eax, 0x11
mov dword [0x567560], eax
jmp 0x41bf1d
cmp eax, 2
jne 0x41be13
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call esi
xor eax, eax
cmp byte [ebp - 6], 1
sete al
add eax, 0xf
mov dword [0x567560], eax
jmp 0x41bf1d
cmp eax, 1
jne 0x41be41
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call esi
xor eax, eax
cmp byte [ebp - 6], 1
sete al
add eax, 0xd
mov dword [0x567560], eax
jmp 0x41bf1d
test eax, eax
jne 0x41bf13
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call esi
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 0xb
mov dword [0x567560], eax
jmp 0x41bf1d
cmp ecx, 5
jne 0x41beb8
cmp eax, 2
jne 0x41be97
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
add eax, 9
mov dword [0x567560], eax
jmp 0x41bf1d
cmp eax, 1
jne 0x41bea8
mov dword [0x567560], 8
jmp 0x41bf1d
test eax, eax
jne 0x41bf13
mov dword [0x567560], 7
jmp 0x41bf1d
cmp ecx, 4
jne 0x41bf13
mov dword [0x567560], 6
jmp 0x41bf1d
cmp edx, 1
jne 0x41bf05
cmp ecx, 4
jne 0x41bf13
test eax, eax
jne 0x41bee3
mov dword [0x567560], 2
jmp 0x41bf1d
cmp eax, 0xa
jne 0x41bef4
mov dword [0x567560], 3
jmp 0x41bf1d
cmp eax, 0x5a
jne 0x41bf13
mov dword [0x567560], 4
jmp 0x41bf1d
mov dword [0x567560], 1
test edx, edx
je 0x41bf1d
mov dword [0x567560], 0
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
sbb eax, eax
neg eax
cmp dword [0x56734c], 5
mov dword [0x567348], eax
jl 0x41bf5c
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call esi
test eax, eax
je 0x41bf5c
movzx eax, word [ebp - 0xc]
mov dword [0x567354], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x41bf70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x56756c], 0
je 0x41bf88
mov eax, dword [0x567568]
mov esp, ebp
pop ebp
ret
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x41bfab
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x41bfb5
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ax, word [ebp - 0x24]
cmp ax, 9
je 0x41bfd8
cmp ax, 6
je 0x41bfd8
mov eax, dword [0x567568]
mov dword [0x56756c], 1
mov esp, ebp
pop ebp
ret
mov eax, 1
mov dword [0x567568], eax
mov dword [0x56756c], eax
mov esp, ebp
pop ebp
ret

Function at 0x41c240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 4
call fcn.0041bd20
call fcn.0041bd20
mov eax, dword [0x56734c]
shl eax, 8
or eax, dword [0x567350]
shl eax, 8
or eax, dword [0x567354]
cmp eax, 0x60000
jge 0x41c282
xor eax, eax
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c2d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push str.EnableLUA
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
test eax, eax
push dword [ebp - 8]
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
mov esp, ebp
pop ebp
ret

Function at 0x41ebf0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x41ec71
lea ecx, [ebx - 2]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x41ec12
mov eax, dword [0x519954]
mov dword [ecx], eax
mov eax, dword [0x519958]
mov dword [ecx + 4], eax
mov eax, dword [0x51995c]
mov dword [ecx + 8], eax
mov eax, dword [0x519960]
mov dword [ecx + 0xc], eax
mov eax, dword [0x519964]
push 0
push ebx
mov dword [ecx + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41ec53
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41ec63
jmp 0x41ecb1
push 0x400
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x5c
push ebx
call fcn.004e3c44
mov edx, dword [ebp + 0xc]
add esp, 8
xor ecx, ecx
mov esi, edx
mov word [eax + 2], cx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41ec95
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x41eca5
mov ecx, edx
mov eax, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41ee50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
call fcn.0041bf70
test eax, eax
je 0x41ee9b
push str.GetSystemWow64DirectoryW
push str.kernel32
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x401
lea ecx, [ebp - 0x808]
push ecx
call eax
jmp 0x41eead
push 0x401
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push edi
lea eax, [ebp - 0x808]
push eax
push 0x519984
push esi
call fcn.004054c0
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret