joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68461d3f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.68459650
mov eax, dword [0x684643a0]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.68460b00
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x68461e72
push 2
push esi
push dword [ebp + 8]
call fcn.68460b00
add esp, 0xc
cmp eax, ebx
je 0x68461e72
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x68461e12
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.6845eb70
push 0x8000
push dword [ebp + 8]
call fcn.68461ee1
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x68461dc8
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.6845ffea
add esp, 0xc
cmp eax, 0xffffffff
je 0x68461de8
sub edi, eax
test edi, edi
jg 0x68461dc0
jmp 0x68461e00
call fcn.6845d459
cmp dword [eax], 5
jne 0x68461dfd
call fcn.6845d450
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.68461ee1
pop ecx
pop ecx
jmp 0x68461e5a
jge 0x68461e5a
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.68460b00
push dword [ebp + 8]
call fcn.6845fd6b
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x68461e5a
call fcn.6845d450
mov dword [eax], 0xd
call fcn.6845d459
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.68460b00
add esp, 0xc
mov eax, esi
pop edi
jmp 0x68461e74
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.6845e18c
leave
ret
Function at 0x402ee0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
sub esp, 0x28c
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x288], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x8a]
push ecx
mov word [esp + 0x8c], ax
call fcn.00451570
xor edx, edx
push 0x7e
push edx
lea eax, [esp + 0x16]
push eax
mov word [esp + 0x18], dx
call fcn.00451570
add esp, 0x18
push 0x104
lea ecx, [esp + 0x84]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x80]
push 0x5c
push edx
call fcn.0044e3ec
add eax, 2
push eax
lea eax, [esp + 0xc]
push 0x40
push eax
call fcn.0044e23f
add esp, 0x14
push str.Software4399GameLoginQs60557
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [esp]
push ecx
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [esp + 0x288]
xor ecx, esp
xor eax, eax
call fcn.0044dee5
add esp, 0x28c
ret

Function at 0x402fa0
Capabilities:
Delete directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46bb45
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x491870]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
mov dword [esp + 0x220], 0
cmp eax, 0x4787ec
je 0x402ffe
mov esi, 0x4787ec
call fcn.00410990
xor ecx, ecx
cmp ecx, 0x47878c
je 0x403017
mov esi, 0x47878c
call fcn.00410990
call fcn.00410c60
xor edx, edx
cmp edx, 0x478820
je 0x40302b
mov esi, 0x478820
call fcn.00410c60
xor eax, eax
cmp eax, 0x47878c
je 0x40303e
mov ecx, 0x47878c
call fcn.00410a40
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], cx
call fcn.00451570
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.4399
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0044e2ae
lea edx, [esp + 0x18]
add esp, 0xc
push edx
call fcn.0040f510
add esp, 4
test eax, eax
jne 0x40309e
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0044dee5
add esp, 0x21c
ret
Function at 0x4030d0
Capabilities:
Create process on windows
Get common file path
Self delete

Disassembly:
sub esp, 0xd88
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0xd80], eax
push esi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00451570
add esp, 0xc
lea edx, [esp + 0x168]
push edx
xor ecx, ecx
push 0x104
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x4c], 1
mov word [esp + 0x50], cx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x168]
push eax
push 0
push str.DelSelf
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push str..bat
lea edx, [esp + 0x16c]
push 0x104
push edx
call fcn.0044f53b
add esp, 0xc
push 0x104
lea eax, [esp + 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4032c0
lea ecx, [esp + 0x60]
push 0x5c
push ecx
call fcn.0044f5b0
add esp, 8
test eax, eax
je 0x403198
lea edx, [esp + 0x60]
sub eax, edx
push eax
mov eax, edx
push eax
push 0x104
lea ecx, [esp + 0x27c]
push ecx
jmp 0x4031bc
lea eax, [esp + 0x60]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4031a0
sub eax, edx
push eax
lea edx, [esp + 0x64]
push edx
push 0x104
lea eax, [esp + 0x27c]
push eax
call fcn.0044f5dd
add esp, 0x10
push 0x104
lea ecx, [esp + 0x37c]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x27c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x378]
push eax
call fcn.0040f510
add esp, 4
cmp eax, 1
push 0
jle 0x40322a
lea ecx, [esp + 0x16c]
push ecx
lea edx, [esp + 0x68]
push edx
mov eax, edx
push eax
push 1
push str.cd_r_n:delexe_r_nping__n__d_127.0.0.1_r_ndel___s__r_nif_exist___s__goto_:delexe_r_ndel___s__r_n
lea ecx, [esp + 0x598]
push 0x800
push ecx
call fcn.0044f692
add esp, 0x20
jmp 0x403261
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x278]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x70]
push edx
mov eax, edx
push eax
push 1
push str.cd_r_n:delexe_r_nping__n__d_127.0.0.1_r_ndel___s__r_nif_exist___s__goto_:delexe_r_ndel___s___Q__F__A_r_nrd___s__r_ndel___s__r_n
lea ecx, [esp + 0x5a0]
push 0x800
push ecx
call fcn.0044f692
add esp, 0x28
lea edx, [esp + 0x580]
push edx
lea eax, [esp + 0x16c]
call fcn.004032e0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x188]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4032c0
mov eax, dword [esp + 0xc]
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
mov ecx, dword [esp + 0xd84]
pop esi
xor ecx, esp
call fcn.0044dee5
add esp, 0xd88
ret
Function at 0x4032e0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x403306
or eax, eax
pop esi
pop ecx
ret 4
mov eax, dword [esp + 0xc]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403310
push ebx
push ebp
push edi
push 2
push 0
push 0
sub eax, edx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x403357
call ebp
mov ebx, eax
test ebx, ebx
je 0x403357
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebp
pop ebx
or eax, 0xffffffff
pop esi
pop ecx
ret 4
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40338c
call ebp
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebp
pop ebx
or eax, 0xffffffff
pop esi
pop ecx
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 4

Function at 0x4035a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x38
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push str.Software4399GameLoginQs60557
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40366e
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
xor edx, edx
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
mov word [esp + 0x20], dx
lea edx, [esp + 0x18]
push edx
push 0
push 0x478e08
push eax
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x28], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ax, word [esp + 0x18]
cmp ax, word [esp + 0x28]
jne 0x403656
mov cx, word [esp + 0x1a]
cmp cx, word [esp + 0x2a]
jne 0x403656
mov dx, word [esp + 0x1e]
cmp dx, word [esp + 0x2e]
je 0x40366e
movzx esi, word [esp + 0x2c]
call fcn.00403680
test eax, eax
jne 0x40366e
mov eax, 1
pop esi
add esp, 0x38
ret
xor eax, eax
pop esi
add esp, 0x38
ret
Function at 0x403680
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push str.Software4399GameLoginQs60557
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4036b4
xor eax, eax
add esp, 0x14
ret
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.DisableDays
push edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
test eax, eax
je 0x4036ae
movzx ecx, al
cmp esi, ecx
je 0x40371c
mov edx, eax
shr edx, 8
movzx ecx, dl
cmp esi, ecx
je 0x40371c
shr eax, 0x10
movzx edx, al
cmp esi, edx
jne 0x4036ae
mov eax, 1
add esp, 0x14
ret
Function at 0x403d10
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x61c
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x618], eax
push ebx
push ebp
mov ebp, dword [esp + 0x628]
push esi
push edi
mov ebx, str.NewQs60557.exe
lea edi, [esp + 0x10]
call fcn.0040f460
lea esi, [ebp + 0xa4]
add ebp, 0xb28
push ebp
lea eax, [esi + 0x45c]
push 0x200
push eax
call fcn.0044e23f
mov ecx, edi
push ecx
lea edx, [esi + 0x85c]
push 0x104
push edx
call fcn.0044e23f
mov eax, dword [esi]
mov edx, dword [eax + 0x14c]
add esp, 0x18
mov ecx, esi
call edx
cmp eax, 1
je 0x403d94
push 4
push 0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
jmp 0x403dee
mov ebx, str.OldQs60557.exe
lea edi, [esp + 0x420]
call fcn.0040f460
push 0x104
lea ecx, [esp + 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
mov edx, edi
push edx
lea eax, [esp + 0x220]
push eax
call esi
push 1
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x18]
push edx
call esi
push 4
push 0
mov eax, edi
push eax
call esi
mov eax, 1
mov ecx, dword [esp + 0x628]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044dee5
add esp, 0x61c
ret 4

Function at 0x403e10
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.Software4399GameLoginQs60557
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x403e44
xor eax, eax
add esp, 0x1c
ret
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, dword [esp]
push 0x10
lea eax, [esp + 0xc]
push eax
push 3
push 0
push 0x478e08
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0x1c
ret

Function at 0x403e80
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x10]
push edx
push 0x403ed0
push 0
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0xf28]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0xf28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, 1
add esp, 0x14
ret
Function at 0x404680
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x270
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x268], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.00451570
add esp, 0xc
test esi, esi
jne 0x4046c8
push 0x104
lea edx, [esp + 0x64]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x4046db
push esi
lea eax, [esp + 0x64]
push 0x104
push eax
call fcn.0044e23f
add esp, 0xc
push 0x44
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00451570
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x40
push 0
push 0
mov edx, 1
mov word [esp + 0x64], dx
push 0
lea edx, [esp + 0x80]
push edx
push 0
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40473c
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov ecx, dword [esp + 0x26c]
pop esi
xor ecx, esp
call fcn.0044dee5
add esp, 0x270
ret

Function at 0x404760
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x404780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x407040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407059
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407094
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x407090
lea ebx, [ebx]
cmp esi, eax
jae 0x407094
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407080
cmp esi, eax
jb 0x40709a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x407cd0
Capabilities:
Get graphical window text
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov esi, ecx
call fcn.00412d50
mov eax, dword [esi + 0x3d8]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call edi
mov edx, dword [esi + 0x3d8]
mov eax, dword [esi + 0x20]
push edx
push 0
push 0x80
push eax
call edi
mov ecx, dword [0x496cd4]
push 0
push ecx
push 0x407910
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x496994], eax
lea eax, [esi + 0xe64]
push eax
mov dword [eax], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, esi
call fcn.00407d80
call fcn.004082b0
mov ecx, esi
call fcn.004081a0
mov edx, dword [esi + 0x20]
push 0
push 0xea60
push 8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0040c340
mov dword [esi + 0x106c], eax
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4082b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x2f8
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x2f0], eax
push edi
xor eax, eax
push 0x23e
push eax
lea ecx, [esp + 0xba]
push ecx
mov word [esp + 0xbc], ax
call fcn.00451570
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x86]
push eax
mov word [esp + 0x88], dx
call fcn.00451570
add esp, 0x18
xor eax, eax
push 0x104
lea edx, [esp + 0xb4]
push edx
xor ecx, ecx
push eax
mov word [esp + 0x6c], cx
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov dword [esp + 0x76], eax
mov word [esp + 0x7a], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x479668
lea eax, [esp + 0xb4]
push 0x120
push eax
call fcn.0044e2ae
mov edx, dword [esi + 0x20]
push 0xa
push 0x20
lea ecx, [esp + 0x84]
push ecx
push edx
call fcn.0045021a
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0xd0]
push 0x120
push ecx
call fcn.0044e2ae
mov eax, dword [esi + 0xf88]
push 0xa
push 8
lea edx, [esp + 0x90]
push edx
push eax
call fcn.0045021a
push 0x47967c
lea ecx, [esp + 0xec]
push 0x120
push ecx
call fcn.0044e2ae
add esp, 0x44
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0xb4]
push 0x120
push eax
call fcn.0044e2ae
push 0x44
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00451570
add esp, 0x18
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
mov edx, 1
push 0
mov dword [esp + 0x54], 1
mov word [esp + 0x58], dx
push 0x40
push 0
push 0
push 0
lea edx, [esp + 0xd0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x408429
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0xf7c]
push ecx
call edi
mov edx, dword [esp + 8]
mov dword [esi + 0xf7c], edx
mov ecx, dword [esp + 0x2f4]
pop edi
xor ecx, esp
call fcn.0044dee5
add esp, 0x2f8
ret

Function at 0x408440
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x2a8
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x2a0], eax
push esi
xor eax, eax
push 0x23e
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.00451570
add esp, 0xc
push 0x104
lea edx, [esp + 0x64]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.__update
lea eax, [esp + 0x64]
push 0x120
push eax
call fcn.0044e2ae
push 0x44
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00451570
add esp, 0x18
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x40
push 0
push 0
mov edx, 1
mov word [esp + 0x64], dx
push 0
lea edx, [esp + 0x80]
push edx
push 0
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4084f6
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov ecx, dword [esp + 0x2a4]
pop esi
xor ecx, esp
call fcn.0044dee5
add esp, 0x2a8
ret
Function at 0x40c340
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x234
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [str.InstallTag]
mov ecx, dword [0x478a54]
mov edx, dword [0x478a58]
mov dword [esp + 0x10], eax
mov eax, dword [0x478a5c]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x478a60]
mov dword [esp + 0x1c], eax
xor eax, eax
push 0x206
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dx, word [0x478a64]
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.00451570
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 0x47865c
lea eax, [esp + 0x2c]
push 0x104
push eax
call fcn.0044e2ae
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push 8
lea edx, [esp + 8]
push edx
push 0x478a68
lea eax, [esp + 0x20]
push eax
push str.Qs60557
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x31
xor eax, eax
cmp cx, word [esp]
mov ecx, dword [esp + 0x230]
sete al
xor ecx, esp
call fcn.0044dee5
add esp, 0x234
ret

Function at 0x40f020
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
mov esi, eax
test esi, esi
je 0x40f0dc
xor eax, eax
cmp ax, word [esi]
je 0x40f0dc
push ebp
push str.FLASH
push 0xc1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
jne 0x40f053
pop ebp
pop esi
pop ecx
ret
push ebx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x40f068
pop ebx
pop ebp
pop esi
pop ecx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40f085
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop ebp
xor eax, eax
pop esi
pop ecx
ret
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40f0c3
push ebp
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop ebp
mov eax, 1
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret