joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f965
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45fa7d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45fa7d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00474669
mov esi, eax
test esi, esi
je 0x45fa7d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45fa7d
mov ecx, esi
call fcn.0045f8f0
cmp edi, eax
jge 0x45fa7d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45fa03
mov dword [esp + 0x34], 1
jmp 0x45fa5e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45fa7d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045eef0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47500c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x475044
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004730c3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047309b
jmp 0x475050
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x476701
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x476743
call fcn.0047c1b6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x476743
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47673a
xor eax, eax
jmp 0x47674b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00476751
pop edi
pop esi
pop ebx
ret 4
Function at 0x47c6e6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47c714
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47c732
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047c64c
jmp 0x47c732
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47c732
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047c64c
test edi, edi
mov eax, edi
jne 0x47c71c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xa86ab0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0xaf197c]
mov edi, eax
add esp, 4
test edi, edi
jne 0xa86ae3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x10]
jbe 0xa86b2a
mov eax, dword [esi]
push ecx
call eax
push dword [ebp + 8]
mov eax, dword [esi + 4]
push ebx
push dword [edi + 4]
call eax
mov ebx, dword [edi + 8]
add ebx, dword [esi + 0xc]
push dword [edi + 4]
mov eax, dword [esi + 8]
push ebx
mov dword [ebp - 8], ebx
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 8]
add esp, 8
xor ebx, ebx
test eax, eax
je 0xa86b83
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 8], 1
jne 0xa86b48
mov ebx, dword [ebp - 0xc]
cmp ebx, dword [esi + 0x10]
jae 0xa86bb7
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0xabe23b
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0xabe23a
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0xa86b90
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xa876d0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push esi
push edi
push 0xf0000040
mov esi, ecx
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa8770b
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
ret

Function at 0xaa12e9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00aa0fa9

Function at 0xaa860c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00aa848b

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401d20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0xffffffffffffffeb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x401d81
mov ecx, dword [eax + 0x1b4]
mov esi, dword [eax + 0x1b8]
mov eax, dword [eax + 0x1bc]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x401d5f
push 0
push ecx
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x401d68
push 0
push eax
call ebx
test esi, esi
je 0x401d81
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x4259d8
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi]
test eax, eax
jne 0x401d9e
mov ecx, edi
call fcn.00401a90
push 5
mov ecx, edi
call fcn.00401a20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push eax
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401db0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x30
lea eax, [ebp - 0x34]
mov edi, ecx
push 0
push eax
call fcn.00416d90
mov eax, dword [0x42d66c]
add esp, 0xc
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x401c70
push 5
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x7f00
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], eax
push 0
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [0x42d66c]
push 0
push dword [edi + 4]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push esi
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi], eax
test eax, eax
jne 0x401e63
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041052e
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00401ba0
mov ecx, edi
call fcn.004018c0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0041052e
mov esp, ebp
pop ebp
ret
Function at 0x402ac0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x402aeb
push 0x425b1c
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi + 4]
test edi, edi
je 0x402b1a
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x408
push edi
call esi
inc eax
mov ecx, 0x64
cmp eax, ecx
push 0
cmovg eax, ecx
push eax
push 0x402
push edi
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00416d90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrIW]
mov ecx, dword [0x42d670]
add eax, 2
mov dword [ebp - 0x218], eax
mov edx, str.SOFTWAREHaoKan8Info
mov eax, str.SOFTWARELaughInfo
cmp dword [ecx + 0x38], 0
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x214]
cmove eax, edx
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push 0x80000002
mov dword [ebp - 0x21c], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x402bea
push dword [ebp - 0x218]
call ebx
add eax, eax
push eax
push dword [ebp - 0x218]
push 1
push 0
push str.InstallName
push dword [ebp - 0x214]
call edi
push dword [ebp - 0x214]
call esi
call fcn.00405150
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x21c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402c4f
push dword [ebp - 0x214]
call ebx
add eax, eax
push eax
push dword [ebp - 0x214]
push 1
push 0
push str.InstallPath
push dword [ebp - 0x218]
call edi
push dword [ebp - 0x218]
call esi
call fcn.00405040
mov esi, eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0x21c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402caa
push esi
call ebx
add eax, eax
push eax
push esi
push 1
push 0
push str.StartMenuPath
push dword [ebp - 0x214]
call edi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041052e
mov esp, ebp
pop ebp
ret
Function at 0x402cc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x42d670]
mov ecx, str.SOFTWAREHaoKan8Info
push ebx
push esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, str.SOFTWARELaughInfo
cmp dword [eax + 0x38], 0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmove esi, ecx
cmp dword [eax + 0x40], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 1
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push 0x80000002
jne 0x402d24
mov dword [ebp - 8], 0
call edi
test eax, eax
jne 0x402d48
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Normal_Online
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
mov eax, dword [0x42d670]
mov eax, dword [eax + 0x50]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push 0x80000002
call edi
test eax, eax
jne 0x402d91
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.Install_Plan
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041052e
mov esp, ebp
pop ebp
ret
Function at 0x403540
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x429280]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.00416d90
add esp, 0xc
lea eax, [esp + 0x10]
push 0
push 0x23
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x10]
push 0x425db0
push eax
call ebx
mov esi, dword [0x42d670]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4035c2
push str.HaoKan8
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x18]
lea eax, [esp + 0x14]
push eax
call ebx
push 0x425db4
lea eax, [esp + 0x14]
push eax
call ebx
push dword [edi + 8]
push dword [edi + 4]
call fcn.00405150
mov ecx, dword [0x42d67c]
push eax
call fcn.004082e0
push dword [edi + 8]
push dword [edi + 4]
call fcn.00405040
mov ecx, dword [0x42d67c]
push eax
call fcn.004082e0
push dword [edi + 8]
mov ecx, dword [0x42d67c]
lea eax, [esp + 0x14]
push dword [edi + 4]
push eax
call fcn.004082e0
push 0
push ecx
call fcn.00405150
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
push eax
call esi
push 0
push ecx
call fcn.00405040
add esp, 4
push eax
call esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403656
lea ecx, [esp + 0x10]
call fcn.00409000
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041052e
mov esp, ebp
pop ebp
ret
Function at 0x403ab0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push ecx
push 0x403970
push 0
push 0
mov dword [ecx], 0x404af0
call fcn.00410a83
mov esi, eax
add esp, 0x18
mov eax, 0x404af0
test eax, eax
jne 0x403b2b
test esi, esi
je 0x403b2b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x403b2b
cmp dword [ebp - 8], 0
jne 0x403b2b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041052e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0041052e
mov esp, ebp
pop ebp
ret 4
Function at 0x403e20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x660
mov eax, dword [0x429280]
xor eax, esp
mov dword [esp + 0x65c], eax
push esi
push edi
lea eax, [esp + 8]
mov dword [esp + 8], 0x114
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
jne 0x403fd2
cmp dword [esp + 0x10], 1
jne 0x403fd2
xor eax, eax
push 0x206
push eax
mov word [esp + 0x258], ax
lea eax, [esp + 0x25a]
push eax
call fcn.00416d90
add esp, 0xc
xor eax, eax
mov word [esp + 0x124], ax
xorps xmm0, xmm0
mov dword [esp + 0x146], eax
mov word [esp + 0x14a], ax
push 0x3a
push eax
mov word [esp + 0x154], ax
lea eax, [esp + 0x156]
push eax
movdqu xmmword [esp + 0x132], xmm0
movdqu xmmword [esp + 0x142], xmm0
call fcn.00416d90
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x130]
add esp, 0xc
push str..hkver
push eax
call esi
push 0x425d04
lea eax, [esp + 0x150]
push eax
call esi
push str..hkver
lea eax, [esp + 0x150]
push eax
call esi
call fcn.00405150
push eax
lea eax, [esp + 0x254]
push eax
call esi
lea eax, [esp + 0x14c]
push eax
lea eax, [esp + 0x254]
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x460], ax
lea eax, [esp + 0x462]
push eax
call fcn.00416d90
add esp, 0xc
call fcn.00405150
push eax
lea eax, [esp + 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call fcn.00405300
push eax
lea eax, [esp + 0x45c]
push eax
call esi
lea eax, [esp + 0x458]
push eax
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.004099b0
push 0
push 0
push 1
push 0
push 0
push 0x10000000
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x403fb0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [esp + 0x254]
push eax
call fcn.00409700
pop edi
pop esi
mov ecx, dword [esp + 0x65c]
xor ecx, esp
call fcn.0041052e
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x190], ax
lea eax, [esp + 0x192]
push eax
call fcn.00416d90
add esp, 0xc
call fcn.00405150
push eax
lea eax, [esp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x188]
push 0x425d04
push eax
call esi
push str..hkver
lea eax, [esp + 0x18c]
push eax
call esi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000004
lea eax, [esp + 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
call fcn.00409400
mov ecx, dword [esp + 0x664]
pop edi
pop esi
xor ecx, esp
call fcn.0041052e
mov esp, ebp
pop ebp
ret
Function at 0x404070
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x429280]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.00416d90
add esp, 0xc
lea eax, [esp + 8]
push 0
push 0x23
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 8]
push str.HaoKan8_Data_
push eax
call esi
lea eax, [esp + 8]
push eax
push 0x104
push edi
call fcn.00410ea9
add esp, 0xc
push str.filecache.ini
push edi
call esi
push 0
push 0
call fcn.00405150
mov ecx, dword [0x42d67c]
push eax
call fcn.004082e0
push 0
push 0
call fcn.00405040
mov ecx, dword [0x42d67c]
push eax
call fcn.004082e0
mov ecx, dword [0x42d67c]
lea eax, [esp + 8]
push 0
push 0
push eax
call fcn.004082e0
push 0
push ecx
call fcn.00405150
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
push eax
call esi
push 0
push ecx
call fcn.00405040
add esp, 4
push eax
call esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404163
lea ecx, [esp + 8]
call fcn.00409000
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.0041052e
mov esp, ebp
pop ebp
ret
Function at 0x4044d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push ecx
push 0x404440
push 0
push 0
call fcn.00410a83
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40453a
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x40453a
cmp dword [ebp - 8], 0
jne 0x40453a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041052e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0041052e
mov esp, ebp
pop ebp
ret

Function at 0x404860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x42d66c]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0x10]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258c8
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x4048a5
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [0x42d66c]
push 0
push dword [esi]
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x4258c8
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00404730
mov ecx, esi
call fcn.00404660
mov ecx, esi
call fcn.004047f0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x404bd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0xffffffffffffffeb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x404c21
mov edx, dword [eax + 0x1b4]
mov ecx, dword [eax + 0x1b8]
mov ebx, dword [eax + 0x1bc]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 4], ecx
test edx, edx
je 0x404c0f
push 0
push edx
call edi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x404c18
push 0
push ecx
call edi
test ebx, ebx
je 0x404c21
push 0
push ebx
call edi
mov eax, dword [esi]
test eax, eax
jne 0x404c64
mov ecx, esi
call fcn.00404910
push 5
mov ecx, esi
call fcn.00404860
test eax, eax
je 0x404c5b
push 0x404b70
push 0
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x404b70
push 0
push 0x40a
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x42d670]
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x405130
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push eax
call fcn.00416d90
movzx eax, word [ebp - 0xda]
push eax
movzx eax, word [ebp - 0xde]
push eax
lea eax, [ebp - 0xd0]
push str._d_02d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
push 0
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x425db0
push dword [esi + 4]
call edi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4050f8
push str.Y_vwT
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x14]
push dword [esi + 4]
call edi
cmp dword [esi + 0x38], 0
je 0x405126
push 0x42613c
push dword [esi + 4]
call edi
lea eax, [ebp - 0xd0]
push eax
push dword [esi + 4]
call edi
push 0x426140
push dword [esi + 4]
call edi
push 0x425db0
push dword [esi + 4]
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 4]
xor ecx, ebp
pop edi
pop esi
call fcn.0041052e
mov esp, ebp
pop ebp
ret