joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c5b0
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x45c61a
push esi
lea edi, [eax + 0x400]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x45c5ea
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45c636
push ecx
push esi
call fcn.0045db80
add esp, 8
mov ebx, eax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x45c6a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x45c732
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x45c724
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x45c71c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x45c6e5
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x43cfda
Capabilities:
Encode data using xor

Disassembly:
xchg esp, eax
lds edx, [esi - 0x382152cb]
mov dword [0x58474ba7], eax
aam 0xd0
stosd dword es:[edi], eax
enter 0xffffffffffff8dc1, 0xffffffffffffffd7
in eax, 0xd
sbb byte [ebx], 0x6b
xor bl, dl
push esp
pop edx
out 0xb5, al
inc ebx
sbb byte [edi + ecx*2], cl
or al, 0x4f
or al, 0x4f
lea eax, [eax - 0x7235bc96]
pop ds
jnp 0x43cfb9
cli
inc ebp
aaa
pop esp
popal
cmp eax, 0xff8de3f3
int1
iretd

Function at 0x442634
Capabilities:
Encode data using xor

Disassembly:
invalid
in eax, dx
fdivr dword [edi - 0x61963ba1]
or esp, ecx
or dword [ebp - 0x2297ca0b], 0x38
out 0x92, eax
call dword [edi - 0x72]
add eax, 0xbfc70fdf
retf
adc bl, byte [ebp - 0x53]
lodsd eax, dword [esi]
add dword [0xa95a27a4], eax
pushfd
dec esp
rcr bl, 0x35
sbb edx, 0xffffff97
mov eax, dword [0x2a930df2]
out dx, al
lea edx, [edi + 0xf]
leave
test eax, 0xdbc04c9c
xor eax, 0xa197da83
or eax, 0x8dee2a93
push esp
cmpsd dword [esi], dword es:[edi]
bswap ecx
xor eax, 0x9635fac6
pop edx
cmp ecx, dword [esp + ecx*4 + 0x2a]
js 0x44263a
jb 0x4425ea
push ecx
mov dword [0x71b76966], eax
xchg esp, eax
sal dword [edi + 0x63], 1
bnd jbe 0x442604
outsd dx, dword [esi]
dec ebp
daa
mov byte [ebx], 0xf5
lds ecx, [0x78e5493a]
push cs
les edx, [esi - 0x63]
jle 0x442682
bound esi, qword [ebp - 0x7a]
sar dword [ebx - 0x75c1a237], 1
adc ebp, ebx
ret
mov dl, byte ds:[ecx]
ffree st(3)
stosb byte es:[edi], al
scasb al, byte es:[edi]
mov bl, 0x3e
cmc
mov esp, 0x7a8af832
jecxz 0x44269c
pop ds
sbb eax, 0x539197b3
xchg edi, eax
xchg ecx, eax
push ebx
mov edi, 0xb4e45007
jb 0x442632
xor al, 0xb3
aad 0x69
push ebp
pop ebx
or al, 0x14
mov dword [0xc782eea7], eax
sub dl, byte [ebp + 0x53]
push ebp
pop edx
salc
cld
loop 0x442712
hlt
leave
mov bl, 0x5f
int 0xce
dec dword [ecx - 0x4cb8a0b8]
pop ebp
salc
fimul word [edx]
outsb dx, byte [esi]
push eax
pushal
jl 0x442760
std
xchg ebp, eax
cmp dh, byte [esi - 0xb]
mov dword [eax], eax
xchg esi, eax
test dword [ecx - 0x79], 0x8856b247
movsd dword es:[edi], dword [esi]
invalid
lcall 0x3719, 0xe0a8480
retf

Function at 0x4a3dc5
Capabilities:
Accept command line arguments

Disassembly:
sbb byte [edi + eax*4 - 0x49], 0x4b
inc esi
cmp al, 0x69
inc ebx
clc
scasd eax, dword es:[edi]
inc edx
inc esp
xor eax, 0xbb340954
or eax, 0x5bf877fd
insb byte es:[edi], dx
or byte [edi], dl
std
inc ecx
cmpsb byte [esi], byte es:[edi]
add dword [eax + 0x3da2a825], esi
jb 0x4a3e3e
jmp fcn.004a3d8a
add byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [ebp + 0x77], ah
push esp
push 0x64616572
add byte [eax], al
add byte [eax], al
invalid
Function at 0x10031519
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10031558
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10031558
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10031558
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10031558
cmp dword [ecx + 0x74], 0xe
jbe 0x10031558
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1003414b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100341e8
push ebx
push esi
call fcn.10034114
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100340a8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10034195
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100341e7
push edi
push eax
call fcn.10035074
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100341b5
call fcn.10032bf0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100341e6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100340a8
add esp, 0x20
test eax, eax
jne 0x100341d4
push edi
call fcn.10032bf0
jmp 0x100341dc
push ebx
call fcn.10032bf0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10034455
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003ca10
push 0x1003ca08
push str.FlsAlloc
push 0x1f
call fcn.10034371
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10034489
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003a174]
call esi
jmp 0x1003448f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100344d3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003ca20
push 0x1003ca18
push str.FlsGetValue
push 0x21
call fcn.10034371
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003450a
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003a174]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10034512
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003ca28
push 0x1003ca20
push str.FlsSetValue
push 0x22
call fcn.10034371
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1003454c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1003a174]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10039aa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10039acd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10039acd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401e20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not eax
push esi
mov esi, dword [ebp + 0x10]
push edi
test dl, 3
je 0x401e52
test esi, esi
je 0x401e52
movzx ecx, byte [edx]
dec esi
xor ecx, eax
inc edx
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
test dl, 3
jne 0x401e35
mov edi, esi
and edi, 0xfffffff0
add edi, edx
cmp edx, edi
jae 0x401f47
xor eax, dword [edx]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
xor eax, dword [edx + 4]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
xor eax, dword [edx + 8]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
xor eax, dword [edx + 0xc]
add edx, 0x10
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
cmp edx, edi
jb 0x401e61
and esi, 0xf
xor edi, edi
push ebx
xor ebx, ebx
lea ecx, [esi + edx]
cmp edx, ecx
cmova esi, ebx
pop ebx
test esi, esi
je 0x401f7a
nop dword [eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc edi
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x571018]
cmp edi, esi
jb 0x401f60
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x407530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407545
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407586
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x407582
nop word [eax + eax]
cmp esi, edx
jae 0x407586
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x407570
cmp esi, edx
jb 0x40758b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x408630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c64]
test eax, eax
je 0x408664
cmp dword [ebp + 0xc], 0
jne 0x408664
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x408664
mov eax, dword [esi + 0x1c64]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x408670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
xor ecx, ecx
lea eax, [edi + 0x24]
mov ebx, edi
test eax, eax
cmove ebx, ecx
cmp byte [eax + 0x1c], cl
je 0x4086c6
push 0xe801
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x4086b7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4086cb
test esi, esi
jne 0x4086c6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4086cb
cmp esi, 1
je 0x4086e1
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [ebx + 0x24]
push eax
call fcn.00454970
push 0
push 0
push 0x130b
push dword [edi + 0x1c50]
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x1c50]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [edi + 4]
push dword [edi + 0x1c50]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ebx, dword [ebp - 0x10]
xor esi, esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
sub eax, 3
add ebx, dword [edi + 0x1c54]
sub ecx, 2
inc dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
cmp dword [edi + 0x1c5c], esi
jle 0x4087b7
mov edx, dword [ebp - 0x14]
test esi, esi
js 0x4087a6
cmp esi, dword [edi + 0x1c5c]
jge 0x4087a6
push 0x10
sub ecx, ebx
sub eax, edx
push ecx
push eax
mov eax, dword [edi + 0x1c58]
push ebx
push edx
push 0
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, dword [edi + 0x1c5c]
jge 0x4087a6
mov eax, dword [edi + 0x1c58]
push 1
push 0
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_InvalidateRect]
inc esi
cmp esi, dword [edi + 0x1c5c]
jge 0x4087b7
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
jmp 0x40874d
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x10
Function at 0x408860
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push 0
mov esi, ecx
push 0
push 0x130b
push dword [esi + 0x1c50]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, dword [esi + 0x1c5c]
jge 0x4088b9
test edi, edi
js 0x4088b9
push 0
cmp edi, dword [esi + 0x1c5c]
jge 0x4088c0
mov eax, dword [esi + 0x1c58]
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
cmp edi, dword [esi + 0x1c5c]
jge 0x4088c0
mov eax, dword [esi + 0x1c58]
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
xor eax, eax
pop esi
ret 0xc
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]

Function at 0x408b4c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
cmp eax, 3
ja case.default.0x408b33
jmp dword [eax*4 + 0x408c6c]
xor esi, esi
jmp 0x408b51
mov esi, 1
jmp 0x408b51
mov esi, 2
jmp 0x408b51
mov esi, 3
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x130b
push dword [edi + 0x1c50]
call ebx
mov ecx, eax
test ecx, ecx
js 0x408c51
cmp ecx, dword [edi + 0x1c5c]
jge 0x408c51
mov eax, dword [edi + 0x1c58]
push 0
push dword [eax + ecx*4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x130b
push dword [edi + 0x1c50]
call ebx
test eax, eax
js 0x408c51
cmp eax, dword [edi + 0x1c5c]
jge 0x408c51
mov ecx, dword [edi + 0x1c58]
push 0
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push esi
push 0x130c
push dword [edi + 0x1c50]
call ebx
pop ebx
cmp esi, dword [edi + 0x1c5c]
jge 0x408c51
mov eax, dword [edi + 0x1c58]
push 1
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, dword [edi + 0x1c5c]
jge 0x408c51
mov eax, dword [edi + 0x1c58]
push 1
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, dword [edi + 0x1c5c]
jge 0x408c51
mov eax, dword [edi + 0x1c58]
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [edi + 0x1c5c]
jge 0x408c51
mov eax, dword [edi + 0x1c58]
push 1
push 0
push dword [eax + esi*4]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
call esi
push 1
push 0
push dword [edi + 4]
call esi
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x40f030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push ecx
push 0x412320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x40f052
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40fb10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
or edi, 0xffffffff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00401c40
add esp, 0xc
cmp eax, 2
jge 0x40fb3a
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
push esi
xor esi, esi
nop dword [eax]
mov eax, dword [ebp - 4]
push dword [esi*8 + 0x57edf0]
push dword [eax + 4]
call fcn.0052b043
add esp, 8
test eax, eax
je 0x40fb72
inc esi
cmp esi, 8
jb 0x40fb40
push dword [ebp - 4]
call fcn.00401c70
add esp, 4
mov eax, edi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
mov edi, dword [esi*8 + 0x57edf4]
call fcn.00401c70
add esp, 4
mov eax, edi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x411220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x411239
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411245
sub eax, edi
inc eax
add edx, eax
add esi, eax
cmp eax, 1
jne 0x411240
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x414d50
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x3c], esi
push eax
push ebx
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
call edi
mov ecx, dword [ebp - 0x18]
mov esi, eax
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ecx
push eax
push dword [ebp - 0x3c]
call ebx
push eax
push esi
mov dword [ebp - 0x44], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xe
push esi
push 0x318
push dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call edi
mov ecx, dword [ebp - 8]
mov edi, eax
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push ecx
push eax
push esi
call ebx
push eax
push edi
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_SelectObject]
movups xmm0, xmmword [ebp - 0x14]
push 2
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
movups xmmword [ebp - 0x34], xmm0
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0xcc0020
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push esi
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x38]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x414e69
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x414e76
push edi
call ebx
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x414e84
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x414e8b
push esi
call ebx
push dword [ebp - 0x3c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x48]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret
Function at 0x414eb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x90
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0x94
push 0
push eax
call fcn.00517590
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x414f1d
mov eax, dword [ebp - 0x94]
cmp eax, 5
jae 0x414f0d
cmp eax, 4
jne 0x414f1d
cmp dword [ebp - 0x90], 0x5a
jb 0x414f1d
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret
Function at 0x415e20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push dword [edi + 4]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x30], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x415e73
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x58]
test bl, 0x60
mov eax, 0
setne al
push dword [ebp - 0x54]
lea eax, [eax*2 + 0x40000080]
mov esi, eax
or esi, 8
and bl, 0x10
cmove esi, eax
mov eax, dword [ecx]
add eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
add eax, 3
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
sub eax, 3
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xc]
mov ecx, str.EDIT
sub eax, 2
mov dword [ebp - 8], eax
mov eax, dword [0x57f748]
test eax, eax
cmovne ecx, eax
lea eax, [edi + 0x20]
push eax
push 0x57f718
push 0x58c7d0
push 0x58d480
mov dword [0x57f748], ecx
call fcn.00412380
add esp, 0x14
movzx eax, ax
mov ecx, edi
push 0
push eax
push 0
push 0
push esi
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x5c]
call fcn.004d2ae0
test eax, eax
jne 0x415f1d
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x18
push 0x3c
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00517590
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.0041f3f0
cmp dword [edi + 0x34], 0
je 0x415f4f
push dword [edi + 0x34]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x415f4f
mov dword [edi + 0x34], 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [edi + 0x34], eax
test eax, eax
je 0x415f08
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push eax
push 0x30
push dword [edi + 4]
call esi
push 0x50005
push 3
push 0xd3
push dword [edi + 4]
call esi
push dword [ebp - 0x54]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [edi + 4]
call esi
push 0
push 0
push 0xb7
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x18