joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430600
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47c868
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x430639
inc eax
mov dword [esi + 0x10], eax
jmp 0x43074c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43064d
mov eax, 0xffffffc7
jmp 0x43074e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43065e
cmp dword [esi + 8], eax
jne 0x43064d
cmp dword [esi + 8], eax
jne 0x430677
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x430677
mov eax, 0xffffffc7
jmp 0x43074e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43068b
push eax
mov ecx, ebx
call fcn.0042fe30
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402910
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4306bc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402930
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042f5a0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4306ef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x480240
call fcn.00402b10
mov eax, dword [esp + 0x38]
jmp 0x43074e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00430460
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x430733
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00430480
mov esi, eax
test esi, esi
jne 0x430763
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00430460
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x430705
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x480240
call fcn.00402b10
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x480240
call fcn.00402b10
mov eax, esi
jmp 0x43074e

Function at 0x433870
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4338d0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4338d0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4338d0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4338d0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x433910
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43fed0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47ce98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00475fd2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043f870
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00475f00
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004727c1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004727c1
push 1
push 0
push 0
mov ecx, esi
call fcn.00472769
push 1
push 0
push 1
mov ecx, esi
call fcn.00472769
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00476044
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x440050
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47ceb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00475fd2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043f870
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00475f00
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x440114
cmp dword [esp + 0x40], 1
jne 0x440112
cmp ecx, eax
jge 0x440114
mov eax, ecx
cmp eax, 0xc8
jge 0x440120
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043fed0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00476044
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x440890
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47cf23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00470be1
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047627a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00477796
test eax, eax
je 0x4409ac
mov ecx, dword [esp + 0x3c]
call fcn.004762a7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x440970
push edi
mov ecx, esi
call fcn.0047390c
mov ecx, esi
call fcn.00440b10
cmp dword [esp + 0x38], 1
jne 0x4409a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00473a47
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4433d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443403
push esi
call fcn.00451710
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4433fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443489
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443472
mov eax, dword [esi + 8]
test eax, eax
je 0x443427
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44346e
cmp eax, 2
je 0x443472
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44341a
cmp eax, 3
je 0x44344d
cmp eax, 1
jne 0x44341a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44341a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44341a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004434b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443498
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004434b0
add esp, 4
pop esi
ret

Function at 0x443d20
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x443d41
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x443d41
mov eax, dword [eax + 0x44]
test eax, eax
je 0x443d41
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4719d7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x471a0f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046fa8e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046fa66
jmp 0x471a1b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4730c9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47310b
call fcn.00478b81
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47310b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473102
xor eax, eax
jmp 0x473113
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473119
pop edi
pop esi
pop ebx
ret 4
Function at 0x4790b1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4790df
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4790fd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479017
jmp 0x4790fd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4790fd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479017
test edi, edi
mov eax, edi
jne 0x4790e7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0xcd1df2
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [esp + ecx + 8]
mov dword [ecx], edx
push 0xe016f938
call fcn.008a90c6
sub edi, dword [edx + 0x66]
sbb ah, byte [eax + 0x327437e6]
mov al, byte [0x327437e6]
xor ah, ch
mov esp, 0x74a1701a
pop ebx
loope 0xcd1e06
div dword [ebp - 0x483ad0f0]
xchg ecx, eax
int1
mov al, byte [0x9ca5e4f2]
dec eax
pop edx
push esi
or cl, ah
test al, 0xcc
fdiv dword [esi]
cdq
invalid

Function at 0xbba0b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0xbba200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbba0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbba0c2
add dl, dl
jne 0xbba0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbba134
xor eax, eax
add dl, dl
jne 0xbba0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbba1d5
add dl, dl
jne 0xbba0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbba108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbba113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbba11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbba12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbba0cd
mov eax, 1
add dl, dl
jne 0xbba142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbba14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbba139
sub eax, ebx
mov ebx, 1
jne 0xbba180
mov ecx, 1
add dl, dl
jne 0xbba166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbba171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbba15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbba0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbba197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbba1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbba18e
cmp eax, 0x7d00
jae 0xbba1c5
cmp eax, 0x500
jb 0xbba1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbba0cd
cmp eax, 0x7f
ja 0xbba1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbba0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbba1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbba0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401498
Capabilities:
Check mutex on windows

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x406590], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [0x406598], eax
call fcn.00401120
push 1
push 0
push 0x1389
push dword [0x406590]
push str.__firelovers__
push 0x40659c
call 0x401498
test eax, eax
je 0x401492
mov eax, dword [0x4060e8]
test eax, eax
jmp 0x401465
push 0
push 0x401566
push 0
push pe_nt_image_headers32
push dword [0x406590]
call sub.user32.dll_DialogBoxParamA
mov eax, dword [0x40659c]
test eax, eax
je 0x401492
push dword [0x40659c]
call sub.kernel32.dll_ReleaseMutex
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push ecx
push edx
push esi
push edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x40155b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40155b
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40155b
push dword [ebp + 0xc]
push 1
push 0
call sub.kernel32.dll_CreateMutexA
test eax, eax
je 0x40155b
mov edi, dword [ebp + 8]
stosd dword es:[edi], eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x401556
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_RtlZeroMemory
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x401527
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0x1389
push dword [0x406590]
call sub.user32.dll_LoadStringA
test eax, eax
je 0x401527
mov ebx, eax
or ebx, ebx
je 0x401533
lea eax, [ebp - 0x108]
jmp 0x401538
mov eax, 0
push eax
push dword [ebp + 0x18]
call sub.user32.dll_FindWindowA
test eax, eax
je 0x401556
mov esi, eax
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x40155b
push esi
call sub.user32.dll_SetForegroundWindow
jmp 0x40155b
xor eax, eax
inc eax
jmp 0x40155d
xor eax, eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0x18
Function at 0x401626
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push ecx
push edx
push esi
push edi
push dword [ebp + 8]
pop dword [0x406594]
push 8
lea eax, [ebp - 0x34]
push eax
call sub.kernel32.dll_RtlZeroMemory
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x30], 0xff
lea eax, [ebp - 0x34]
push eax
call sub.comctl32.dll_InitCommonControlsEx
xor eax, eax
mov dword [0x4065c4], eax
push dword [ebp + 8]
call fcn.00401e8f
test eax, eax
je 0x401810
push 0x4065b4
push 0x4065ac
push dword [ebp + 8]
call fcn.004021cf
test eax, eax
je 0x401810
mov eax, dword [0x4060dc]
mov dword [0x4065bc], eax
push dword [0x4065bc]
push 0x4065b4
push 0x4065ac
push dword [ebp + 8]
call fcn.00402252
test eax, eax
je 0x401810
push dword [0x4060e0]
push 0x3ec
push 0x402
push dword [0x4065e4]
call sub.user32.dll_SendMessageA
test eax, eax
je 0x401810
push dword [0x4060e0]
push dword [ebp + 8]
call fcn.0040381b
test eax, eax
je 0x401810
push dword [0x4060e4]
push 0xbc5
push dword [ebp + 8]
call sub.user32.dll_CheckDlgButton
test eax, eax
je 0x401810
mov eax, dword [0x4060d4]
mov dword [0x4065c0], eax
push 1
push 0x3ed
push 0x111
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
push 0
push dword [0x406590]
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0
push 0x43
push 0
push 0x406017
push 8
call sub.user32.dll_CreateWindowExA
test eax, eax
je 0x401810
mov dword [0x406624], eax
push dword [0x406624]
push 0x402490
push dword [ebp + 8]
call sub.user32.dll_EnumChildWindows
test eax, eax
je 0x401810
xor eax, eax
mov dword [0x406628], eax
call sub.kernel32.dll_GetCurrentThreadId
test eax, eax
je 0x401810
push eax
push 0
push 0x4024d7
push 3
call sub.user32.dll_SetWindowsHookExA
test eax, eax
je 0x401810
mov dword [0x406628], eax
push 0x3e9
push dword [0x4065d8]
push dword [0x406624]
push dword [ebp + 8]
push dword [0x406590]
call fcn.0040375f
test eax, eax
je 0x401810
push 0x3ea
push dword [0x4065dc]
push dword [0x406624]
push dword [ebp + 8]
push dword [0x406590]
call fcn.0040375f
test eax, eax
je 0x401810
push 0x3eb
push dword [0x4065e0]
push dword [0x406624]
push dword [ebp + 8]
push dword [0x406590]
call fcn.0040375f
test eax, eax
je 0x401810
xor eax, eax
inc eax
jmp 0x401812
xor eax, eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 4

Function at 0x402b05
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
mov eax, dword [0x40637c]
inc eax
or eax, eax
je 0x402b3a
dec eax
mov ebx, 0x28
mul ebx
mov esi, 0x40652d
add esi, eax
push 1
push 0
push 0
push dword [esi + 0x18]
push 0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x402b4b
push 0
push 0
push 0x205
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
xor eax, eax
inc eax
jmp 0x402b52
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0xc
Function at 0x403535
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push ecx
push edx
push esi
push edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4035c3
push 0x104
push 0x2042
call sub.kernel32.dll_GlobalAlloc
or eax, eax
je 0x4035bc
mov dword [ebp - 4], eax
push dword [ebp - 4]
call sub.kernel32.dll_GlobalLock
or eax, eax
je 0x4035b4
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call sub.kernel32.dll_lstrcpyA
mov ebx, eax
push dword [ebp - 8]
call sub.kernel32.dll_GlobalUnlock
or ebx, ebx
je 0x4035b4
push dword [ebp + 8]
call sub.user32.dll_OpenClipboard
or eax, eax
je 0x4035b4
call sub.user32.dll_EmptyClipboard
or eax, eax
je 0x4035af
push dword [ebp - 4]
push 1
call sub.user32.dll_SetClipboardData
or eax, eax
je 0x4035af
call sub.user32.dll_CloseClipboard
jmp 0x4035be
call sub.user32.dll_CloseClipboard
push dword [ebp - 4]
call sub.kernel32.dll_GlobalFree
jmp 0x4035c3
xor eax, eax
inc eax
jmp 0x4035c5
xor eax, eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x401690
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x6c
mov ebp, dword [esp + 0x80]
lea eax, [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], ebp
call sym._GetFileAttributesExW_12
sub esp, 0xc
test eax, eax
jne 0x4016f1
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0xc], 0x6f
xor edi, edi
mov dword [esp + 8], str..._src_string.c
mov dword [esp + 4], str.e_91m_____f__ls:_d_l__e_33mFile_content_does_not_exist__ne_0m
add eax, 0x40
mov dword [esp], eax
call sym._fwprintf
add esp, 0x6c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
or eax, ebx
mov esi, ebx
je 0x4016bd
mov dword [esp], ebp
mov dword [esp + 0x18], 0
xor edi, edi
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
call sym._CreateFileW_28
mov ebp, eax
lea eax, [eax - 1]
sub esp, 0x1c
cmp eax, 0xfffffffd
jbe 0x401760
xor eax, eax
mov word [edi + ebx*2], ax
add esp, 0x6c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + 1]
mov dword [esp], eax
call sym._malloc
test eax, eax
mov dword [esp + 0x2c], eax
je 0x40183f
add esi, 1
add esi, esi
mov dword [esp], esi
call sym._malloc
mov edi, eax
mov eax, dword [esp + 0x2c]
mov byte [eax + ebx], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], ebp
call sym._ReadFile_20
sub esp, 0x14
test eax, eax
je 0x401800
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
mov dword [esp + 8], esi
call sym._MultiByteToWideChar_24
sub esp, 0x18
mov dword [esp], esi
call sym._free
mov dword [esp], ebp
call sym._CloseHandle_4
sub esp, 4
jmp 0x401746
call sym._GetLastError_0
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
xor edi, edi
mov dword [esp + 4], str.e_91m__WINAPI_ERROR__e_33mReading_file_content_has_failed___0x_lX__ne_0m
add eax, 0x40
mov dword [esp], eax
call sym._fwprintf
mov dword [esp], ebp
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym._free
jmp 0x4016e7
call sym._GetLastError_0
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
xor edi, edi
mov dword [esp + 4], str.e_91m__WINAPI_ERROR__e_33mMemory_allocation_for_reading_file_content_has_failed___0x_lX__ne_0m
add eax, 0x40
mov dword [esp], eax
call sym._fwprintf
mov dword [esp], ebp
call sym._CloseHandle_4
sub esp, 4
jmp 0x4016e7