joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2961
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.00406540
mov ecx, eax
test ecx, ecx
je 0x41c7a4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c765
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c757
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41c765
add eax, 0x10
push 0x5271e4
push eax
mov dword [ebp - 0x20], eax
call fcn.0041d528
mov esi, eax
add esp, 8
test esi, esi
je 0x41c765
push dword [ebp - 0x20]
push 0
push esi
call fcn.004b2d00
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41c71a
push esi
call fcn.0041d4ad
add esp, 4
jmp 0x41c765
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c720
sub ecx, edx
sar ecx, 1
je 0x41c74e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c736
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00408a80
push esi
call fcn.0041d4ad
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41c765
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c784
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d327
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00405ce0
int3
Function at 0x41c7b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41c7d4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x41c836
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x41c836
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41c851
mov ecx, dword [eax]
push eax
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.0041d327
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41ed40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2b3f
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5211e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.00406540
mov ecx, eax
test ecx, ecx
je 0x41eef4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.00406540
mov ecx, eax
test ecx, ecx
je 0x41eefe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.00406540
mov ecx, eax
test ecx, ecx
je 0x41ef08
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 4
mov dword [esi + 0x10], eax
test edx, edx
jne 0x41ee18
xor ecx, ecx
jmp 0x41ee30
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ee20
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00408a80
push edi
mov ecx, ebx
call fcn.0040e660
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x41ee4c
xor ecx, ecx
jmp 0x41ee64
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ee54
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00408a80
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.0041fda0
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.0040e660
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41eea5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x41eede
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41eede
cmp dword [esi + 0x10], 0
je 0x41eed5
push dword [edi]
call fcn.004c30e2
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00405ce0
push 0x80004005
call fcn.00405ce0
push 0x80004005
call fcn.00405ce0
int3
Function at 0x41fbc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2c58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x41fd21
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.__set_log_lev0
push edi
call ebx
test eax, eax
je 0x41fc18
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 4]
jmp 0x41fd21
push str.__set_log_lev1
push edi
call ebx
test eax, eax
je 0x41fc32
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
jmp 0x41fd21
push str.__set_log_lev2
push edi
call ebx
test eax, eax
je 0x41fc4c
mov eax, dword [esi]
mov ecx, esi
push 2
call dword [eax + 4]
jmp 0x41fd21
push str.__set_log_lev3
push edi
call ebx
test eax, eax
je 0x41fc66
mov eax, dword [esi]
mov ecx, esi
push 3
call dword [eax + 4]
jmp 0x41fd21
push str.__reload_log_switch
push edi
call ebx
test eax, eax
je 0x41fd21
push 3
mov ecx, esi
call fcn.0041fb80
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403fd0
push 0x4ef788
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00421580
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41fcbe
push 0
mov ecx, esi
call fcn.0041fb80
lea eax, [esi + 0x2c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41fccf
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x44], 0
mov byte [ebp - 4], 1
je 0x41fd11
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x41fd11
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
call eax
test al, al
je 0x41fd11
push str._______log_reload_switch
lea ecx, [ebp - 0x44]
call fcn.0040fc00
mov ecx, dword [esi + 0x44]
lea edx, [ebp - 0x44]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x44]
call fcn.00404ca0
lea ecx, [ebp - 0x2c]
call fcn.0041eff0
lea ecx, [ebp - 0x28]
call fcn.00404ca0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d327
mov esp, ebp
pop ebp
ret 4
Function at 0x421b80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2f9b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi]
mov eax, dword [ebp + 8]
push eax
call dword [edx]
cmp byte [edi + 0xc], 0
je 0x421cb6
mov ebx, dword [edi + 0x14]
lea esi, [edi + 0x20]
push 0x180
push 0x40
push 0x8109
push ebx
push esi
call fcn.004c39f0
add esp, 0x14
mov dword [ebp - 0xac], eax
test eax, eax
je 0x421c96
push 0x98
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.004b2d00
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
push 2
call fcn.0041ebc0
push 0x4ef4fc
push dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push str._error.__
push ebx
push str.open
push eax
call fcn.00403110
add esp, 8
push eax
call fcn.00403110
add esp, 8
push eax
call fcn.00403110
add esp, 8
mov ecx, eax
call fcn.0041f170
push eax
call fcn.00403110
add esp, 8
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00421ac0
cmp dword [eax + 0x14], 8
jb 0x421c79
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xd8]
call fcn.00404ca0
lea ecx, [ebp - 0xa8]
call fcn.004055c0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x421cac
push 2
push 0
push eax
call fcn.004c3e19
add esp, 0xc
jmp 0x421caf
or eax, 0xffffffff
mov dword [edi + 8], eax
mov byte [edi + 0xc], 0
mov eax, dword [edi + 4]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x421dd4
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor bl, bl
push 0
push eax
call esi
test eax, eax
movzx edx, bl
mov ecx, 1
cmove edx, ecx
mov dword [ebp - 0xac], edx
test dl, dl
jne 0x421d09
cmp dword [ebp + 0xc], 0
je 0x421d01
push 0xffffffffffffffff
push dword [edi + 4]
call esi
mov byte [ebp - 0xac], 1
jmp 0x421d09
test dl, dl
je 0x421dd4
lea ecx, [edi + 0x24]
mov dword [ebp - 0xb8], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
cmp eax, ecx
je 0x421dad
mov esi, dword [ecx]
mov dword [ecx], 0
mov edx, dword [ecx + 4]
mov dword [ecx + 4], 0
mov eax, dword [ecx + 8]
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xb0], eax
mov dword [ecx + 8], 0
cmp esi, edx
je 0x421dad
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x421d7a
mov ecx, dword [esi]
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x421d99
push dword [esi + 0x10]
push ecx
push eax
call fcn.004c43cf
mov edx, dword [ebp - 0xbc]
add esp, 0xc
mov ecx, eax
jmp 0x421d9c
or ecx, 0xffffffff
mov ebx, dword [edi + 8]
add esi, 0x18
add ebx, ecx
mov dword [edi + 8], ebx
cmp esi, edx
jne 0x421d70
jmp 0x421db0
mov ebx, dword [edi + 8]
lea ecx, [ebp - 0xb8]
call fcn.0041cf90
cmp byte [ebp - 0xac], 0
je 0x421dd0
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, ebx
jmp 0x421dd7
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d327
mov esp, ebp
pop ebp
ret 8
Function at 0x4243c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3168
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5211e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0041d466
mov edi, eax
add esp, 4
test edi, edi
je 0x424464
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00414e9c
add esp, 4
mov dword [edi + 4], eax
jmp 0x424466
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.004128a0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4244c7
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4244c7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x4244ea
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x42450d
cmp byte [ebp + 0xc], 0
je 0x4244f9
push esi
call fcn.00415448
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x424519
mov esi, str.ios_base::badbit_set
jmp 0x424529
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.0040b710
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00404800
push 0x5154e4
lea eax, [ebp - 0x30]
push eax
call fcn.004b2f0d
int3

Function at 0x426690
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x4266b5
or esi, 1
push 1
call edi
test ax, ax
jns 0x4266c1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4266cd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4266d9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x439fe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x43a04d
cmp dword [ebp + 8], 0x100
jne 0x43a03d
cmp word [ebp + 0xc], 0xd
jne 0x43a03d
cmp byte [esi + 0x59a], 0
je 0x43a01e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x43a03d
cmp byte [esi + 0x59b], 0
jne 0x43a03d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x43a036
push 0
push 0
push 0
push str.return
push esi
call fcn.00428a50
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x594]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x43fbc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x43fbf8
push 0x18
call fcn.0041d466
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x43fc34
mov ecx, eax
call fcn.0043fc40
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.0041d466
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x43fc34
mov dword [eax], vtable.CGDIPlusImageImpl.0
mov dword [eax + 4], 6
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441d70
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4398
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x441f1e
cmp ebx, 7
jb 0x441f1e
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x441e78
test esi, esi
je 0x441ddc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x28]
push eax
call fcn.00478480
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x441e2b
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00404ca0
mov eax, esi
jmp 0x441f20
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push ebx
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.00404ca0
mov eax, esi
jmp 0x441f20
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.004b2f80
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x441ea0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x10], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 0x30]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x441ee6
lea eax, [ebp - 0x2c]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 0x2c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
jmp 0x441ee8
xor esi, esi
mov dword [edi + 0x10], esi
test esi, esi
je 0x441f0b
mov ecx, esi
call fcn.004418a0
mov ecx, dword [edi + 0x10]
mov dword [edi + 8], eax
call fcn.00441850
mov dword [edi + 0xc], eax
mov esi, 1
jmp 0x441f0d
xor esi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x441f1a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x441f20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d327
mov esp, ebp
pop ebp
ret 8

Function at 0x4429a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x10], 0
jne 0x4429af
xor eax, eax
pop ebp
ret 4
pop ebp
jmp fcn.00441520
Function at 0x455ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e344b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004553f0
mov ecx, dword [edi + 0x14]
mov edx, 0x40000080
movups xmm0, xmmword [ebp - 0xa8]
push 0
sub esp, 0x10
cmp byte [ecx + 0x579], 0
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, 0x400000a0
cmove eax, edx
push eax
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.004263d0
push eax
mov ecx, edi
call fcn.004299b0
mov esi, dword [edi + 0x14]
mov ecx, esi
call fcn.00454040
push eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x20]
call eax
mov ecx, eax
call fcn.004260d0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x14]
push 0
push dword [eax + 0x574]
push 0xc5
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
cmp byte [ecx + 0x579], 0
je 0x455bce
movzx eax, word [ecx + 0x57a]
push 0
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [eax + 0x2c]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004263d0
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00404ba0
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
push 0
push 3
push 0xd3
mov ecx, edi
call fcn.00429f80
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x114]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x14]
xor ecx, ecx
push 0
cmp byte [eax + 0x578], 1
sete cl
push ecx
push 0xcf
push dword [edi + 4]
call esi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx + 0x794]
or ecx, eax
push ecx
push 0xfffffffffffffff0
mov ecx, edi
call fcn.004297f0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d327
mov esp, ebp
pop ebp
ret 4
Function at 0x455cc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5211e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x1c], 0
je 0x455d2e
cmp dword [esi + 0x14], 0
je 0x455d2e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0041da10
mov ebx, esp
test ebx, ebx
je 0x455d2e
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push ebx
add ecx, 0x1d4
call fcn.0042b4c0
mov ecx, dword [esi + 0x14]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x20]
mov ecx, eax
call fcn.00428a50
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d327
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4683f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 1
jne 0x468430
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebx
mov ecx, dword [esi + 0x1c]
mov edi, eax
call fcn.0042dec0
call ebx
sub eax, edi
xor ecx, ecx
mov edi, dword [esi + 0x28]
sub edi, eax
cmp eax, dword [esi + 0x28]
cmovl ecx, edi
push ecx
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x24], 1
je 0x468401
pop edi
pop ebx
pop esi
ret