joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a3c0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1620
call fcn.00471700
mov eax, dword [0x4e4260]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x9e8], 0
push 0x206
push 0
lea eax, [ebp - 0x9e6]
push eax
call fcn.0046f350
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x4c3de8
lea edx, [ebp - 0x9e8]
push edx
call fcn.0046f4c8
add esp, 0xc
lea eax, [ebp - 0x9e8]
push eax
call fcn.0046fb52
add esp, 4
mov dword [ebp - 0x7dc], eax
mov ecx, dword [ebp - 0x7dc]
sub ecx, 1
test ecx, ecx
jle 0x41a453
mov edx, dword [ebp - 0x7dc]
movzx eax, word [ebp + edx*2 - 0x9ea]
cmp eax, 0x5c
je 0x41a453
mov ecx, dword [ebp - 0x7dc]
mov word [ebp + ecx*2 - 0x9e8], 0x5c
lea edx, [ebp - 0x9e8]
push edx
push 0x4c3df0
lea eax, [ebp - 0x7d8]
push eax
call fcn.0046f4c8
add esp, 0xc
lea ecx, [ebp - 0xc40]
push ecx
lea edx, [ebp - 0x7d8]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0xffffffff
je 0x41a580
lea eax, [ebp - 0xc40]
push eax
mov ecx, dword [ebp - 0xc44]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x9ec], eax
cmp dword [ebp - 0x9ec], 0
jne 0x41a4bd
jmp 0x41a580
movzx edx, word [ebp - 0xc14]
cmp edx, 0x2e
jne 0x41a4cb
jmp 0x41a488
movzx eax, word [ebp - 0xc12]
test eax, eax
jne 0x41a4d8
jmp 0x41a488
movzx ecx, word [ebp - 0xc12]
cmp ecx, 0x2e
jne 0x41a4f1
movzx edx, word [ebp - 0xc10]
test edx, edx
jne 0x41a4f1
jmp 0x41a488
mov eax, dword [ebp - 0xc40]
and eax, 0x10
je 0x41a54c
mov word [ebp - 0x1620], 0
push 0x206
push 0
lea ecx, [ebp - 0x161e]
push ecx
call fcn.0046f350
add esp, 0xc
lea edx, [ebp - 0xc14]
push edx
lea eax, [ebp - 0x9e8]
push eax
push str._s_s_
lea ecx, [ebp - 0x1620]
push ecx
call fcn.0046f4c8
add esp, 0x10
lea edx, [ebp - 0x1620]
push edx
call fcn.0041a3c0
add esp, 4
lea eax, [ebp - 0xc14]
push eax
lea ecx, [ebp - 0x9e8]
push ecx
push 0x4c3e08
lea edx, [ebp - 0x1418]
push edx
call fcn.0046f4c8
add esp, 0x10
lea eax, [ebp - 0x1418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x41a488
mov ecx, dword [ebp - 0xc44]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0xc44], 0xffffffff
push 0x20
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret
Function at 0x41a5c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1410
call fcn.00471700
mov eax, dword [0x4e4260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push str._s.
lea ecx, [ebp - 0x7d8]
push ecx
call fcn.0046f4c8
add esp, 0xc
lea edx, [ebp - 0xa30]
push edx
lea eax, [ebp - 0x7d8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa34], eax
cmp dword [ebp - 0xa34], 0xffffffff
je 0x41a6f8
lea ecx, [ebp - 0xa30]
push ecx
mov edx, dword [ebp - 0xa34]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x7dc], eax
cmp dword [ebp - 0x7dc], 0
jne 0x41a63e
jmp 0x41a6f8
movzx eax, word [ebp - 0xa04]
cmp eax, 0x2e
jne 0x41a64c
jmp 0x41a609
movzx ecx, word [ebp - 0xa02]
test ecx, ecx
jne 0x41a659
jmp 0x41a609
movzx edx, word [ebp - 0xa02]
cmp edx, 0x2e
jne 0x41a672
movzx eax, word [ebp - 0xa00]
test eax, eax
jne 0x41a672
jmp 0x41a609
mov word [ebp - 0x1410], 0
push 0x206
push 0
lea ecx, [ebp - 0x140e]
push ecx
call fcn.0046f350
add esp, 0xc
lea edx, [ebp - 0xa04]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x4c3e20
lea ecx, [ebp - 0x1208]
push ecx
call fcn.0046f4c8
add esp, 0x10
lea edx, [ebp - 0x1410]
push edx
lea eax, [ebp - 0xa04]
push eax
call fcn.00417090
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1410]
push edx
call fcn.004716c4
add esp, 8
test eax, eax
jne 0x41a6ee
lea eax, [ebp - 0x1208]
push eax
call fcn.00417b50
add esp, 4
jmp 0x41a6f3
jmp 0x41a609
jmp 0x41a609
mov ecx, dword [ebp - 0xa34]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret
Function at 0x41e3e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x41fab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bab68
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4e4260]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x41faf0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x41fafc
mov al, 1
jmp 0x41fc9f
mov dword [ebp - 0x10], 8
call fcn.0041ff80
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0041ff80
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0041ff60
add esp, 8
movzx eax, al
test eax, eax
je 0x41fb3f
xor al, al
jmp 0x41fc9f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0041fcc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0041c110
mov ecx, eax
call fcn.0041fd00
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00402010
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041c110
mov ecx, eax
call fcn.0041fd00
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0041fef0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x41fbba
cmp dword [ebp - 0x6c], 1
je 0x41fbc1
cmp dword [ebp - 0x6c], 3
je 0x41fc5b
jmp 0x41fc73
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0041c110
mov ecx, eax
call fcn.0041fd00
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x41fc24
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041c110
mov ecx, eax
call fcn.0041fd00
push eax
call fcn.00474c22
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x41fc24
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x61]
jmp 0x41fc9f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x41fc47
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x62]
jmp 0x41fc9f
cmp dword [ebp - 0x38], 0
jne 0x41fc59
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0041c820
jmp 0x41fc8b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x63]
jmp 0x41fc9f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x64]
jmp 0x41fc9f
jmp 0x41fb52
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret
Function at 0x421550
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
setne dl
mov eax, dword [ebp - 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x4215c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
setne dl
mov eax, dword [ebp - 4]
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret 4

Function at 0x421700
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [0x4e6110], 0
push 0
push 0x421620
push 0
push 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x4c48d0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
cmp dword [0x4e6110], 1
jle 0x4217cd
mov dword [ebp - 0x40], 0
jmp 0x4217a0
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [0x4e6110]
jge 0x4217cd
mov edx, dword [ebp - 0x40]
shl edx, 4
mov eax, dword [edx + 0x4e6078]
cmp eax, dword [ebp - 0x3c]
jle 0x4217cb
mov ecx, dword [ebp - 0x40]
shl ecx, 4
mov edx, dword [ecx + 0x4e6078]
mov dword [ebp - 0x3c], edx
jmp 0x421797
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret
Function at 0x4217e0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [0x4e6110], 0
push 0
push 0x421620
push 0
push 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x4c48ec
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
cmp dword [0x4e6110], 1
jle 0x4218e6
mov dword [ebp - 0x40], 0
jmp 0x421880
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [0x4e6110]
jge 0x4218e6
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
shl ecx, 4
add ecx, 0x4e6070
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4218e4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x4218d5
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
jmp 0x4218e4
mov eax, dword [ebp - 0x40]
shl eax, 4
mov ecx, dword [eax + 0x4e607c]
mov dword [ebp - 4], ecx
jmp 0x421877
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4218f0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [0x4e6110], 0
push 0
push 0x421620
push 0
push 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x4c4908
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
cmp dword [0x4e6110], 1
jle 0x421a5f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
jmp 0x4219ad
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
cmp edx, dword [0x4e6110]
jge 0x421a1a
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x4c]
shl edx, 4
add edx, 0x4e6070
push edx
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x421a18
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x421a09
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x421a18
mov ecx, dword [ebp - 0x4c]
shl ecx, 4
mov edx, dword [ecx + 0x4e607c]
mov dword [ebp - 4], edx
jmp 0x4219a4
cmp dword [ebp - 0x48], 0
jne 0x421a5f
mov dword [ebp - 0x54], 0
jmp 0x421a32
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [0x4e6110]
jge 0x421a5f
mov edx, dword [ebp - 0x54]
shl edx, 4
mov eax, dword [edx + 0x4e607c]
cmp eax, dword [ebp - 4]
jge 0x421a5d
mov ecx, dword [ebp - 0x54]
shl ecx, 4
mov edx, dword [ecx + 0x4e607c]
mov dword [ebp - 4], edx
jmp 0x421a29
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x421cb0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x4c4924
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret

Function at 0x421d20
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x4c4940
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret

Function at 0x421d90
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret
Function at 0x422090
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
mov eax, dword [0x4e4260]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0xa10], 0
push 0x206
push 0
lea eax, [ebp - 0xa0e]
push eax
call fcn.0046f350
add esp, 0xc
push 0x4c4978
lea ecx, [ebp - 0xa10]
push ecx
call fcn.0046fd00
add esp, 8
mov dword [ebp - 0xc24], 0x1f4
mov word [ebp - 0x5f8], 0
push 0x3e6
push 0
lea edx, [ebp - 0x5f6]
push edx
call fcn.0046f350
add esp, 0xc
lea eax, [ebp - 0xa10]
push eax
push 0x4c4988
lea ecx, [ebp - 0xc18]
push ecx
call fcn.0046f4c8
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.0046f350
add esp, 0xc
mov word [ebp - 0x808], 0
push 0x206
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.0046f350
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x808]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x808]
push edx
call fcn.00405870
add esp, 8
mov word [eax], 0
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422198
jmp 0x422320
lea ecx, [ebp - 0x808]
push ecx
call fcn.0046fb52
add esp, 4
lea edx, [ebp + eax*2 - 0x806]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0046fd00
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0xa10]
push edx
push 0x4c49a0
lea eax, [ebp - 0xc18]
push eax
call fcn.0046f4c8
add esp, 0x10
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xc1c], ecx
mov edx, dword [ebp - 0xc1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc24]
sub ecx, 1
push ecx
lea edx, [ebp - 0x5f8]
push edx
call fcn.00474edd
add esp, 0x10
mov eax, dword [ebp - 0xc24]
mov word [ebp + eax*2 - 0x5fa], 0
mov dword [ebp - 0xc20], 0
lea ecx, [ebp - 0xc18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422242
mov dword [ebp - 0xc20], 1
push 0x4c49b4
lea edx, [ebp - 0xc18]
push edx
call fcn.00474df8
add esp, 8
mov dword [ebp - 0x5fc], eax
cmp dword [ebp - 0x5fc], 0
je 0x422320
cmp dword [ebp - 0xc20], 0
jne 0x422295
mov word [ebp - 0xc30], 0xfeff
mov eax, dword [ebp - 0x5fc]
push eax
push 2
push 1
lea ecx, [ebp - 0xc30]
push ecx
call fcn.00474c22
add esp, 0x10
lea edx, [ebp - 0x5f8]
push edx
call fcn.0046fb52
add esp, 4
mov dword [ebp - 0xc28], eax
mov eax, dword [ebp - 0x5fc]
push eax
mov ecx, dword [ebp - 0xc28]
shl ecx, 1
push ecx
push 1
lea edx, [ebp - 0x5f8]
push edx
call fcn.00474c22
add esp, 0x10
mov word [ebp - 0xc2c], 0xd
mov eax, dword [ebp - 0x5fc]
push eax
push 2
push 1
lea ecx, [ebp - 0xc2c]
push ecx
call fcn.00474c22
add esp, 0x10
mov word [ebp - 0xc2c], 0xa
mov edx, dword [ebp - 0x5fc]
push edx
push 2
push 1
lea eax, [ebp - 0xc2c]
push eax
call fcn.00474c22
add esp, 0x10
mov ecx, dword [ebp - 0x5fc]
push ecx
call fcn.00474a47
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret
Function at 0x423280
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x4e4260]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x64c], ecx
mov word [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x222], eax
mov dword [ebp - 0x21e], eax
mov dword [ebp - 0x21a], eax
mov dword [ebp - 0x216], eax
mov word [ebp - 0x212], ax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0046f350
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4c4ae8
call fcn.0046fb52
add esp, 4
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00475451
add esp, 0xc
mov word [ebp - 0x648], 0
push 0x206
push 0
lea edx, [ebp - 0x646]
push edx
call fcn.0046f350
add esp, 0xc
mov word [ebp - 0x440], 0
push 0x206
push 0
lea eax, [ebp - 0x43e]
push eax
call fcn.0046f350
add esp, 0xc
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
push 0x104
lea ecx, [ebp - 0x440]
push ecx
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x234]
push ecx
push 0x104
lea edx, [ebp - 0x648]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x4233d7
mov ecx, dword [ebp - 0x234]
push ecx
push str._08X
mov edx, dword [ebp + 8]
push edx
call fcn.0046f4c8
add esp, 0xc
jmp 0x4233e8
push 0x4c4afc
mov eax, dword [ebp + 8]
push eax
call fcn.0046fd00
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret 4
Function at 0x4248e0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4e4260]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0046f350
add esp, 0xc
mov word [ebp - 0x418], 0
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.0046f350
add esp, 0xc
push 0
push 0x2b
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._shiqiang_
lea eax, [ebp - 0x210]
push eax
call fcn.0046fcd6
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42497e
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.0046fd00
add esp, 8
push str.wnsoft.ini
lea edx, [ebp - 0x418]
push edx
call fcn.0046fcd6
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424a4c
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
push eax
push 0x4c4d90
push 0x4c4db0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
add eax, 0x208
push eax
push 0x4c4dc0
push 0x4c4de0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
add eax, 0x410
push eax
push 0x4c4df0
push 0x4c4e10
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
add eax, 0x618
push eax
push 0x4c4e20
push str.Globals
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret