joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44eab0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc30
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0xa10], ax
push 0x206
push 0
lea ecx, [ebp - 0xa0e]
push ecx
call fcn.00486c20
add esp, 0xc
push str.C:log_
lea edx, [ebp - 0xa10]
push edx
call fcn.00486ae5
add esp, 8
mov dword [ebp - 0xc24], 0x1f4
xor eax, eax
mov word [ebp - 0x5f8], ax
push 0x3e6
push 0
lea ecx, [ebp - 0x5f6]
push ecx
call fcn.00486c20
add esp, 0xc
lea edx, [ebp - 0xa10]
push edx
push 0x5594ac
lea eax, [ebp - 0xc18]
push eax
call fcn.00487ebf
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00486c20
add esp, 0xc
xor eax, eax
mov word [ebp - 0x808], ax
push 0x206
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.00486c20
add esp, 0xc
push 0x104
lea edx, [ebp - 0x808]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea eax, [ebp - 0x808]
push eax
call fcn.004127c0
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0xc18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44ebb8
jmp 0x44ed49
lea eax, [ebp - 0x808]
push eax
call fcn.00486c9a
add esp, 4
lea ecx, [ebp + eax*2 - 0x806]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00486ae5
add esp, 8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xa10]
push ecx
push str._s_s.txt
lea edx, [ebp - 0xc18]
push edx
call fcn.00487ebf
add esp, 0x10
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc1c], eax
mov ecx, dword [ebp - 0xc1c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc24]
sub eax, 1
push eax
lea ecx, [ebp - 0x5f8]
push ecx
call fcn.0048c1f7
add esp, 0x10
xor edx, edx
mov eax, dword [ebp - 0xc24]
mov word [ebp + eax*2 - 0x5fa], dx
mov dword [ebp - 0xc20], 0
lea ecx, [ebp - 0xc18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ec62
mov dword [ebp - 0xc20], 1
push 0x5594c8
lea edx, [ebp - 0xc18]
push edx
call fcn.0048ba08
add esp, 8
mov dword [ebp - 0x5fc], eax
cmp dword [ebp - 0x5fc], 0
je 0x44ed49
cmp dword [ebp - 0xc20], 0
jne 0x44ecb8
mov eax, 0xfeff
mov word [ebp - 0xc30], ax
mov ecx, dword [ebp - 0x5fc]
push ecx
push 2
push 1
lea edx, [ebp - 0xc30]
push edx
call fcn.00487b3b
add esp, 0x10
lea eax, [ebp - 0x5f8]
push eax
call fcn.00486c9a
add esp, 4
mov dword [ebp - 0xc28], eax
mov ecx, dword [ebp - 0x5fc]
push ecx
mov edx, dword [ebp - 0xc28]
shl edx, 1
push edx
push 1
lea eax, [ebp - 0x5f8]
push eax
call fcn.00487b3b
add esp, 0x10
mov ecx, 0xd
mov word [ebp - 0xc2c], cx
mov edx, dword [ebp - 0x5fc]
push edx
push 2
push 1
lea eax, [ebp - 0xc2c]
push eax
call fcn.00487b3b
add esp, 0x10
mov ecx, 0xa
mov word [ebp - 0xc2c], cx
mov edx, dword [ebp - 0x5fc]
push edx
push 2
push 1
lea eax, [ebp - 0xc2c]
push eax
call fcn.00487b3b
add esp, 0x10
mov ecx, dword [ebp - 0x5fc]
push ecx
call fcn.00487882
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x4503f0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543217
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
push str._s.
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00487ebf
add esp, 0xc
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x478], eax
cmp dword [ebp - 0x478], 0xffffffff
je 0x4505a5
lea ecx, [ebp - 0x474]
push ecx
mov edx, dword [ebp - 0x478]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x450482
jmp 0x4505a5
movzx eax, word [ebp - 0x448]
cmp eax, 0x2e
jne 0x450490
jmp 0x45044d
movzx ecx, word [ebp - 0x446]
test ecx, ecx
jne 0x45049d
jmp 0x45044d
movzx edx, word [ebp - 0x446]
cmp edx, 0x2e
jne 0x4504b6
movzx eax, word [ebp - 0x444]
test eax, eax
jne 0x4504b6
jmp 0x45044d
lea ecx, [ebp - 0x494]
call fcn.00407b20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x494]
call fcn.0040ce50
mov edx, dword [ebp - 0x474]
and edx, 0x10
je 0x450539
xor eax, eax
mov word [ebp - 0x69c], ax
push 0x206
push 0
lea ecx, [ebp - 0x69a]
push ecx
call fcn.00486c20
add esp, 0xc
lea ecx, [ebp - 0x494]
call fcn.004012c0
push eax
mov edx, dword [ebp + 8]
push edx
push str._s_s_
lea eax, [ebp - 0x69c]
push eax
call fcn.00487ebf
add esp, 0x10
lea ecx, [ebp - 0x69c]
push ecx
call fcn.004503f0
add esp, 4
jmp 0x45058e
lea ecx, [ebp - 0x6b8]
call fcn.00407b20
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x6b8]
call fcn.004078c0
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x6b8]
call fcn.00413c20
push 5
push 0
lea ecx, [ebp - 0x6b8]
call fcn.004012c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6b8]
call fcn.00406040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x494]
call fcn.00406040
jmp 0x45044d
mov ecx, dword [ebp - 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4505c4
jmp 0x4505d2
push 4
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5434e8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x580280]
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 0x454710
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x45471c
mov al, 1
jmp 0x4548bf
mov dword [ebp - 0x10], 8
call fcn.00454bb0
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.00454bb0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00454b90
add esp, 8
movzx eax, al
test eax, eax
je 0x45475f
xor al, al
jmp 0x4548bf
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004548e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00412e10
mov ecx, eax
call fcn.00454920
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.0041f510
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00412e10
mov ecx, eax
call fcn.00454920
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00454b20
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4547da
cmp dword [ebp - 0x6c], 1
je 0x4547e1
cmp dword [ebp - 0x6c], 3
je 0x45487b
jmp 0x454893
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00412e10
mov ecx, eax
call fcn.00454920
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x454844
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.00412e10
mov ecx, eax
call fcn.00454920
push eax
call fcn.00487b3b
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x454844
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405fb0
mov al, byte [ebp - 0x61]
jmp 0x4548bf
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x454867
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405fb0
mov al, byte [ebp - 0x62]
jmp 0x4548bf
cmp dword [ebp - 0x38], 0
jne 0x454879
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004521d0
jmp 0x4548ab
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405fb0
mov al, byte [ebp - 0x63]
jmp 0x4548bf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405fb0
mov al, byte [ebp - 0x64]
jmp 0x4548bf
jmp 0x454772
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x456380
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [0x5884d0], 0
push 0
push 0x4562e0
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 0x559c7c
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 [0x5884d0], 1
jle 0x45644d
mov dword [ebp - 0x40], 0
jmp 0x456420
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [0x5884d0]
jge 0x45644d
mov edx, dword [ebp - 0x40]
shl edx, 4
mov eax, dword [edx + 0x588338]
cmp eax, dword [ebp - 0x3c]
jle 0x45644b
mov ecx, dword [ebp - 0x40]
shl ecx, 4
mov edx, dword [ecx + 0x588338]
mov dword [ebp - 0x3c], edx
jmp 0x456417
mov eax, dword [ebp - 0x3c]
mov esp, ebp
pop ebp
ret

Function at 0x456460
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [0x5884d0], 0
push 0
push 0x4562e0
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 0x559c98
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 [0x5884d0], 1
jle 0x456566
mov dword [ebp - 0x40], 0
jmp 0x456500
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [0x5884d0]
jge 0x456566
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
shl ecx, 4
add ecx, 0x588330
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x456564
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 0x456555
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
jmp 0x456564
mov eax, dword [ebp - 0x40]
shl eax, 4
mov ecx, dword [eax + 0x58833c]
mov dword [ebp - 4], ecx
jmp 0x4564f7
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x456740
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 0x559cb4
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 0x4567b0
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 0x559cd0
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 0x456820
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 0x458c20
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00486c20
add esp, 0xc
push 0
push 0x2b
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._shiqiang_
lea edx, [ebp - 0x210]
push edx
call fcn.00486ab7
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x458cbe
push 0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.00486ae5
add esp, 8
push str.wnsoft.ini
lea ecx, [ebp - 0x418]
push ecx
call fcn.00486ab7
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x458d8f
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx]
push edx
push 0x55a038
push 0x55a058
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx]
add edx, 0x208
push edx
push 0x55a068
push 0x55a088
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx]
add edx, 0x410
push edx
push 0x55a098
push 0x55a0b8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x41c]
mov edx, dword [ecx]
add edx, 0x618
push edx
push 0x55a0c8
push str.Globals
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret

Function at 0x459300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x459640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], 0
jne 0x459336
jmp 0x459353
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x20], 0xffffffff
jne 0x459341
jmp 0x459353
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x459360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x459660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], 0
jne 0x459396
jmp 0x4593b3
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x20], 0xffffffff
jne 0x4593a1
jmp 0x4593b3
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x4762f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0x19
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x47634f
jmp 0x4763eb
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0
lea edx, [ebp - 0x210]
push edx
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x47638d
jmp 0x4763eb
lea ecx, [ebp - 0x218]
push ecx
push 0x55acc0
push 0
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jge 0x4763b6
jmp 0x4763eb
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.00476110
add esp, 8
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [edx + 8]
call ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret

Function at 0x476400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00486c20
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x47645f
jmp 0x4764fb
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0
lea edx, [ebp - 0x210]
push edx
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x47649d
jmp 0x4764fb
lea ecx, [ebp - 0x218]
push ecx
push 0x55acc0
push 0
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jge 0x4764c6
jmp 0x4764fb
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.00476110
add esp, 8
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [edx + 8]
call ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret
Function at 0x477d90
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00486c20
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x477eb4
push 0x55ab28
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x477eb4
push 0
lea ecx, [ebp - 0x218]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jbe 0x477eb4
mov edx, dword [ebp - 0x21c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x477eb4
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
push 0
lea edx, [ebp - 0x218]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x477ea7
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
push ecx
push 0x55ab44
mov edx, dword [ebp - 0x220]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x477ea7
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret

Function at 0x477ed0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x477f78
mov dword [ebp - 0x2c8], 0
push 0x2b0
push 0
lea edx, [ebp - 0x2c4]
push edx
call fcn.00486c20
add esp, 0xc
push 0x208
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
setne dl
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x477f6e
push 0x208
lea ecx, [ebp - 0x2bc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 8