joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440f60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440f93
push esi
call fcn.00444050
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x440f8c
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 0x441019
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441002
mov eax, dword [esi + 8]
test eax, eax
je 0x440fb7
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 0x440ffe
cmp eax, 2
je 0x441002
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x440faa
cmp eax, 3
je 0x440fdd
cmp eax, 1
jne 0x440faa
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 0x440faa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x440faa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441040
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441028
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441040
add esp, 4
pop esi
ret

Function at 0x45f889
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45f8c1
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.0045d93d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045d915
jmp 0x45f8cd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x460f77
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 0x460fb9
call fcn.00466a30
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x460fb9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x460fb0
xor eax, eax
jmp 0x460fc1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00460fc7
pop edi
pop esi
pop ebx
ret 4

Function at 0x466f60
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 0x466f8e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x466fac
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00466ec6
jmp 0x466fac
mov eax, dword [esi + 0x14]
test eax, eax
je 0x466fac
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00466ec6
test edi, edi
mov eax, edi
jne 0x466f96
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x65f4f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11f000]
push edi
or ebp, 0xffffffff
jmp 0x65f512
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x65f519
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65f508
mov eax, 1
add ebx, ebx
jne 0x65f52b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x65f53c
jne 0x65f55b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65f55b
dec eax
add ebx, ebx
jne 0x65f548
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x65f520
add ebx, ebx
jne 0x65f557
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x65f5ad
xor ecx, ecx
sub eax, 3
jb 0x65f573
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x65f5e2
sar eax, 1
mov ebp, eax
jmp 0x65f57e
add ebx, ebx
jne 0x65f57e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65f54c
inc ecx
add ebx, ebx
jne 0x65f58c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65f54c
add ebx, ebx
jne 0x65f599
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x65f58e
jne 0x65f5aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x65f58e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x65f5cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x65f5be
jmp 0x65f50e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x65f5cc
add edi, ecx
jmp 0x65f50e
pop esi
mov edi, esi
mov ecx, 0x2940
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x65f5ea
cmp byte [edi], 0x13
jne 0x65f5ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x65f5ef
lea edi, [esi + 0x25c000]
mov eax, dword [edi]
or eax, eax
je 0x65f65e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x262658]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2626f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x65f61c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2626fc]
or eax, eax
je 0x65f658
mov dword [ebx], eax
add ebx, 4
jmp 0x65f639
call dword [esi + 0x262704]
mov ebp, dword [esi + 0x262700]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x65f692
sub esp, 0xffffff80
jmp 0x45470c
Function at 0x404bf0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret
Function at 0x4064d0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cc06
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x52e4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], 0
jmp 0x40650a
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
jge 0x406539
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x406535
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
xor edx, 0x12
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
jmp 0x406537
jmp 0x406539
jmp 0x406501
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00453d39
add esp, 8
test eax, eax
jne 0x4065ed
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
and eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x471c98
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00453c62
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x4065a4
mov eax, dword [ebp - 0x14]
push eax
call fcn.00453b22
add esp, 4
push 0x8001
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00441e27
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410de0
push 0x3600
push 0x48a088
lea ecx, [ebp - 0x28]
call fcn.00441937
lea ecx, [ebp - 0x28]
call fcn.00441b4d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00441bc2
mov dword [ebp - 0x10], 0
jmp 0x4065ff
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x406612
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov byte [ecx], 0
jmp 0x4065f6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x40bd70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 2
mov ecx, dword [ebp - 8]
call fcn.00411000
push 3
mov ecx, dword [ebp - 8]
call fcn.00411000
mov eax, dword [ebp - 8]
add eax, 0x53e8
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x3e8
mov ecx, dword [ebp - 8]
call fcn.0043f72c
mov ecx, eax
call fcn.0043f8ff
push 0
push 0x452
mov ecx, dword [ebp - 8]
call fcn.0043f72c
mov ecx, eax
call fcn.0043f8ff
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc8], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0xc4], 0xff
push 0x4717be
push 0x41f
mov ecx, dword [ebp - 8]
call fcn.0043f72c
mov ecx, eax
call fcn.0043f829
push 0x4717bf
push 0x41c
mov ecx, dword [ebp - 8]
call fcn.0043f72c
mov ecx, eax
call fcn.0043f829
mov ecx, dword [ebp - 8]
call fcn.00409770
mov ecx, dword [ebp - 8]
call fcn.00404510
test eax, eax
jne 0x40be9e
mov ecx, dword [ebp - 8]
call fcn.00408300
push 0
push 0x64
push 2
mov ecx, dword [ebp - 8]
call fcn.00410fd0
push 0
push 0x32
push 3
mov ecx, dword [ebp - 8]
call fcn.00410fd0
push 0x32
push 0x258
call dword [sym.imp.KERNEL32.dll_Beep]
push 0x472aac
push 0x3e9
mov ecx, dword [ebp - 8]
call fcn.0043f72c
mov ecx, eax
call fcn.0043f829
push 0x2c
mov eax, dword [ebp - 8]
add eax, 0x1f4
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x1c8
push ecx
call fcn.00452fc0
add esp, 0xc
push 0
mov ecx, dword [ebp - 8]
call fcn.0043c422
jmp 0x40bf98
push 0
mov ecx, dword [ebp - 8]
call fcn.0043c422
mov edx, dword [ebp - 8]
mov byte [edx + 0x278], 0
push 0x472ab0
push 0x3e8
mov ecx, dword [ebp - 8]
call fcn.0043f774
mov ecx, dword [ebp - 8]
call fcn.0040d960
test eax, eax
je 0x40bf40
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2b8], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 8]
mov dword [edx + 0x2bc], eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0x4187a0
call fcn.00453742
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0x418a00
call fcn.00453742
add esp, 0xc
push 0
push 0x64
push 2
mov ecx, dword [ebp - 8]
call fcn.00410fd0
push 0
push 0x32
push 3
mov ecx, dword [ebp - 8]
call fcn.00410fd0
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x53c4]
call fcn.0041b070
movzx eax, ax
cmp eax, 0x32a
jl 0x40bf82
mov dword [ebp - 4], 0
jmp 0x40bf6a
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x28
jge 0x40bf82
mov ecx, dword [ebp - 8]
call fcn.004097c0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40bf61
push 0
push 0x3ea
mov ecx, dword [ebp - 8]
call fcn.0043f72c
mov ecx, eax
call fcn.0043f8ff
push 1
push 0x3e8
mov ecx, dword [ebp - 8]
call fcn.0043f72c
mov ecx, eax
call fcn.0043f8ff
push 1
push 0x452
mov ecx, dword [ebp - 8]
call fcn.0043f72c
mov ecx, eax
call fcn.0043f8ff
push 0x3e8
mov ecx, dword [ebp - 8]
call fcn.0043f72c
mov ecx, eax
call fcn.0043f920
mov edx, dword [ebp - 8]
add edx, 0x53e8
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret
Function at 0x40f340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d313
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x52e4bc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x14]
call fcn.00411190
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.0043db43
push 9
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00410450
lea ecx, [ebp - 0x2c]
call fcn.004018e0
push 0xa
lea ecx, [ebp - 0x14]
call fcn.00401090
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x24], 0x66
mov byte [ebp - 0x23], 0x6d
mov byte [ebp - 0x22], 0x76
mov byte [ebp - 0x21], 0x6a
mov byte [ebp - 0x20], 0x6b
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x67
mov byte [ebp - 0x1c], 0x7b
mov byte [ebp - 0x1b], 0
mov dword [ebp - 0x28], 0
jmp 0x40f3e3
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 9
jae 0x40f449
mov eax, dword [ebp - 0x28]
movsx ecx, byte [ebp + eax - 0x24]
xor ecx, 0x22
mov edx, dword [ebp - 0x28]
mov byte [ebp + edx - 0x24], cl
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x28]
movsx eax, byte [ebp + edx - 0x24]
cmp ecx, eax
je 0x40f447
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004111f0
push 1
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x53c4]
call fcn.0041ef90
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004018e0
mov eax, dword [ebp - 0x30]
jmp 0x40f46c
jmp 0x40f3da
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004111f0
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004018e0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00452906
mov esp, ebp
pop ebp
ret

Function at 0x412820
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d8da
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x52e4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.00412600
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.00401920
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00401920
push eax
lea ecx, [ebp + 8]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call fcn.004018e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004018e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004018e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4128c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d915
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x52e4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00411190
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
call fcn.00412600
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
call fcn.00401920
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00401090
push eax
push 0x473912
lea ecx, [ebp + 0xc]
call fcn.00401920
push eax
lea ecx, [ebp + 8]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004018e0
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004111f0
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00401090
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.00410700
movzx edx, al
test edx, edx
je 0x412987
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x41299a
push 0x10
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00454b01
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004111f0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004018e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004018e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004018e0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x412b70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d9be
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x52e4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00411190
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
call fcn.00412600
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
call fcn.00401920
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401090
push eax
lea ecx, [ebp + 0x14]
call fcn.00401920
push eax
lea ecx, [ebp + 0x10]
call fcn.00401920
push eax
lea ecx, [ebp + 0xc]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004018e0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004111f0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.004111b0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004018e0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004018e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004018e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004018e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x418fa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418ff4
cmp dword [esp + 4], 4
jne 0x418ff4
cmp dword [esp], 4
jne 0x418ff4
mov eax, dword [esp + 8]
cmp eax, edi
jbe 0x418fea
mov eax, edi
add esp, 0xc
ret
cmp eax, ebx
jae 0x418ff8
mov eax, ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x18]
add esp, 0xc
ret
Function at 0x41e380
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x52e4bc]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
lea eax, [esp + 8]
push eax
mov edi, ecx
mov byte [esp + 0x14], 0x90
call fcn.00454108
push eax
call fcn.00452817
add esp, 8
call fcn.00452824
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, eax
sar ecx, 8
push 2
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], al
call esi
lea edx, [esp + 8]
push edx
call fcn.00454108
push eax
call fcn.00452817
add esp, 8
call fcn.00452824
mov ecx, eax
sar ecx, 8
push 2
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], al
call esi
lea edx, [esp + 8]
push edx
call fcn.00454108
push eax
call fcn.00452817
add esp, 8
call fcn.00452824
mov ecx, eax
sar ecx, 8
push 2
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], al
call esi
lea edx, [esp + 8]
push edx
call fcn.00454108
push eax
call fcn.00452817
add esp, 8
call fcn.00452824
mov edx, dword [esp + 0x10]
mov ecx, eax
sar ecx, 8
mov byte [esp + 0x18], al
mov byte [esp + 0x17], cl
mov eax, dword [esp + 0x14]
mov cx, word [esp + 0x18]
mov dword [esp + 0x30], eax
mov al, 0x56
mov byte [esp + 0x1f], al
mov byte [esp + 0x27], al
mov dword [esp + 0x2c], edx
mov word [esp + 0x34], cx
mov byte [esp + 0x1c], 0x33
mov byte [esp + 0x1d], 0xda
mov byte [esp + 0x1e], 0xcb
mov byte [esp + 0x20], 0x6f
mov byte [esp + 0x21], 5
mov byte [esp + 0x22], 0x64
mov byte [esp + 0x23], 0x53
mov byte [esp + 0x24], 0xea
mov byte [esp + 0x25], 0x3e
mov byte [esp + 0x26], 0x9e
mov byte [esp + 0x28], 0x77
mov byte [esp + 0x29], 0x7e
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2b], 0xef
xor eax, eax
lea esp, [esp]
xor byte [esp + eax + 0x1c], 0x76
add eax, 1
cmp eax, 0x10
jb 0x41e4b0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x31]
push eax
call fcn.004226a0
add esp, 8
test al, al
je 0x41e4e6
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00452906
add esp, 0x34
ret
push 0
push 9
lea ecx, [esp + 0x34]
push ecx
push 0xa0
mov ecx, edi
call fcn.0041e070
test al, al
je 0x41e4d3
push 0x14
call esi
push 1
push 1
lea edx, [esp + 0x34]
push edx
push 0xa0
mov ecx, edi
call fcn.0041e070
test al, al
je 0x41e4d3
push 8
lea eax, [esp + 0x31]
push eax
push 0xa0
mov ecx, edi
call fcn.0041e130
test al, al
je 0x41e4d3
xor eax, eax
mov cl, byte [esp + eax + 0x2d]
cmp cl, byte [esp + eax + 0x11]
jne 0x41e4d3
add eax, 1
lea edx, [eax + 1]
cmp edx, 9
jl 0x41e535
mov ecx, dword [esp + 0x38]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00452906
add esp, 0x34
ret
Function at 0x41edc0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x52e4bc]
xor eax, esp
mov dword [esp + 0x2c], eax
mov al, 0x35
mov cl, 0x2e
push ebx
mov bl, 0x3f
mov dl, 6
mov byte [esp + 0x15], al
mov byte [esp + 0x21], al
mov byte [esp + 0x23], al
mov byte [esp + 0x28], al
mov dword [esp + 4], 0
mov byte [esp + 0x14], 9
mov byte [esp + 0x16], 0x3c
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0x2d
mov byte [esp + 0x19], 0x3b
mov byte [esp + 0x1a], 0x28
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], 0x17
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x39
mov byte [esp + 0x20], 0x28
mov byte [esp + 0x22], 0x29
mov byte [esp + 0x24], 0x3c
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x14
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x2a
mov byte [esp + 0x2c], 0x3b
mov byte [esp + 0x2d], 0x3e
mov byte [esp + 0x2e], 0
xor eax, eax
lea ecx, [ecx]
xor byte [esp + eax + 0x14], 0x5a
add eax, 1
cmp eax, 0x1a
jb 0x41ee60
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 4]
xor eax, eax
test edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
mov byte [esp + 0x2e], al
jne 0x41eece
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00452906
add esp, 0x30
ret 4
mov al, 0x6f
mov cl, 0x72
mov byte [esp + 0xa], al
mov byte [esp + 0xf], al
mov byte [esp + 8], cl
mov byte [esp + 9], 0x64
mov byte [esp + 0xb], cl
mov byte [esp + 0xc], 0x6e
mov byte [esp + 0xd], 0x73
mov byte [esp + 0xe], 1
mov byte [esp + 0x10], 0x40
mov byte [esp + 0x11], 0x4c
mov byte [esp + 0x12], 0x44
mov byte [esp + 0x13], 0
xor eax, eax
lea esp, [esp]
xor byte [esp + eax + 8], 0x21
add eax, 1
cmp eax, 0xb
jb 0x41ef10
push esi
push edi
push 0
lea eax, [esp + 0x14]
push eax
push edx
or edi, 0xffffffff
xor ebx, ebx
call fcn.00418fa0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov esi, eax
xor eax, eax
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x40], bl
jne 0x41ef71
pop edi
lea eax, [esi - 1]
pop esi
xor eax, 0x20100311
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00452906
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
xor eax, 0x3132a940
call fcn.00452906
add esp, 0x30
ret 4

Function at 0x41f2b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x502d40], 0
je 0x41f2e0
mov edx, dword [esp + 0xc]
test edx, edx
mov eax, dword [esp + 8]
jbe 0x41f2e0
jmp 0x41f2d0
mov cl, byte [esi + 0x502d40]
xor byte [eax], cl
add eax, 1
sub edx, 1
jne 0x41f2d0
pop esi
ret 8