joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006e10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x10006e42
jl 0x10006e35
test ecx, ecx
jne 0x10006e42
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10006f02
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10008470
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10006eae
jg 0x10006e6d
test esi, esi
je 0x10006eae
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x10006e85
mov eax, dword [esp + 0x10]
jl 0x10006e7f
cmp eax, esi
jae 0x10006e85
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10026f10
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x10006ecf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x10006eeb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x10006e54
jl 0x10006eeb
test ecx, ecx
jne 0x10006e54
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x10006f46
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x10006f46
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.10026f10
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x10006fb7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10006f6c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x10006fa2
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1002bbf3
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10006fb7
cmp edi, eax
ja 0x10006f80
test edi, edi
je 0x10006fb7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1002bbf3
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008870
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047a20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1005d068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x18], eax
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100257ad
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10024e8a
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea edi, [eax + 0x14]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax + 0x20], ecx
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x1005f3e8]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [0x1005f3ec]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100485b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1005d068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx]
mov edi, 0x80000000
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movzx eax, byte [edx]
mov ecx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
sub ecx, 1
je 0x100165bf
sub ecx, 1
je 0x100165b4
sub eax, 1
je 0x100165bf
sub eax, 1
je 0x100165b4
mov edi, 1
jmp 0x100165c7
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x100165c7
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 4], xmm0
xorps xmm0, xmm0
mov dword [esi], edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 1
movups xmmword [ecx], xmm0
push 0x10055b50
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10009300
lea ecx, [esi + 0x30]
xorps xmm0, xmm0
push 0
movups xmmword [ecx], xmm0
push 0x10055603
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10009300
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10016650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100485b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1005d068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx]
mov esi, 0x80000000
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movzx eax, byte [edx]
mov ecx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
sub ecx, 1
je 0x100166d7
sub ecx, 1
je 0x100166cd
sub eax, 0
je 0x100166c6
sub eax, 1
je 0x100166d7
sub eax, 1
je 0x100166cd
xor esi, esi
jmp 0x100166e1
mov esi, 1
jmp 0x100166e1
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x100166e1
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 4], xmm0
xorps xmm0, xmm0
mov dword [edi], edx
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 1
movups xmmword [ecx], xmm0
push 0x10055b50
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10009300
lea ecx, [edi + 0x30]
xorps xmm0, xmm0
push 0
movups xmmword [ecx], xmm0
push 0x10055603
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10009300
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1003627b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100360ec
Function at 0x10046c30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10046c5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10046c5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1095b0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1095b200
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 0x1095b0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1095b0c2
add dl, dl
jne 0x1095b0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1095b134
xor eax, eax
add dl, dl
jne 0x1095b0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1095b1d5
add dl, dl
jne 0x1095b0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1095b108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1095b113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1095b11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1095b12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1095b0cd
mov eax, 1
add dl, dl
jne 0x1095b142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1095b14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1095b139
sub eax, ebx
mov ebx, 1
jne 0x1095b180
mov ecx, 1
add dl, dl
jne 0x1095b166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1095b171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1095b15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1095b0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1095b197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1095b1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1095b18e
cmp eax, 0x7d00
jae 0x1095b1c5
cmp eax, 0x500
jb 0x1095b1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1095b0cd
cmp eax, 0x7f
ja 0x1095b1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1095b0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1095b1f6
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 0x1095b0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x76197a66
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x2b096dfd
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10001008
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
mov edi, edi
mov ecx, ecx
nop
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov esi, 0x10005050
push eax
push esi
mov dword [ebp - 0x2c], 0x3035367b
mov dword [ebp - 0x28], 0x30393635
mov dword [ebp - 0x24], 0x45362d32
mov dword [ebp - 0x20], 0x342d4237
mov dword [ebp - 0x1c], 0x2d376462
mov dword [ebp - 0x18], 0x41423539
mov dword [ebp - 0x14], 0x3838362d
mov dword [ebp - 0x10], 0x46354244
mov dword [ebp - 0xc], 0x45423541
mov dword [ebp - 8], 0x7d42
call sub.MSVCRT.dll_strcpy
pop ecx
mov eax, esi
pop ecx
pop edi
pop esi
leave
ret
Function at 0x100017fd
Capabilities:
Contain obfuscated stackstrings
Get file size
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
mov edi, edi
mov ecx, ecx
nop
mov eax, 0x76726553
mov esi, 0x100051ac
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
xor ebx, ebx
push eax
push 0x28
push esi
lea eax, [ebp - 0x18]
push 0x10005018
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x614e7265
push eax
mov dword [ebp - 0x20], 0x656d
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x7473614c
mov dword [ebp - 0x14], 0x656d614e
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x50], 0x63655c2e
mov dword [ebp - 0x4c], 0x6f685c74
mov dword [ebp - 0x48], 0x692e656d
mov dword [ebp - 0x44], 0x696e
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], 0x694c7265
mov dword [ebp - 0x34], 0x442e7473
mov dword [ebp - 0x30], 0x7461
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x100018a5
xor eax, eax
jmp 0x10001990
lea eax, [ebp - 0x154]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x154]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
mov byte [eax + 1], bl
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x154]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
mov edi, edi
mov ecx, ecx
nop
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [ebp - 0x154]
push 0x80000000
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp - 8], eax
lea eax, [edi + 1]
push eax
push ebx
push dword [ebp - 8]
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 4]
push ebx
push eax
push edi
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x10001983
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x2c
push eax
call edi
mov esi, eax
push 0x2c
inc esi
push esi
call edi
push 0x28
push ebx
mov ebx, 0x10005184
mov edi, eax
push ebx
call sub.MSVCRT.dll_memset
sub edi, esi
push edi
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x28
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001a3f
Capabilities:
Create thread

Disassembly:
push edi
mov edi, edi
mov ecx, ecx
nop
xor eax, eax
push eax
push eax
push eax
push 0x10001a59
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
ret
Function at 0x10001c27
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, edi
mov ecx, ecx
nop
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov dword [ebp - 0x1c], 0x45324154
mov dword [ebp - 0x18], 0x746964
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 0x6d724654
mov dword [ebp - 0x28], 0x4f676f4c
mov dword [ebp - 0x24], 0x6e
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push dword [0x10005200]
call esi
push 0x64
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
je 0x10001c6c
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x10001c96
cmp dword [ebp - 8], ebx
jne 0x10001cb8
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push dword [ebp - 0xc]
call esi
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call esi
push 0x64
mov dword [ebp - 8], eax
call edi
jmp 0x10001c8c
push 0xfffffffffffffff4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x1109c
jne 0x10001cd5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
jmp 0x10001cde
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 8], eax
mov ebx, 0x100051d8
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10001d13
push 0x10005254
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x10001d13
push ebx
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x10001d2d
push 0x28
push 0x10005254
push dword [ebp - 0x10]
call esi
push 0x28
push ebx
push dword [ebp - 8]
call esi
push 0xa
call edi
jmp 0x10001cec
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001d32
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, edi
mov ecx, ecx
nop
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, 0x100
push ebx
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push ebx
push eax
push dword [0x10005200]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push 0x3a
push eax
call edi
mov esi, eax
push 0x3a
inc esi
push esi
call edi
mov dword [ebp - 4], eax
sub eax, esi
add esp, 0x10
test eax, eax
jg 0x10001d9d
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10001d4e
push 0x28
mov edi, 0x1000522c
push 0
push edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 4]
sub eax, esi
push eax
push esi
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001dfd
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, edi
mov ecx, ecx
nop
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
xor edi, edi
lea eax, [ebp - 0x20]
push edi
push eax
push edi
push dword [0x10005200]
mov dword [ebp - 0x20], 0x6d724654
mov dword [ebp - 0x1c], 0x73736150
mov dword [ebp - 0x18], 0x637445
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x45324154
mov dword [ebp - 0xc], 0x746964
mov dword [ebp - 8], edi
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], eax
push ebx
call esi
test eax, eax
jne 0x10001e71
push 0x64
call edi
jmp 0x10001e64
push ebx
call esi
test eax, eax
je 0x10001e8e
push 0x28
push 0x1000515c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x64
call edi
jmp 0x10001e71
call fcn.10001a3f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001f67
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push edi
mov edi, edi
mov ecx, ecx
nop
and dword [ebp - 4], 0
push 0x10005010
mov dword [ebp - 0x1c], 0x623f7325
mov dword [ebp - 0x18], 0x2673253d
mov dword [ebp - 0x14], 0x73253d63
mov dword [ebp - 0x10], 0x253d6526
mov dword [ebp - 0xc], 0x6b712673
mov dword [ebp - 8], 0x313d
call fcn.100039ad
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0xc
lea eax, [ebp - 0x21c]
test eax, eax
pop edi
je 0x1000202d
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x1000202d
push 0x1000664c
push 0x100052ec
lea eax, [ebp - 0x21c]
push 0x100052b8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x21c]
push eax
call fcn.10003234
add esp, 0x1c
test eax, eax
je 0x1000202d
cmp byte [eax], 0x31
push eax
jne 0x10002026
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
leave
ret
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
leave
ret
Function at 0x100025d5
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
mov edi, edi
mov ecx, ecx
nop
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
mov edi, 0x10005018
push eax
push 0x28
push 0x100052b8
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x6f747541
push eax
mov dword [ebp - 0x20], 0x61647055
mov dword [ebp - 0x1c], 0x6574
mov dword [ebp - 0x14], 0x756f7247
mov dword [ebp - 0x10], 0x70
mov dword [ebp - 8], 0x656e6f5a
mov dword [ebp - 0x3c], 0x61645c2e
mov dword [ebp - 0x38], 0x635c6174
mov dword [ebp - 0x34], 0x69666e6f
mov dword [ebp - 0x30], 0x6e692e67
mov dword [ebp - 0x2c], 0x69
call esi
lea eax, [ebp - 0x3c]
push eax
push 0x28
push 0x100052ec
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0x24]
push eax
call esi
pop edi
pop esi
leave
ret

Function at 0x10002678
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
xor eax, eax
push ebx
cmp dword [0x10006aac], eax
lea ecx, [ebp - 0x14]
push esi
push edi
mov dword [ebp - 0x14], 0x73736150
mov dword [ebp - 0x10], 0x64726f77
mov dword [ebp - 0xc], 0x74696445
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
je 0x10002711
cmp dword [0x10006640], eax
je 0x10002711
pushal
pushfd
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x10006aac]
call eax
mov dword [0x10006518], eax
popfd
popal
mov eax, dword [0x10006518]
test eax, eax
je 0x10002711
mov ecx, dword [0x10006640]
test ecx, ecx
je 0x10002711
add eax, 0x2c4
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x10006548
call ecx
lea eax, [ebp - 0x3c]
push 0x3a
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x14
test eax, eax
je 0x10002711
inc eax
push 0x28
push eax
push 0x10006458
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000275a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
test byte [0x100063a8], 1
mov dword [ebp - 8], 0x656d616e
mov dword [ebp - 4], esi
jne 0x10002787
or byte [0x100063a8], 1
lea eax, [ebp - 8]
mov dword [0x10006480], eax
test byte [0x100063a8], 2
mov dword [ebp - 0x14], 0x6576656c
mov dword [ebp - 0x10], 0x6c
mov dword [ebp - 0xc], esi
jne 0x100027b0
or byte [0x100063a8], 2
lea eax, [ebp - 0x14]
mov dword [0x10006678], eax
mov eax, dword [0x10006570]
cmp eax, esi
je 0x1000280f
push dword [eax + 0xb]
call sub.MSVCRT.dll_abs
pop ecx
mov ecx, dword [0x10006570]
sub ecx, eax
add ecx, 0xf
mov dword [0x10006454], ecx
pushal
pushfd
mov ecx, dword [ebp + 8]
mov eax, dword [0x10005020]
push eax
mov eax, dword [0x10006480]
push eax
mov eax, dword [0x10006454]
call eax
mov dword [0x10005020], eax
mov ecx, dword [ebp + 8]
mov eax, dword [0x10005024]
push eax
mov eax, dword [0x10006678]
push eax
mov eax, dword [0x10006454]
call eax
mov dword [0x10005024], eax
popfd
popal
xor esi, esi
push dword [0x10005020]
push 0x1000651c
call sub.MSVCRT.dll_strcpy
push dword [0x10005024]
push 0x100064b8
call sub.MSVCRT.dll_strcpy
add esp, 0x10
call fcn.1000284e
push esi
push esi
push esi
push 0x1000295f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1000284e
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x10002861
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret