joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4154a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa74
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push edi
push 0x800
push 0
push eax
call fcn.0049b560
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x808]
add esp, 0xc
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4154e0
lea ecx, [ebp - 0x808]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x415500
mov eax, dword [str..]
mov dword [ecx], eax
mov eax, dword [0x4dd600]
mov dword [ecx + 4], eax
mov ax, word [0x4dd604]
mov word [ecx + 8], ax
lea eax, [ebp - 0xa70]
push eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x415562
push 0x4dd87c
call fcn.00410df0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
mov ecx, 0x4dd608
lea eax, [ebp - 0xa44]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4155a6
test dx, dx
je 0x4155a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4155a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x415580
xor eax, eax
jmp 0x4155ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x4156b9
mov eax, 0x4dd274
lea ecx, [ebp - 0xa44]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4155e6
test dx, dx
je 0x4155e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4155e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4155c0
xor eax, eax
jmp 0x4155eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4156b9
test byte [ebp - 0xa70], 0x10
je 0x4156b9
lea ecx, [ebp - 0xa44]
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x810], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x80c], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415627
sub ecx, edx
lea eax, [ebp - 0xa44]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x820]
call fcn.00416200
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x41566e
movups xmm0, xmmword [ebp - 0x820]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x810]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x4156b9
lea ecx, [ebp - 0x820]
push ecx
push eax
mov ecx, esi
call fcn.00416570
mov edx, dword [ebp - 0x80c]
cmp edx, 8
jb 0x4156b9
mov ecx, dword [ebp - 0x820]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4156af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4156ea
push edx
push ecx
call fcn.0049789c
add esp, 8
lea eax, [ebp - 0xa70]
push eax
push edi
call ebx
test eax, eax
jne 0x415570
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049765c
mov esp, ebp
pop ebp
ret 8
call fcn.0049e530
int3
Function at 0x4156f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa5c
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
call fcn.004031c0
mov ecx, eax
test ecx, ecx
je 0x41592f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0xa5c]
push 0x4dd888
mov dword [ebp - 0xa5c], eax
call fcn.004034f0
test al, al
jne 0x41574c
push 3
push 0x4dd888
lea ecx, [ebp - 0xa5c]
call fcn.00403760
push 0x800
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.0049b560
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x808]
add esp, 0xc
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x415770
lea ecx, [ebp - 0x808]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x415790
mov eax, dword [str..]
mov dword [ecx], eax
mov eax, dword [0x4dd600]
mov dword [ecx + 4], eax
mov ax, word [0x4dd604]
mov word [ecx + 8], ax
lea eax, [ebp - 0xa58]
push eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x415811
push 0x4dd87c
call fcn.00410df0
add esp, 4
lea eax, [ebp - 0xa5c]
mov ecx, ebx
push eax
call fcn.00403f10
mov edx, dword [ebp - 0xa5c]
or eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41591a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41591a
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
mov ecx, 0x4dd608
lea eax, [ebp - 0xa2c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415856
test dx, dx
je 0x415852
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415856
add eax, 4
add ecx, 4
test dx, dx
jne 0x415830
xor eax, eax
jmp 0x41585b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4158a8
mov ecx, 0x4dd274
lea eax, [ebp - 0xa2c]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415896
test dx, dx
je 0x415892
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415896
add eax, 4
add ecx, 4
test dx, dx
jne 0x415870
xor eax, eax
jmp 0x41589b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4158a8
test byte [ebp - 0xa58], 0x10
jne 0x4158bc
lea eax, [ebp - 0xa58]
push eax
push edi
call esi
test eax, eax
jne 0x415820
jmp 0x4158e7
lea ecx, [ebp - 0xa2c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4158c5
sub ecx, edx
lea eax, [ebp - 0xa2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa5c]
call fcn.00403760
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0xa5c]
mov ecx, ebx
push eax
call fcn.00403f10
mov esi, dword [ebp - 0xa5c]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41591a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049765c
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402f10
int3
Function at 0x417fe0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
cmp dword [0x506568], 0
push esi
jne 0x41800f
push 0x20d0
call fcn.0049786c
add esp, 4
mov ecx, eax
call fcn.00414c70
mov ecx, eax
mov dword [0x506568], eax
mov edx, dword [eax]
call dword [edx]
call fcn.004031c0
mov ecx, eax
test ecx, ecx
je 0x4180b0
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov ecx, str._s__main
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], eax
mov eax, str._s__start
cmovne eax, ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.004040c0
add esp, 0xc
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 0x5c]
push 0x40
push 0
push eax
call fcn.0049b560
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, 1
mov dword [ebp - 0x34], 1
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4180a9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402f10
int3

Function at 0x4180c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x22c]
push edi
push 0x228
push 0
push eax
mov dword [ebp - 0x234], esi
call fcn.0049b560
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x418175
push ebx
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x418171
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004a4268
add esp, 8
test eax, eax
jne 0x41815f
push dword [ebp - 0x228]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418128
push edi
call ebx
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0049765c
mov esp, ebp
pop ebp
ret 4

Function at 0x4183e0
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 0x418405
test byte [ebp - 4], 7
je 0x418405
mov eax, 1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x418520
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4185d4
cmp word [esi], 0
je 0x4185d4
test eax, eax
je 0x41857e
cmp word [eax], 0
je 0x41857e
push 0
push 0
push eax
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
js 0x4185d4
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 8
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0049b560
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0
push 0x104
push eax
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
test eax, eax
js 0x4185d4
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049765c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0049765c
mov esp, ebp
pop ebp
ret 8

Function at 0x4185f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x41860e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], 0
je 0x418758
push 0x1418
call fcn.0049786c
mov ecx, dword [ebp + 8]
mov ebx, eax
push 0x1000
push 0
lea esi, [ebx + 4]
mov dword [ebx], ecx
push esi
mov dword [ebx + 0x1414], 1
call fcn.0049b560
add esp, 0x10
mov ecx, 0x800
sub edi, esi
nop dword [eax]
lea eax, [ecx + 0x7ffff7fe]
test eax, eax
je 0x418677
movzx eax, word [edi + esi]
test ax, ax
je 0x418670
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x418650
jmp 0x418674
test ecx, ecx
jne 0x418677
sub esi, 2
xor eax, eax
push 0x410
mov word [esi], ax
lea esi, [ebx + 0x1004]
push eax
push esi
call fcn.0049b560
mov edx, dword [ebp + 0x10]
add esp, 0xc
test edx, edx
je 0x4186de
mov ecx, 0x208
sub edx, esi
nop
lea eax, [ecx + 0x7ffffdf6]
test eax, eax
je 0x4186c7
movzx eax, word [edx + esi]
test ax, ax
je 0x4186c0
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x4186a0
jmp 0x4186c4
test ecx, ecx
jne 0x4186c7
sub esi, 2
xor eax, eax
mov word [esi], ax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
jmp 0x4186fe
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xffffffff
push eax
push 0
push ebx
push 0x4184c0
push 0
push 0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], 0x4184c0
mov dword [esp + 0x28], vtable.CSimpleThread.0
call fcn.004aa455
add esp, 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], vtable.CSimpleThread.0
test eax, eax
je 0x418761
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x10]
push edi
call fcn.00418520
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x418790
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.0049b560
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push str._localappdata_GamePPGamePPConfig.ini
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call fcn.004031c0
mov ecx, eax
test ecx, ecx
je 0x418846
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push esi
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x214]
push 0x4ddc74
push eax
call fcn.004040c0
mov esi, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
add esp, 0xc
push eax
push esi
push str.WithWindowStart
push str.GPPSHOW
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x418837
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049765c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402f10
int3
Function at 0x41a680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.004031c0
mov ecx, eax
test ecx, ecx
je 0x41a763
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x208
mov dword [esi], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0049b560
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push 0x4dc0e0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a752
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.ChannelID
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a734
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403760
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049765c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402f10
int3
Function at 0x41a770
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5023a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x228
lea eax, [ebp - 0x22c]
mov edi, ecx
push 0
push eax
call fcn.0049b560
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41a7d5
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049765c
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x41a89e
call fcn.004031c0
test eax, eax
je 0x41a8e3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x234]
push edi
mov dword [ebp - 0x234], eax
call fcn.004034f0
test al, al
jne 0x41a84c
test edi, edi
jne 0x41a82b
xor eax, eax
jmp 0x41a83f
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a830
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x234]
call fcn.00403760
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004a4268
add esp, 8
add esi, 0xfffffff0
test eax, eax
je 0x41a8b8
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41a87e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41a7f6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049765c
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41a8cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0049765c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402f10
int3

Function at 0x41b190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x41b1c1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x41b1b0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x422b20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x50], 0
je 0x422b91
cmp byte [esi + 0x60], 0
je 0x422b76
cmp dword [esi + 0x54], 8
lea eax, [esi + 0x40]
jb 0x422b3e
mov eax, dword [eax]
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x422b75
lea ecx, [esi + 0x64]
push ecx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
cmp byte [esi + 0x59], 0
je 0x422b91
cmp dword [esi + 0x54], 8
lea eax, [esi + 0x40]
jb 0x422b87
mov eax, dword [eax]
push dword [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x426be0
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 0x426c01
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 0x426c19
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 0x426c31
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 0x426c47
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 0x426c5f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42b800
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
je 0x42b842
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x10c]
je 0x42b842
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x11c], 0
jne 0x42b842
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0x10c]
jne 0x42b855
jmp 0x42b9b1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10c], 0
je 0x42b8db
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x28], 0x14
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10c]
mov eax, dword [ebp - 4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10c]
mov eax, dword [edx + 0x108]
call eax
push 0
push 0
push 0
push str.killfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10c]
push edx
mov ecx, dword [ebp - 4]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov eax, dword [ebp - 4]
mov dword [eax + 0x10c], 0
cmp dword [ebp + 8], 0
jne 0x42b8e6
jmp 0x42b9b1
cmp dword [ebp + 8], 0
je 0x42b9b1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x42b9b1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc8]
call eax
movzx ecx, al
test ecx, ecx
je 0x42b9b1
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xd4]
call edx
movzx eax, al
test eax, eax
je 0x42b9b1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x10c], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x15
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10c]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x10c]
mov edx, dword [eax + 0x108]
call edx
push 0
push 0
push 0
push str.setfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10c]
push ecx
mov ecx, dword [ebp - 4]
call sym.Setup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov esp, ebp
pop ebp
ret 4
Function at 0x440f50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 4], eax
push 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44102a
push 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x44102a
cmp dword [ebp - 0x24], 0x10
jne 0x440ff6
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 4]
jne 0x440ff6
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x28]
push edx
call sym.Setup.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
add esp, 4
movzx eax, al
test eax, eax
jne 0x44101d
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x24], 0x12
jne 0x441025
jmp 0x44102a
jmp 0x440fa4
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x24], 0x12
jne 0x441050
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret