joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4062d0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x459b00
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
cmp dword [0x474f04], 0
je 0x4063ab
mov eax, dword [esp + 0x28]
cmp eax, 0x41
jne 0x406335
mov eax, dword [0x473cfc]
mov edx, dword [eax + 0xc]
mov ecx, 0x473cfc
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
push ebx
push ebp
mov dword [esp + 0x24], 0
push str._QTSvcStat__idx___lu__value___lu
jmp 0x406360
cmp eax, 0x40
jne 0x406397
mov edx, dword [0x473cfc]
mov eax, dword [edx + 0xc]
mov ecx, 0x473cfc
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push ebx
push ebp
mov dword [esp + 0x24], 1
push str._InstallStat__idx___lu__value___lu
lea edi, [esp + 0x1c]
call fcn.004073c0
mov esi, dword [esp + 0x1c]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x1c], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406397
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x474f04]
mov edx, dword [ecx]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x28]
push ebx
push ebp
push eax
call edx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x407850
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
movzx eax, word [esp + 0xc]
cmp eax, 0x3f5
jg 0x40787b
je 0x40786f
sub eax, 2
je 0x407882
sub eax, 6
je 0x407882
pop esi
pop ebx
ret
push 6
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
ret
cmp eax, 0x3f9
jne 0x4078ee
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 1
mov dword [0x473ff4], ebx
call fcn.00406c10
call fcn.0040f0f0
push 0
call fcn.00407b10
add esp, 4
push 0x40
push 0xb
call fcn.004062d0
add esp, 8
cmp dword [0x475020], 0
je 0x4078e7
mov eax, dword [0x474be8]
cmp eax, 2
je 0x4078e7
mov ecx, dword [0x474be8]
cmp ecx, 3
je 0x4078e7
push 0
push 0xc8
push 0xd
push esi
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
pop ebx
ret
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
pop ebx
ret
Function at 0x407de0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x45ab38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push edi
mov ebx, 0x4624bc
lea esi, [esp + 0x14]
call fcn.00408960
add esp, 4
push 0xe
push 0x4624c0
mov ecx, esi
mov dword [esp + 0x40], 0
call fcn.00406eb0
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x407e4e
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407e7c
cmp dword [edi + 0x18], esi
jb 0x407e6d
mov edi, dword [edi + 4]
push 5
push edi
push 0
push 0x4624c0
jmp 0x407e93
push 5
add edi, 4
push edi
push 0
push 0x4624c0
jmp 0x407e93
cmp dword [edi + 0x18], esi
jb 0x407e86
mov edi, dword [edi + 4]
jmp 0x407e89
add edi, 4
push 5
push edi
push 0
push str.QTalkWhatsnew.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x28], esi
jb 0x407eb3
mov eax, dword [esp + 0x14]
push eax
call fcn.004415cb
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004414cc
add esp, 0x2c
ret
Function at 0x408960
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45ae88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00406d10
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4089b4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00406eb0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00406d10
cmp dword [esp + 0x24], 8
jb 0x4089fa
mov eax, dword [esp + 0x10]
push eax
call fcn.004415cb
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x408ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x408af7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x408b28
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x408b24
cmp esi, eax
jae 0x408b28
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x408b14
cmp esi, eax
jb 0x408b2e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x409e10
Capabilities:
Check for peb beingdebugged flag
Check for time delay via gettickcount
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a8c6
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov dword [0x47402c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x474f0c]
push eax
push str._setup_CompleteAndContinue
lea eax, [esp + 0x54]
push 0x200
push eax
call fcn.004414db
xor edi, edi
add esp, 0x10
lea ecx, [esp + 0x30]
mov word [esp + 0x44a], di
call fcn.0042bd40
mov dword [esp + 0x458], edi
mov ebp, 7
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
jmp 0x409eb0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409eb0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x50]
push ecx
lea esi, [esp + 0x1c]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x460], 1
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x409efe
mov eax, dword [esp + 0x18]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
jae 0x409f19
lea edx, [esp + 0x34]
mov ebp, dword [0x474bb0]
cmp ebp, edi
je 0x409f60
mov eax, edx
lea esi, [eax + 2]
jmp 0x409f30
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409f30
sub eax, esi
sar eax, 1
push ebp
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x409f73
mov eax, dword [esp + 0x34]
push eax
call fcn.004415cb
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x474f0c], eax
call fcn.00406c10
mov ecx, dword [eax + 0x3c]
push edi
push 0x1f4
push 2
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.004414cc
add esp, 0x44c
ret

Function at 0x40b1e0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push eax
push 0x40a3b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x47405c], eax
ret
Function at 0x40cfc0
Capabilities:
Check for peb beingdebugged flag
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a9f6
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x558], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x570]
mov dword fs:[0], eax
push 0x118
xor edi, edi
lea eax, [esp + 0x54]
push edi
push eax
call fcn.00446fa0
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
push 3
push 2
push edi
push edi
mov dword [esp + 0x5c], 0x11c
mov dword [esp + 0x60], 6
mov dword [esp + 0x64], edi
call esi
push 3
push 1
push edx
push eax
call esi
push edx
push eax
push 3
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov ebx, eax
push ebx
push str.IsWindowsVistaOrHigher___ld_n
lea edx, [esp + 0x174]
push 0x200
push edx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x30]
mov word [esp + 0x56a], di
call fcn.0042bd40
mov dword [esp + 0x578], edi
mov ebp, 7
lea eax, [esp + 0x16c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40d0a0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x170]
push eax
lea esi, [esp + 0x1c]
call fcn.00406f80
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x580], 1
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x40d0f1
mov edx, dword [esp + 0x18]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
jae 0x40d10c
lea edx, [esp + 0x34]
mov ebp, dword [0x474bb0]
cmp ebp, edi
je 0x40d14f
mov eax, edx
lea esi, [eax + 2]
jmp 0x40d120
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40d120
sub eax, esi
sar eax, 1
push ebp
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x40d162
mov edx, dword [esp + 0x34]
push edx
call fcn.004415cb
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x570]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x558]
xor ecx, esp
call fcn.004414cc
add esp, 0x568
ret
Function at 0x40df10
Capabilities:
Create thread

Disassembly:
push ecx
push 0
push 0
push 0
push 0x40dc30
push 0
push 0
mov dword [0x474034], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x474038], eax
mov eax, 1
pop ecx
ret

Function at 0x40ef20
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [esi + 0x44]
sub esp, 0x18
cmp ecx, edx
push edi
jle 0x40ef32
xor eax, eax
pop edi
add esp, 0x18
ret
mov eax, dword [esi + 0x40]
xor edi, edi
test eax, eax
jl 0x40ef46
cmp eax, edx
jge 0x40ef46
lea eax, [eax + eax*2]
mov edi, dword [esi + eax*4 + 8]
test edi, edi
mov dword [esi + 0x40], ecx
je 0x40ef8f
lea ecx, [esp + 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push 0x41
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x40]
lea ecx, [eax + eax*2]
mov edx, dword [esi + ecx*4 + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop edi
add esp, 0x18
ret
push 0x43
push 0
push 0
push 0
push 0
lea eax, [ecx + ecx*2]
mov ecx, dword [esi + eax*4 + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 1
pop edi
add esp, 0x18
ret

Function at 0x40f720
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0
push 0
push eax
push ecx
push 0
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret
Function at 0x40f750
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45d0f1
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x474]
mov dword fs:[0], eax
mov eax, dword [esp + 0x484]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
push edi
push 4
push eax
mov dword [esp + 0x20], eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebp
call fcn.00406c70
lea esi, [esp + 0x50]
call fcn.0040f270
mov dword [esp + 0x47c], edi
cmp dword [esp + 0x64], edi
jne 0x40f8f2
push str._setup_QT
lea eax, [esp + 0x70]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x34]
mov word [esp + 0x46a], di
call fcn.0042bd40
mov byte [esp + 0x47c], 1
mov ebp, 7
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40f815
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x70]
push ecx
lea esi, [esp + 0x20]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x3c]
mov byte [esp + 0x484], 2
call fcn.00406df0
mov ebx, 8
cmp dword [esp + 0x30], ebx
jb 0x40f863
mov eax, dword [esp + 0x1c]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x4c], ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
jae 0x40f87e
lea edx, [esp + 0x38]
mov ebp, dword [0x474bb0]
cmp ebp, edi
je 0x40f8bb
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40f890
sub eax, esi
sar eax, 1
push ebp
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x4c], ebx
jb 0x40f8ce
mov eax, dword [esp + 0x38]
push eax
call fcn.004415cb
add esp, 4
mov ecx, dword [esp + 0x14]
push 4
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esp + 0x68], ebx
mov dword [0x47501c], 1
jb 0x40f949
mov edx, dword [esp + 0x54]
push edx
jmp 0x40f941
lea eax, [esp + 0x50]
push eax
call fcn.0042b4c0
add esp, 4
test eax, eax
jne 0x40f913
mov ecx, dword [esp + 0x14]
push 1
push 4
push ecx
call ebx
push eax
call ebp
jmp 0x40f935
mov edx, dword [esp + 0x14]
push 4
push edx
call dword [sym.imp.USER32.dll_EndDialog]
push 0x1f4
mov dword [0x47501c], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x68], 8
jb 0x40f949
mov eax, dword [esp + 0x54]
push eax
call fcn.004415cb
add esp, 4
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.004414cc
add esp, 0x46c
ret
Function at 0x410370
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45d7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor eax, eax
xor edi, edi
cmp ecx, edi
setne al
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
mov dword [ebx], eax
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x4103b6
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x34]
call fcn.00406f80
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x8c]
mov eax, esi
mov dword [esp + 0x58], edi
call fcn.00406d10
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x410400
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004415cb
add esp, 4
mov esi, dword [esp + 0x5c]
mov eax, esi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x410420
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x18]
call fcn.00406f80
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x1c]
mov eax, esi
mov dword [esp + 0x58], 1
call fcn.00406d10
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x41046b
mov edx, dword [esp + 0x14]
push edx
call fcn.004415cb
add esp, 4
mov ecx, dword [esp + 0x58]
push 0x10
push 0x462d28
push edi
mov edx, ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00410000
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret 8

Function at 0x4104b0
Capabilities:
Hide graphical window

Disassembly:
push ecx
test esi, esi
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4104c2
push 0
push esi
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push 0x462334
push esi
mov edx, edi
call fcn.00410000
test esi, esi
mov ebx, eax
je 0x4104e9
cmp dword [edi + 0xc], 0
je 0x4104e9
push 5
push esi
call ebp
pop ebp
mov eax, ebx
mov dword [edi + 0xc], 1
pop ebx
pop ecx
ret 8

Function at 0x410500
Capabilities:
Hide graphical window

Disassembly:
push ebx
call fcn.00406b70
mov eax, dword [eax + 0x60]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
push 0x30
push 0x7f1
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0xa4], 8
jb 0x410534
mov eax, dword [edi + 0x90]
jmp 0x41053a
lea eax, [edi + 0x90]
push eax
push 0x7f1
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp dword [edi], 0
je 0x41055f
push 5
push 0x7f1
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret
push 0
push 0x7f1
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
ret
Function at 0x4148e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x220
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push pe_nt_image_headers32
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x414922
call fcn.00406b70
mov ebx, dword [eax + 0xd4]
jmp 0x41492d
call fcn.00406b70
mov ebx, dword [eax + 0xd8]
call fcn.00406b70
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
mov ecx, ebx
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push esi
call fcn.0043aa90
push 0x200
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00446fa0
add esp, 0xc
push 0x100
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xaf6c15
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
add dword [esp + 8], 0x14
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414993
push 0x24
sub eax, edx
lea ecx, [esp + 0xc]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x21c]
pop ebx
xor ecx, esp
call fcn.004414cc
add esp, 0x220
ret
Function at 0x4151d0
Capabilities:
Check mutex on windows
Log keystrokes via application hook
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a8c6
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [0x474ef0]
push eax
push 0x42c910
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [esi]
xor edi, edi
push edi
push 0x4729b0
push 0x474c50
mov dword [0x474c7c], eax
mov dword [0x474c4c], ecx
call sub.gdiplus.dll_GdiplusStartup
push str._TXQS0824
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x415367
push 0x463e88
lea edx, [esp + 0x50]
push 0x200
push edx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0x44a], di
call fcn.0042bd40
mov dword [esp + 0x458], edi
mov ebx, 7
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4152b0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
push eax
lea esi, [esp + 0x1c]
call fcn.00406f80
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x460], 1
call fcn.00406df0
cmp dword [esp + 0x2c], 8
jb 0x4152fa
mov edx, dword [esp + 0x18]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], 8
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
jae 0x415316
lea edx, [esp + 0x34]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x41534f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x415325
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x48], 8
jb 0x415363
mov edx, dword [esp + 0x34]
push edx
call fcn.004415cb
add esp, 4
xor eax, eax
jmp 0x41536c
mov eax, 1
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.004414cc
add esp, 0x44c
ret
Function at 0x416620
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a8c6
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
xor edi, edi
cmp dword [0x474f04], edi
je 0x4167a9
push 0x464258
lea eax, [esp + 0x50]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x30]
mov word [esp + 0x44a], di
call fcn.0042bd40
mov dword [esp + 0x458], edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4166b0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x50]
push ecx
lea esi, [esp + 0x1c]
call fcn.00406f80
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x38]
mov byte [esp + 0x460], 1
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x4166fe
mov eax, dword [esp + 0x18]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x48], esi
mov edx, dword [esp + 0x34]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
jae 0x41671d
lea edx, [esp + 0x34]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x416760
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x416730
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
mov esi, 8
mov dword [esp + 0x458], 0xffffffff
cmp dword [esp + 0x48], esi
jb 0x41677e
mov eax, dword [esp + 0x34]
push eax
call fcn.004415cb
add esp, 4
mov ecx, dword [0x474f04]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 0x3e8
push 1
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
call eax
mov dword [0x474f04], edi
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.004414cc
add esp, 0x44c
ret