joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c0c0
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c0db
xor al, al
jmp 0x41c1ce
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41c0ff
xor al, al
jmp 0x41c1ce
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 8]
push eax
call fcn.0047a0b4
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41c178
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41c178
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x4c]
push edx
push 0x4cc3ac
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c178
push 0x34
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00479d00
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x44], 0xfeef04bd
sete al
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 4]
push ecx
call fcn.00479c65
add esp, 4
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x41c190
xor al, al
jmp 0x41c1ce
mov eax, dword [ebp - 0x3c]
shr eax, 0x10
movzx ecx, ax
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp - 0x3c]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [ebp - 0x38]
shr eax, 0x10
movzx ecx, ax
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp - 0x38]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x420720
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 0x421e10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c30b8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4ed20c]
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 0x421e50
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x421e5c
mov al, 1
jmp 0x421fff
mov dword [ebp - 0x10], 8
call fcn.004222e0
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.004222e0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004222c0
add esp, 8
movzx eax, al
test eax, eax
je 0x421e9f
xor al, al
jmp 0x421fff
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00422020
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0041ca00
mov ecx, eax
call fcn.00422060
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.0041ca00
mov ecx, eax
call fcn.00422060
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00422250
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x421f1a
cmp dword [ebp - 0x6c], 1
je 0x421f21
cmp dword [ebp - 0x6c], 3
je 0x421fbb
jmp 0x421fd3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0041ca00
mov ecx, eax
call fcn.00422060
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x421f84
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.0041ca00
mov ecx, eax
call fcn.00422060
push eax
call fcn.0047a68c
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x421f84
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x61]
jmp 0x421fff
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x421fa7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x62]
jmp 0x421fff
cmp dword [ebp - 0x38], 0
jne 0x421fb9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0041d1e0
jmp 0x421feb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x63]
jmp 0x421fff
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004015d0
mov al, byte [ebp - 0x64]
jmp 0x421fff
jmp 0x421eb2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret
Function at 0x4238b0
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 0x423920
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 0x4249e0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [0x4ef010], 0
push 0
push 0x424900
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 0x4cca40
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 [0x4ef010], 1
jle 0x424aad
mov dword [ebp - 0x40], 0
jmp 0x424a80
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [0x4ef010]
jge 0x424aad
mov edx, dword [ebp - 0x40]
shl edx, 4
mov eax, dword [edx + 0x4eef78]
cmp eax, dword [ebp - 0x3c]
jle 0x424aab
mov ecx, dword [ebp - 0x40]
shl ecx, 4
mov edx, dword [ecx + 0x4eef78]
mov dword [ebp - 0x3c], edx
jmp 0x424a77
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret

Function at 0x424ac0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [0x4ef010], 0
push 0
push 0x424900
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 0x4cca5c
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 [0x4ef010], 1
jle 0x424bc6
mov dword [ebp - 0x40], 0
jmp 0x424b60
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [0x4ef010]
jge 0x424bc6
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
shl ecx, 4
add ecx, 0x4eef70
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x424bc4
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 0x424bb5
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
jmp 0x424bc4
mov eax, dword [ebp - 0x40]
shl eax, 4
mov ecx, dword [eax + 0x4eef7c]
mov dword [ebp - 4], ecx
jmp 0x424b57
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x424bd0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [0x4ef010], 0
push 0
push 0x424900
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 0x4cca78
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 [0x4ef010], 1
jle 0x424d3f
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 0x424c8d
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
cmp edx, dword [0x4ef010]
jge 0x424cfa
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x4c]
shl edx, 4
add edx, 0x4eef70
push edx
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x424cf8
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 0x424ce9
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x424cf8
mov ecx, dword [ebp - 0x4c]
shl ecx, 4
mov edx, dword [ecx + 0x4eef7c]
mov dword [ebp - 4], edx
jmp 0x424c84
cmp dword [ebp - 0x48], 0
jne 0x424d3f
mov dword [ebp - 0x54], 0
jmp 0x424d12
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [0x4ef010]
jge 0x424d3f
mov edx, dword [ebp - 0x54]
shl edx, 4
mov eax, dword [edx + 0x4eef7c]
cmp eax, dword [ebp - 4]
jge 0x424d3d
mov ecx, dword [ebp - 0x54]
shl ecx, 4
mov edx, dword [ecx + 0x4eef7c]
mov dword [ebp - 4], edx
jmp 0x424d09
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x424f90
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 0x4cca94
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 0x425000
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 0x4ccab0
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 0x425070
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 0x425370
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
mov eax, dword [0x4ed20c]
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.00474d50
add esp, 0xc
push 0x4ccae8
lea ecx, [ebp - 0xa10]
push ecx
call fcn.00475212
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.00474d50
add esp, 0xc
lea eax, [ebp - 0xa10]
push eax
push 0x4ccaf8
lea ecx, [ebp - 0xc18]
push ecx
call fcn.00474c76
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00474d50
add esp, 0xc
mov word [ebp - 0x808], 0
push 0x206
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.00474d50
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.00406280
add esp, 8
mov word [eax], 0
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425478
jmp 0x425600
lea ecx, [ebp - 0x808]
push ecx
call fcn.00474e12
add esp, 4
lea edx, [ebp + eax*2 - 0x806]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00475212
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0xa10]
push edx
push 0x4ccb10
lea eax, [ebp - 0xc18]
push eax
call fcn.00474c76
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.0047a8b9
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 0x425522
mov dword [ebp - 0xc20], 1
push 0x4ccb24
lea edx, [ebp - 0xc18]
push edx
call fcn.0047a7d4
add esp, 8
mov dword [ebp - 0x5fc], eax
cmp dword [ebp - 0x5fc], 0
je 0x425600
cmp dword [ebp - 0xc20], 0
jne 0x425575
mov word [ebp - 0xc30], 0xfeff
mov eax, dword [ebp - 0x5fc]
push eax
push 2
push 1
lea ecx, [ebp - 0xc30]
push ecx
call fcn.0047a68c
add esp, 0x10
lea edx, [ebp - 0x5f8]
push edx
call fcn.00474e12
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.0047a68c
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.0047a68c
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.0047a68c
add esp, 0x10
mov ecx, dword [ebp - 0x5fc]
push ecx
call fcn.0047a4b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret
Function at 0x426800
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x4ed20c]
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.00474d50
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4cccd0
call fcn.00474e12
add esp, 4
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.0047ad78
add esp, 0xc
mov word [ebp - 0x648], 0
push 0x206
push 0
lea edx, [ebp - 0x646]
push edx
call fcn.00474d50
add esp, 0xc
mov word [ebp - 0x440], 0
push 0x206
push 0
lea eax, [ebp - 0x43e]
push eax
call fcn.00474d50
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 0x426957
mov ecx, dword [ebp - 0x234]
push ecx
push str._08X
mov edx, dword [ebp + 8]
push edx
call fcn.00474c76
add esp, 0xc
jmp 0x426968
push 0x4ccce4
mov eax, dword [ebp + 8]
push eax
call fcn.00475212
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret 4
Function at 0x427e60
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4ed20c]
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.00474d50
add esp, 0xc
mov word [ebp - 0x418], 0
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.00474d50
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.004751e8
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427efe
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.00475212
add esp, 8
push str.wnsoft.ini
lea edx, [ebp - 0x418]
push edx
call fcn.004751e8
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427fcc
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
push eax
push 0x4ccf78
push 0x4ccf98
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 0x4ccfa8
push 0x4ccfc8
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 0x4ccfd8
push 0x4ccff8
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 0x4cd008
push str.Globals
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret
Function at 0x427fe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4cd038
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x428012
jmp 0x4280e7
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ShiQiang
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x428042
jmp 0x4280e7
mov dword [ebp - 4], 0
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
push 1
push 0
push str.OnlyIdentifier1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x208
push ecx
push 1
push 0
push str.OnlyIdentifier2
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x410
push ecx
push 1
push 0
push str.OnlyIdentifier3
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x618
push ecx
push 1
push 0
push str.OnlyIdentifier4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x43ef50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x43ef66
xor eax, eax
jmp 0x43ef9f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.0047b5ed
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x43ef91
xor eax, eax
jmp 0x43ef9f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0047b322
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x43efb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x43efc6
xor eax, eax
jmp 0x43efff
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.0047a68c
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x43eff1
xor eax, eax
jmp 0x43efff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0047b322
add esp, 4
mov esp, ebp
pop ebp
ret