joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410560
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x644
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x640], eax
mov eax, dword [esp + 0x650]
push ebx
push ebp
mov ebp, dword [esp + 0x650]
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0xc], eax
cmp esi, edi
je 0x4106e5
xor ecx, ecx
cmp cx, word [esi]
je 0x4106e5
cmp ebx, edi
je 0x4106e5
xor edx, edx
cmp dx, word [ebx]
je 0x4106e5
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00438c1e
test eax, eax
je 0x4106e5
push 0x206
lea edx, [esp + 0x44a]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x450], cx
call fcn.00451520
add esp, 0xc
lea eax, [esp + 0x444]
push eax
push edi
push edi
push 0x19
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call edi
test eax, eax
jl 0x4106e5
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x246]
push edx
mov word [esp + 0x248], cx
call fcn.00451520
add esp, 0xc
lea eax, [esp + 0x23c]
push eax
push 0
push 0
push 5
push 0
call edi
lea ecx, [esp + 0x23c]
push 0x5c
push ecx
call fcn.0044e73b
lea edx, [esp + 0x44c]
push 0x5c
push edx
mov edi, eax
call fcn.0044e73b
add esp, 0x10
test edi, edi
je 0x4106aa
test eax, eax
je 0x4106aa
push ebx
push eax
lea edx, [esp + 0x244]
push edx
push str._s_s_s.lnk
mov eax, edx
xor ecx, ecx
push 0x104
push eax
mov word [edi], cx
call fcn.0044e767
add esp, 0x18
lea ecx, [esp + 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
lea edx, [esp + 0x448]
push edx
push str._s_s.lnk
mov eax, edx
push 0x104
push eax
call fcn.0044e767
mov ecx, dword [esp + 0x66c]
mov edx, dword [esp + 0x20]
add esp, 0x14
push ecx
push ebp
lea ebx, [esp + 0x44c]
mov ecx, esi
call fcn.00410ab0
jmp 0x4106e7
xor eax, eax
mov ecx, dword [esp + 0x64c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e3af
add esp, 0x644
ret 0xc

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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
cmp ax, word [esi]
je 0x41079b
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa]
push edx
mov word [esp + 0xc], cx
call fcn.00451520
add esp, 0xc
lea eax, [esp]
push eax
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x41079b
push esi
lea ecx, [esp + 4]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044e767
add esp, 0x14
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0044e3af
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor eax, eax
call fcn.0044e3af
add esp, 0x20c
ret
Function at 0x4107c0
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, ecx
xor eax, eax
cmp ax, word [esi]
je 0x410883
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xe]
push edx
mov word [esp + 0x10], cx
call fcn.00451520
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x410883
push esi
lea ecx, [esp + 8]
push ecx
push str._sMicrosoftInternet_ExplorerQuick_Launch_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044e767
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 0x14
push 5
push 0
push 0
lea eax, [esp + 0x10]
push eax
push str.TaskbarUnpin
push 0
call esi
push 5
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push str.StartUnpin
push 0
call esi
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0044e3af
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044e3af
add esp, 0x20c
ret

Function at 0x4108a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x438
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x434], eax
push ebx
push ebp
xor ebp, ebp
mov ebx, ecx
cmp esi, ebp
je 0x4109c1
xor eax, eax
cmp ax, word [esi]
je 0x4109c1
cmp edi, ebp
je 0x4109c1
xor ecx, ecx
cmp cx, word [edi]
je 0x4109c1
lea edx, [esp + 8]
push edx
push esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.00438c1e
test eax, eax
je 0x4109c1
push 0x206
lea ecx, [esp + 0x23a]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x240], ax
call fcn.00451520
add esp, 0xc
lea edx, [esp + 0x234]
push edx
push ebp
push ebp
push 0x17
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4109c1
xor eax, eax
cmp eax, 0x4787b8
je 0x41097a
push 0x4787b8
lea ecx, [esp + 0x238]
push ecx
push str._s_s
mov edx, ecx
push 0x104
push edx
call fcn.0044e767
lea eax, [esp + 0x248]
push eax
call fcn.0044f064
add esp, 0x18
push edi
lea ecx, [esp + 0x238]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044e767
add esp, 0x14
push ebp
push ebx
xor edx, edx
lea ebx, [esp + 0x23c]
mov ecx, esi
call fcn.00410ab0
pop ebp
pop ebx
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.0044e3af
add esp, 0x438
ret
mov ecx, dword [esp + 0x43c]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044e3af
add esp, 0x438
ret
Function at 0x4109e0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
cmp ax, word [esi]
jne 0x410a12
xor eax, eax
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0044e3af
add esp, 0x214
ret
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa]
push edx
mov word [esp + 0xc], cx
call fcn.00451520
add esp, 0xc
lea eax, [esp]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4109fb
xor ecx, ecx
cmp ecx, 0x4787b8
je 0x410a6b
push 0x4787b8
lea edx, [esp + 4]
push edx
push str._s_s
mov eax, edx
push 0x104
push eax
call fcn.0044e767
add esp, 0x14
push esi
lea ecx, [esp + 4]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0044e767
add esp, 0x14
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x20c]
neg eax
sbb eax, eax
xor ecx, esp
neg eax
call fcn.0044e3af
add esp, 0x214
ret

Function at 0x410ab0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
mov ebp, dword [esp + 0x21c]
push esi
push edi
mov esi, ecx
mov edi, edx
test ebx, ebx
jne 0x410add
xor eax, eax
jmp 0x410bb7
lea eax, [esp + 0xc]
push eax
push 0x476a8c
push 1
push 0
push 0x4733f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x410ad6
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push esi
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x476aec
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x410ad6
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebp
push eax
call edx
test edi, edi
je 0x410b59
cmp word [edi], 0
je 0x410b59
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00451520
add esp, 0xc
lea edi, [esp + 0x14]
call fcn.0040f1b0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
mov ecx, edi
push ecx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 2
push ebx
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0044e3af
add esp, 0x214
ret 8
Function at 0x411810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x46bf08
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491830]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
cmp esi, ebp
je 0x4118b3
movzx edi, word [esp + 0x4c]
push ebp
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call sub.gdiplus.dll_GdiplusStartup
push edi
push esi
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x4119a9
mov dword [esp + 0x18], ebp
push 0x479070
push edi
push esi
mov dword [esp + 0x50], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, ebp
jne 0x4118c9
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4118b3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebp
jne 0x411905
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4118ef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
lea eax, [esp + 0x18]
push eax
push 1
push ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov esi, dword [ecx]
mov ebx, ecx
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
add esi, 0x10
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi]
push eax
push ebx
call edx
mov eax, dword [esp + 0x18]
push eax
call fcn.004117d0
add esp, 4
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, ebp
je 0x4118d7
push 0xff00ff
push esi
call fcn.004119d0
add esp, 8
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x411987
mov ecx, dword [esi + 4]
push 0xffff00ff
lea eax, [esp + 0x20]
push eax
push ecx
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
cmp eax, ebp
je 0x411987
mov dword [esi + 8], eax
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4119a9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x412b00
Capabilities:
Change the wallpaper

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0042a818
push 0
push 0x20000
push 0xc00080
mov ecx, esi
call fcn.0042b711
push 0
push 0
push 0x101
mov ecx, esi
call fcn.0042b73d
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, edi
sub eax, dword [esp + 0x10]
mov ecx, ebx
sub ecx, dword [esp + 0x14]
mov dword [esi + 0x3a0], eax
cdq
and edx, 7
add eax, edx
mov ebp, eax
mov eax, ecx
cdq
sar ebp, 3
and edx, 7
add eax, edx
sub edi, ebp
sar eax, 3
sub ebx, eax
mov dword [esi + 0x3b0], edi
pop edi
mov dword [esi + 0x3a8], ebp
mov dword [esi + 0x3ac], eax
mov dword [esi + 0x3b4], ebx
mov dword [esi + 0x3a4], ecx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x415ab0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x74
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415ad1
sub eax, edx
sar eax, 1
mov ebx, eax
xor eax, eax
lea ebp, [ebx + 1]
push ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00421756
add esp, 4
push 0
push 0
push ebp
mov esi, eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
mov eax, ebx
lea ecx, [esp + 0x18]
call fcn.00415c70
lea ecx, [esp + 0x14]
call fcn.00415d10
push esi
call fcn.00421790
mov edi, dword [esp + 0x14]
add esp, 4
lea ebx, [esp + 0x6c]
call fcn.00415a40
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044e3af
add esp, 0x74
ret

Function at 0x415b70
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x474
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x470], eax
push edi
xor eax, eax
push 0x400
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x7c]
push eax
mov edi, ecx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00451520
push 0x47b2d8
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.0044f8f6
mov eax, dword [esp + 0x1c]
add esp, 0x18
test eax, eax
je 0x415c57
push eax
push 0x400
lea edx, [esp + 0x7c]
push 1
push edx
call fcn.00450afd
add esp, 0x10
test eax, eax
je 0x415c20
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0xc]
call fcn.00415c70
mov edx, dword [esp + 4]
push edx
push 0x400
lea eax, [esp + 0x7c]
push 1
push eax
call fcn.00450afd
add esp, 0x10
test eax, eax
jne 0x415bf5
push ebx
lea ecx, [esp + 0xc]
call fcn.00415d10
mov ecx, dword [esp + 8]
push ecx
call fcn.0044fba4
add esp, 4
lea ebx, [esp + 0x64]
call fcn.00415a40
pop ebx
pop edi
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0044e3af
add esp, 0x474
ret
mov ecx, dword [esp + 0x474]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0044e3af
add esp, 0x474
ret
Function at 0x416a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push ebp
push esi
mov ebx, ecx
call fcn.00412b00
push str.Hr_g
mov esi, ebx
mov dword [ebx + 0x80], 0x1e
mov dword [ebx + 0x90], 4
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
call fcn.00412970
push 0
push 0
push 0
push ecx
mov ecx, dword [0x4969b4]
push 0x84
call fcn.00411810
add esp, 8
push 1
push 0
push ecx
mov ecx, dword [0x4969b4]
push 0x83
mov esi, eax
call fcn.00411810
add esp, 8
push eax
mov ecx, esi
call fcn.00412c10
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0042709b
push eax
mov ecx, ebx
call fcn.004269c0
mov eax, dword [ebx + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x4969b4]
push 0x99
call fcn.00411810
mov ecx, dword [0x4969b4]
add esp, 4
push 0x98
mov ebp, eax
call fcn.00411810
add esp, 4
lea esi, [ebx + 0x3d8]
mov ecx, ebp
call fcn.00414840
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push ebx
push 0x416c60
push 0
push 0
call esi
push 0
push 0
push ebx
push 0x416c00
push 0
push 0
mov dword [ebx + 0xa64], eax
call esi
mov dword [ebx + 0xa68], eax
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419b70
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x234
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [str.InstallTag]
mov ecx, dword [0x478a0c]
mov edx, dword [0x478a10]
mov dword [esp + 0x10], eax
mov eax, dword [0x478a14]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x478a18]
mov dword [esp + 0x1c], eax
xor eax, eax
push 0x206
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dx, word [0x478a1c]
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x30], dx
mov dword [esp + 0xc], 0x31
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x34], ax
call fcn.00451520
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x478a24
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.0044e6be
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push 8
lea edx, [esp + 8]
push edx
push 0x478a20
lea eax, [esp + 0x20]
push eax
push str.Zt58501
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x28]
push ecx
push 0x478bfc
lea edx, [esp + 0x18]
push edx
push str.Zt58501
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ecx, ecx
mov eax, 0x31
cmp ax, word [esp]
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0044e3af
add esp, 0x234
ret
Function at 0x419e90
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x128
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x114
xor esi, esi
lea eax, [esp + 0x18]
push esi
push eax
call fcn.00451520
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x419f47
cmp dword [esp + 0x18], 5
jbe 0x419f47
lea edx, [esp + 4]
push edx
push 0x20019
push esi
mov eax, 4
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419f47
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push str.EnableLUA
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419f3c
xor ecx, ecx
cmp dword [esp + 8], 1
sete cl
mov esi, ecx
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0044e3af
add esp, 0x128
ret

Function at 0x41bd10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.00451520
mov ebx, str.Statistic.ini
lea edi, [esp + 0x9c]
call fcn.0040f1f0
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.00451520
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.00451520
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x18]
push ecx
push str.0_121
push str.ShortKey
push str.Zt58501
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.00406f00
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x41bdf3
push 0x2c
push eax
call fcn.0044f0b8
add esp, 8
test eax, eax
je 0x41bdf3
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x41bdf3
lea edx, [esp + eax*2 + 0x12]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x14], cx
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.0044e64f
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.0044ee47
lea edx, [esp + 0x54]
push edx
mov dword [esi], eax
call fcn.0044ee47
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x41be32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.0044e3af
add esp, 0x290
ret 4
Function at 0x41be50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.00451520
mov ebx, str.Statistic.ini
lea edi, [esp + 0x9c]
call fcn.0040f1f0
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.00451520
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.00451520
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x18]
push ecx
push 0x47ccb4
push str.AltWndKey
push str.Zt58501
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.00406f00
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x41bf33
push 0x2c
push eax
call fcn.0044f0b8
add esp, 8
test eax, eax
je 0x41bf33
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x41bf33
lea edx, [esp + eax*2 + 0x12]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x14], cx
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.0044e64f
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.0044ee47
lea edx, [esp + 0x54]
push edx
mov dword [esi], eax
call fcn.0044ee47
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x41bf72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.0044e3af
add esp, 0x290
ret 4
Function at 0x41bf90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9a]
push ecx
mov word [esp + 0x9c], ax
call fcn.00451520
mov ebx, str.Statistic.ini
lea edi, [esp + 0x9c]
call fcn.0040f1f0
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.00451520
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x32]
push edx
mov word [esp + 0x34], cx
call fcn.00451520
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x18]
push ecx
push str.2_81
push str.SndKey
push str.Zt58501
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.00406f00
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jle 0x41c073
push 0x2c
push eax
call fcn.0044f0b8
add esp, 8
test eax, eax
je 0x41c073
sub eax, dword [esp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x41c073
lea edx, [esp + eax*2 + 0x12]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x14], cx
lea eax, [esp + 0x54]
push 0x20
push eax
call fcn.0044e64f
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call fcn.0044ee47
lea edx, [esp + 0x54]
push edx
mov dword [esi], eax
call fcn.0044ee47
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebp
pop ebx
test edx, edx
jg 0x41c0b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.0044e3af
add esp, 0x290
ret 4