joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416cf0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x4f2500]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22]
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x24], cx
call fcn.004276b0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x236]
push ecx
mov word [esp + 0x238], ax
call fcn.004276b0
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add esp, 0x18
push 0x104
lea edx, [esp + 0x1c]
push edx
push str._appdata_GamePP
call esi
push 0x104
lea eax, [esp + 0x224]
push eax
push str._localappdata_GamePP
call esi
xor esi, esi
jmp 0x416d80
mov edx, dword [0x4f36ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f36ec
call eax
mov edx, dword [0x4f36ec]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4f36ec
call eax
mov ecx, dword [esi + 0x4f45b8]
push ecx
lea edx, [esp + 0x1c]
push edx
add eax, 0x10
push str._s_s
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.00404650
mov eax, dword [esi + 0x4f45b8]
push eax
lea ecx, [esp + 0x230]
push ecx
push str._s_s
lea edi, [esp + 0x24]
call fcn.00404650
mov edi, dword [esp + 0x28]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x18
push edi
call ebx
test eax, eax
je 0x416e14
mov edx, dword [esp + 0xc]
push edx
call ebx
test eax, eax
jne 0x416e14
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
push eax
mov ecx, edi
call fcn.00413360
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, 0x1c
jb 0x416d80
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042292e
mov esp, ebp
pop ebp
ret 4
Function at 0x417b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4f7054]
test eax, eax
jne 0x417b64
push str.msgbox_event
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4f7054], eax
test eax, eax
je 0x417b6b
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push 0x450
call fcn.0042336c
mov edi, eax
add esp, 4
test edi, edi
je 0x417c4c
mov ecx, edi
call sym.Setup.exe_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x60000
push 0x10cf0000
push 0x4cbd48
push esi
mov ecx, edi
mov dword [edi], vtable.CMsgBox.0
mov dword [edi + 0x10], vtable.CMsgBox.1.0
mov dword [edi + 0x20], vtable.CMsgBox.2.0
mov dword [edi + 0x24], vtable.CMsgBox.3.0
mov dword [edi + 0x28], vtable.CMsgBox.4.0
call sym.Setup.exe_protected_virtual:_int___thiscall_DuiLib::WindowImplBase::CreateMainFrame_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU_____bool_
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov eax, edi
call fcn.004175d0
push 1
mov ecx, edi
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.00417aa0
mov ecx, edi
call sym.Setup.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call fcn.00419520
add esp, 4
mov ecx, edi
call sym.Setup.exe_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_
mov eax, dword [0x4f7054]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x417c44
mov ecx, dword [0x4f7054]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4f7054], 0
mov eax, dword [0x4f7050]
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret
Function at 0x4185d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
mov eax, dword [0x4f2500]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x80a]
push edx
mov dword [ebp - 0xa60], eax
mov word [ebp - 0x80c], cx
call fcn.004276b0
mov eax, dword [0x4f7510]
add esp, 0xc
test eax, eax
jne 0x418636
push 0x24d0
call fcn.0042336c
add esp, 4
test eax, eax
je 0x41862f
mov esi, eax
call fcn.00415ef0
jmp 0x418631
xor eax, eax
mov dword [0x4f7510], eax
add eax, 0x208
lea edx, [ebp - 0x80c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x418643
lea eax, [ebp - 0x80c]
add eax, 0xfffffffe
jmp 0x418660
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x418660
mov ecx, dword [str.SDK.]
mov edx, dword [0x4cfc50]
mov dword [eax], ecx
mov ecx, dword [0x4cfc54]
mov dword [eax + 4], edx
mov edx, dword [0x4cfc58]
mov dword [eax + 8], ecx
mov cx, word [0x4cfc5c]
mov dword [eax + 0xc], edx
lea edx, [ebp - 0xa5c]
mov word [eax + 0x10], cx
push edx
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4187c0
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov ecx, 0x4cbc2c
lea eax, [ebp - 0xa30]
jmp 0x4186d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4186f6
test dx, dx
je 0x4186f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4186f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4186d0
xor eax, eax
jmp 0x4186fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x418748
mov ecx, 0x4cbc30
lea eax, [ebp - 0xa30]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418736
test dx, dx
je 0x418732
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418736
add eax, 4
add ecx, 4
test dx, dx
jne 0x418710
xor eax, eax
jmp 0x41873b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x418748
test byte [ebp - 0xa5c], 0x10
jne 0x418778
lea ecx, [ebp - 0xa5c]
push ecx
push edi
call esi
test eax, eax
jne 0x4186c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042292e
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0xa30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418781
mov ecx, dword [ebp - 0xa60]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xa30]
call fcn.004095a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042292e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0042292e
mov esp, ebp
pop ebp
ret 4
Function at 0x4187e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa7c
mov eax, dword [0x4f2500]
xor eax, esp
mov dword [esp + 0xa78], eax
push ebx
push esi
xor eax, eax
push edi
xor ebx, ebx
mov word [esp + 0x14], ax
push ebx
mov eax, 0x4cb44c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
call fcn.00409860
lea ecx, [esp + 0x14]
push ecx
call fcn.004185d0
test eax, eax
jne 0x41885a
cmp dword [esp + 0x28], 8
jb 0x418843
mov edx, dword [esp + 0x14]
push edx
call fcn.00423310
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa78]
xor ecx, esp
call fcn.0042292e
mov esp, ebp
pop ebp
ret
push 0x7fe
lea ecx, [esp + 0x286]
xor eax, eax
push ebx
push ecx
mov byte [esp + 0x1b], 1
mov word [esp + 0x28c], ax
call fcn.004276b0
mov eax, dword [0x4f7510]
add esp, 0xc
cmp eax, ebx
jne 0x4188a9
push 0x24d0
call fcn.0042336c
add esp, 4
cmp eax, ebx
je 0x4188a2
mov esi, eax
call fcn.00415ef0
jmp 0x4188a4
xor eax, eax
mov dword [0x4f7510], eax
add eax, 0x1e78
lea edx, [esp + 0x280]
sub edx, eax
jmp 0x4188c0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4188c0
lea eax, [esp + 0x280]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4188e0
mov edx, dword [0x4cbc14]
mov ecx, dword [0x4cbc18]
mov dword [eax], edx
mov dx, word [0x4cbc1c]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x418a26
lea ebx, [ebx]
mov ecx, 0x4cbc2c
lea eax, [esp + 0x5c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x418966
cmp dx, bx
je 0x418962
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x418966
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x418940
xor eax, eax
jmp 0x41896b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x418a05
mov ecx, 0x4cbc30
lea eax, [esp + 0x5c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4189a6
cmp dx, bx
je 0x4189a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4189a6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x418980
xor eax, eax
jmp 0x4189ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x418a05
test byte [esp + 0x30], 0x10
je 0x418a05
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0x14]
jae 0x4189c5
lea edi, [esp + 0x14]
cmp dword [0x4f7510], ebx
jne 0x4189f6
push 0x24d0
call fcn.0042336c
add esp, 4
cmp eax, ebx
je 0x4189f0
mov esi, eax
call fcn.00415ef0
mov esi, dword [esp + 0x10]
mov dword [0x4f7510], eax
jmp 0x4189f6
mov dword [0x4f7510], ebx
lea edx, [esp + 0x5c]
push edx
push edi
call fcn.004145d0
test eax, eax
jg 0x418a1b
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418930
jmp 0x418a1f
mov byte [esp + 0xf], bl
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x28], 8
jb 0x418a3a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00423310
add esp, 4
mov ecx, dword [esp + 0xa84]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042292e
mov esp, ebp
pop ebp
ret
Function at 0x418b50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
cmp dword [0x4f7510], 0
push esi
push edi
mov edi, eax
jne 0x418b8c
push 0x24d0
call fcn.0042336c
add esp, 4
test eax, eax
je 0x418b82
mov esi, eax
call fcn.00415ef0
mov dword [0x4f7510], eax
jmp 0x418b8c
mov dword [0x4f7510], 0
mov eax, dword [0x4f36ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f36ec
call edx
add eax, 0x10
cmp dword [ebp + 8], 0
push edi
mov dword [ebp - 8], eax
lea edi, [ebp - 8]
je 0x418bb2
push str._s__main
jmp 0x418bb7
push str._s__start
call fcn.00404650
add esp, 8
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [ebp - 0x64], 0x44
call fcn.004276b0
mov esi, dword [ebp - 8]
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
push esi
mov ecx, 1
push 0
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], cx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418c22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x418d80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4f2500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x228
lea ecx, [ebp - 0x22c]
push 0
push ecx
mov dword [ebp - 0x238], eax
call fcn.004276b0
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x234], esi
cmp esi, 0xffffffff
je 0x418e55
lea edx, [ebp - 0x230]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x418e4e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x418e00
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00424db2
add esp, 8
test eax, eax
jne 0x418e3a
mov edx, dword [ebp - 0x228]
push edx
push eax
push 1
call edi
mov esi, eax
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418e00
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0042292e
mov esp, ebp
pop ebp
ret 4

Function at 0x418fa0
Capabilities:
Create thread

Disassembly:
xor edx, edx
push edi
mov edi, 0x4191f0
lea eax, [esi + 8]
test edi, edi
mov dword [esi], vtable.CSimpleThread.0
mov dword [esi + 0x18], 0x4191f0
mov dword [esi + 0x1c], ecx
mov dword [esi + 4], edx
mov dword [eax], 0xffffffff
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
pop edi
je 0x418fe7
push eax
push edx
push ecx
push 0x4191f0
push edx
push edx
call fcn.00425c3f
add esp, 0x18
mov dword [esi + 4], eax
mov eax, esi
ret
Function at 0x419110
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x419135
test byte [ebp - 4], 7
je 0x419135
mov eax, 1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esp, ebp
pop ebp
ret 4

Function at 0x4192d0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4f2500]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [esi], 0
mov eax, dword [ebp + 8]
je 0x41937e
test eax, eax
je 0x419321
cmp word [eax], 0
je 0x419321
push 0
push 0
push eax
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x41937e
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042292e
mov esp, ebp
pop ebp
ret 4
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.004276b0
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [ebp - 0x414]
push edx
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
test eax, eax
js 0x41937e
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042292e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0042292e
mov esp, ebp
pop ebp
ret 4

Function at 0x419460
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f2500]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004276b0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push str._localappdata_GamePPGamePPConfig.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, dword [0x4f36ec]
mov eax, dword [edx + 0xc]
mov ecx, 0x4f36ec
call eax
mov ecx, dword [ebp + 8]
push ecx
add eax, 0x10
push 0x4cfc94
lea edi, [ebp - 0x210]
mov dword [ebp - 0x210], eax
call fcn.00404650
mov esi, dword [ebp - 0x210]
add esp, 8
lea edx, [ebp - 0x20c]
push edx
push esi
push str.WithWindowStart
push str.GPPSHOW
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x41950e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042292e
mov esp, ebp
pop ebp
ret
Function at 0x41a3a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebx]
push esi
mov esi, dword [ecx - 0x10]
push edi
xor edi, edi
lea eax, [ecx - 0x10]
mov dword [ebp - 4], edi
cmp dword [eax + 4], edi
je 0x41a401
cmp dword [eax + 0xc], edi
lea edx, [eax + 0xc]
jge 0x41a3dd
cmp dword [ecx - 8], edi
jge 0x41a3d1
push 0x80070057
call fcn.00402e50
mov dword [ecx - 0xc], edi
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax], cx
jmp 0x41a401
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a3f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebx], eax
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x41a41d
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
call fcn.00425ae6
mov esi, eax
add esp, 4
test esi, esi
je 0x41a415
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41a47b
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0x4cb7dc
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
mov edi, ebx
call fcn.00404650
add esp, 0x14
push esi
call fcn.004251be
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41ae30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4f2500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4f36ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x4f36ec
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004276b0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x20019
push 0
push 0x4cda5c
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41af06
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x210]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push str.ChannelID
push eax
mov dword [ebp - 0x214], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41aee6
push ebx
sub eax, edx
lea edx, [ebp - 0x20c]
sar eax, 1
push edx
push esi
mov ebx, eax
call fcn.00403580
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0042292e
mov esp, ebp
pop ebp
ret
Function at 0x421db6
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x4b4361
call fcn.0042684d
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x421ead
cmp byte [esi + 0x4a], bl
je 0x421ead
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x421df2
xor al, al
jmp 0x421eaf
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00421b7c
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x421e50
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x421e55
dec eax
je 0x421e59
dec eax
dec eax
je 0x421ea9
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004027b0
mov al, bl
jmp 0x421eaf
mov edx, dword [ebp - 0x2c]
jmp 0x421e1b
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x421e65
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x421e8b
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x421e78
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.004283a2
add esp, 0x10
cmp edi, eax
jne 0x421e3e
cmp byte [esi + 0x4a], 0
je 0x421ea9
test edi, edi
jne 0x421e0d
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00402610
jmp 0x421e0d
mov bl, 1
jmp 0x421e40
mov al, 1
call fcn.00426897
ret

Function at 0x42292e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f2500]
jne 0x422938
repz ret
jmp fcn.0042a8df
Function at 0x4380ea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f2500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042bb59
and dword [ebp - 0x14], 0
cmp dword [0x4f5eb4], 0
mov dword [ebp - 0x18], eax
jne 0x43819d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x438245
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4bb67c
push ebx
call edi
test eax, eax
je 0x438245
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4f5eb4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4f5eb8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4f5ebc], eax
call edi
push eax
call esi
mov dword [0x4f5ec4], eax
test eax, eax
je 0x43819d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4f5ec0], eax
mov eax, dword [0x4f5ec0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4381f6
cmp dword [0x4f5ec4], ecx
je 0x4381f6
push eax
call esi
push dword [0x4f5ec4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4381f6
test ebx, ebx
je 0x4381f6
call edi
test eax, eax
je 0x4381ed
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4381ed
test byte [ebp - 8], 1
jne 0x4381f6
or dword [ebp + 0x10], 0x200000
jmp 0x438229
mov eax, dword [0x4f5eb8]
cmp eax, dword [ebp - 0x18]
je 0x438229
push eax
call esi
test eax, eax
je 0x438229
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x438229
mov eax, dword [0x4f5ebc]
cmp eax, dword [ebp - 0x18]
je 0x438229
push eax
call esi
test eax, eax
je 0x438229
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4f5eb4]
call esi
test eax, eax
je 0x438245
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x438247
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042292e
leave
ret
Function at 0x4469e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x446a01
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x446a19
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x446a31
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x446a47
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x446a5f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret