joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434910
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042f0c0
test eax, eax
je 0x4349ff
mov ecx, edi
call fcn.0042f0c0
mov ecx, eax
call fcn.0042c740
test eax, eax
jne 0x4349ff
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4349ff
mov eax, dword [0x5d9190]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x434972
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042f0c0
mov ecx, eax
call fcn.0042c970
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x4349ff
cmp ebx, eax
jne 0x4349ff
cmp dword [esp + 0x10], eax
jne 0x4349e5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x437640
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4707c8
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 0x437679
inc eax
mov dword [esi + 0x10], eax
jmp 0x43778c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43768d
mov eax, 0xffffffc7
jmp 0x43778e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43769e
cmp dword [esi + 8], eax
jne 0x43768d
cmp dword [esi + 8], eax
jne 0x4376b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4376b7
mov eax, 0xffffffc7
jmp 0x43778e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4376cb
push eax
mov ecx, ebx
call fcn.00436e70
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.00402bd0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4376fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402bf0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004365e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43772f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5acd38
call fcn.00402dd0
mov eax, dword [esp + 0x38]
jmp 0x43778e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004374a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x437773
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004374c0
mov esi, eax
test esi, esi
jne 0x4377a3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004374a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x437745
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5acd38
call fcn.00402dd0
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], 0x5acd38
call fcn.00402dd0
mov eax, esi
jmp 0x43778e

Function at 0x43a8b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43a910
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43a910
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43a910
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43a910
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 0x43a950
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 0x440870
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470df8
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.00469523
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440210
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.00469451
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.00465d15
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.00465d15
push 1
push 0
push 0
mov ecx, esi
call fcn.00465cbd
push 1
push 0
push 1
mov ecx, esi
call fcn.00465cbd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00469595
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4409f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470e18
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.00469523
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440210
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.00469451
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 0x440ab4
cmp dword [esp + 0x40], 1
jne 0x440ab2
cmp ecx, eax
jge 0x440ab4
mov eax, ecx
cmp eax, 0xc8
jge 0x440ac0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00440870
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.00469595
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441230
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470e83
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.00464135
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.004697cb
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046ad2a
test eax, eax
je 0x44134c
mov ecx, dword [esp + 0x3c]
call fcn.004697f8
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 0x441310
push edi
mov ecx, esi
call fcn.00466e60
mov ecx, esi
call fcn.004414b0
cmp dword [esp + 0x38], 1
jne 0x441345
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.00466f9b
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 0x443d70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443da3
push esi
call fcn.00446e80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x443d9c
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 0x443e29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443e12
mov eax, dword [esi + 8]
test eax, eax
je 0x443dc7
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 0x443e0e
cmp eax, 2
je 0x443e12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443dba
cmp eax, 3
je 0x443ded
cmp eax, 1
jne 0x443dba
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 0x443dba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443dba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443e50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443e38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443e50
add esp, 4
pop esi
ret

Function at 0x464f2b
Capabilities:
Get graphical window text

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

Function at 0x46661d
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 0x46665f
call fcn.0046c115
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46665f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x466656
xor eax, eax
jmp 0x466667
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046666d
pop edi
pop esi
pop ebx
ret 4

Function at 0x46c645
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 0x46c673
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46c691
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046c5ab
jmp 0x46c691
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46c691
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046c5ab
test edi, edi
mov eax, edi
jne 0x46c67b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4013d9
Capabilities:
Get process heap force flags

Disassembly:
jmp 0x40af1d
mov eax, 0x464c1f
call fcn.00425238
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x34]
mov dword [ebp - 4], 9
call fcn.004485b8
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 8
call fcn.004485b8
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 7
call fcn.004485b8
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 6
call fcn.004485b8
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 5
call fcn.004485b8
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 4
call fcn.004485b8
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 3
call fcn.004485b8
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.004485b8
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.004485b8
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call fcn.004485b8
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040180c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41d635
Capabilities:
Encode data using xor

Disassembly:
push edx
mov ecx, 6
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
lea ebx, [esi + 0x24]
push ebx
push esi
mov esi, dword [ebp]
movzx edx, word [esi + 0x1e]
movzx ebx, word [esi + 8]
pop esi
push ecx
call fcn.0041ef2d
call fcn.0041daee
pop ecx
pop ebx
push ecx
push word [ebx + 6]
call fcn.0041d6b4
mov ax, word [ebx + 6]
pop word [ebx + 6]
pop ecx
add word [esi + 0x1c], ax
push esi
push edx
mov esi, dword [ebp]
movzx edx, word [esi + 0x1e]
call fcn.0041de96
call fcn.0041ef2f
pop edx
pop esi
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x18]
mov edi, ecx
shl edi, 2
neg edi
mov dword [ebx + edi], eax
mov eax, dword [esi + 0x2c]
xor eax, dword [esi + 0x24]
xor eax, dword [esi + 0x28]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], eax
loop 0x41d63b
pop edx
ret
Function at 0x41daee
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [ebp]
test word [ebx + 0x4c], 2
jne 0x41dc5d
push eax
test word [ebx + 0x4c], 8
je 0x41db22
add edx, 0x402
call fcn.0041e276
mov byte [ebp - 1], al
and al, 0x1f
call fcn.0041e233
sub edx, 0x402
call fcn.0041e276
mov byte [ebp - 2], al
mov al, 0
call fcn.0041e202
test word [ebx + 0x4c], 0x20
je 0x41dba1
add dx, 2
call fcn.0041e276
mov byte [ebp - 1], al
and al, 0xfd
call fcn.0041e233
sub dx, 2
mov al, 0xff
call fcn.0041e202
mov al, 0xdf
call fcn.0041e202
mov al, 0xff
call fcn.0041e202
mov al, 0xfb
call fcn.0041e202
mov al, 0xdb
call fcn.0041e202
mov al, 0xfb
call fcn.0041e202
mov al, 0xdb
call fcn.0041e202
mov al, 0xfb
call fcn.0041e202
mov al, 0xdb
call fcn.0041e202
add dx, 2
mov al, byte [ebp - 1]
or al, 2
call fcn.0041e233
sub dx, 2
test word [ebx + 0x4c], 4
jne 0x41dbd1
test word [ebx + 0x4c], 0x10
je 0x41dbd1
add dx, 3
mov al, 2
call fcn.0041e202
dec dx
call fcn.0041e276
mov byte [ebp - 1], al
and al, 0xdf
call fcn.0041e202
sub dx, 2
test word [ebx + 0x4c], 0x40
je 0x41dbe8
inc dx
inc dx
mov al, 0xc
call fcn.0041e202
dec dx
dec dx
pop eax
pop ebx
push eax
push ebx
push ecx
mov al, 0x7e
call fcn.0041e202
mov ecx, 0x20
mov al, 0x7f
call fcn.0041e202
xor al, 0x80
loop 0x41dbfb
mov al, bl
and al, 0x1f
shl al, 1
or al, 0x41
call fcn.0041e202
or al, 0xc1
call fcn.0041e202
mov cl, 4
shr ebx, cl
mov al, bl
and al, 0x3e
or al, 0xc1
call fcn.0041e202
and al, 0xbf
call fcn.0041e202
and al, 0x3f
call fcn.0041e202
mov cl, 5
shr ebx, cl
mov al, bl
and al, 0x3e
inc al
call fcn.0041e202
or al, 0x81
call fcn.0041e202
mov al, 0xc1
call fcn.0041e202
xor al, 0x80
call fcn.0041e202
pop ecx
pop ebx
pop eax
ret
pop ebx
call fcn.0041de2c
push eax
push ebx
push ecx
push edx
call fcn.0041d9f6
jb 0x41dd5f
add dx, 4
call fcn.0041e276
and al, 0xfe
call fcn.0041e233
mov ecx, 6
call fcn.0041e276
push eax
or al, 2
call fcn.0041e233
mov eax, 0xf
call fcn.0041dd67
pop eax
and al, 0xfd
call fcn.0041e233
mov ax, 0xc
call fcn.0041dd67
push eax
call fcn.0041e276
or al, 2
call fcn.0041e233
pop eax
cmp ax, 0x50
jb 0x41dccc
dec ecx
je 0x41dd57
jmp 0x41dc87
mov cl, bl
and cl, 0x1f
shr bx, 5
mov ch, bl
and ch, 0x1f
shr bx, 5
and ebx, 0x1f
mov ax, 0xf
call fcn.0041dd67
mov al, 0xfc
sub dx, 4
call fcn.0041e235
sub al, al
test cl, 1
je 0x41dcfe
or al, 1
test ch, 1
je 0x41dd05
or al, 2
test bl, 1
je 0x41dd0c
or al, 4
xchg bl, al
mov bl, byte [ebx + 0x4860c6]
xchg bl, al
call fcn.0041e235
mov al, cl
shl al, 1
push cs
call fcn.0041e13f
call fcn.0041e235
mov al, ch
shl al, 1
push cs
call fcn.0041e13f
call fcn.0041e235
mov al, bl
shl al, 1
push cs
call fcn.0041e13f
call fcn.0041e235
mov ax, 0xf
call fcn.0041dd67
clc
pop edx
pop ecx
pop ebx
pop eax
ret
call fcn.0041daa3
stc
jmp 0x41dd52
call fcn.0041daa3
stc
jmp 0x41dd52
Function at 0x41f304
Capabilities:
Encode data using xor

Disassembly:
enter 0x190, 0
mov dword [ebp - 0x60], ebx
cmp word [ebx + 0x16], 0
je 0x41f4a3
push eax
push ebx
push ecx
push edx
push esi
push edi
push ebp
push es
push ds
push es
push ss
pop es
lea edi, [ebp - 0x160]
mov esi, ebx
mov ecx, 0x40
cld
rep movsd dword es:[edi], dword [esi]
pop es
mov dx, word [ebx + 0x1e]
mov cx, word [ebx + 0x16]
mov ebx, dword [ebx + 0x12]
mov word [ebp - 0x3c], cx
mov word [ebp - 0x3a], dx
mov dword [ebp - 4], ebx
mov word [ebp - 0x38], 0
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x54]
call fcn.0041f4bc
jb 0x41f366
jmp 0x41f3ba
cmp ax, 4
jne 0x41f4ad
mov ecx, 6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
lea ebx, [ebp - 0x30]
mov dx, word [ebp - 0x3a]
push ecx
call fcn.0041f4f4
pop ecx
jb 0x41f4ad
add word [ebp - 0x38], ax
mov eax, dword [ebp - 0x30]
lea ebx, [ebp - 0x3c]
mov edi, ecx
shl edi, 2
neg edi
mov dword [ebx + edi], eax
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
loop 0x41f375
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 4], eax
mov ax, word [ebp - 0x3c]
dec ax
je 0x41f484
cmp ax, 0x1fff
jg 0x41f484
mov word [ebp - 0x3c], ax
add dword [ebp - 4], 8
mov ebx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x28], eax
mov ecx, 6
mov ax, word [ebp - 0x28]
push ax
xor ah, al
mov dx, word [ebp - 0x26]
mov si, dx
xor dl, dh
lea ebx, [ebp - 0x3c]
mov edi, ecx
shl edi, 2
neg edi
xor ax, word [ebx + edi]
inc edi
inc edi
xor dx, word [ebx + edi]
mov word [ebp - 0x28], ax
mov word [ebp - 0x26], dx
lea ebx, [ebp - 0x28]
mov ax, word [ebx + 1]
add al, ah
inc al
rol al, 2
mov byte [ebx + 1], al
mov dx, ax
mov ax, word [ebx]
add al, ah
rol al, 2
mov byte [ebx], al
mov ax, dx
add al, ah
rol al, 2
mov ah, al
add ah, byte [ebx + 3]
inc ah
rol ah, 2
mov word [ebx + 2], ax
mov eax, dword [ebp - 0x2c]
xor dword [ebp - 0x28], eax
pop ax
mov word [ebp - 0x2c], ax
mov word [ebp - 0x2a], si
loop 0x41f3f9
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
mov dword [ebx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 4], eax
dec word [ebp - 0x3c]
jne 0x41f3e2
pop ds
pop es
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov ax, word [ebp - 0x38]
cmp al, 2
jge 0x41f499
xor al, al
jmp 0x41f49d
cmp al, 0x34
jle 0x41f4a3
mov ax, 7
jmp 0x41f4a7
mov ax, 0
mov word [ebx + 0x1a], ax
leave
ret
pop ds
pop es
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov ax, 7
jmp 0x41f4a7
Function at 0x42149c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push edi
push eax
push ebx
push ecx
mov edi, dword [ebp + 8]
cld
mov ecx, 0x58
mov dx, word [ebp + 0xc]
mov bx, dx
rol bx, 1
xor bh, bl
ror bx, 1
ror bx, 1
rol bl, 1
ror bh, 1
xor bh, bl
not bx
xor word ds:[edi], bx
add bx, 0x55
inc edi
inc edi
loop 0x4214c4
pop ecx
pop ebx
pop eax
pop edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4693da
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x469400
jmp 0x469516
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x469420
jmp 0x469516
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0046d92f
add esp, 4
mov dword [0x49d098], 0
mov dword [ebp - 0x420], 0x646c6f47
mov dword [ebp - 0x41c], 0x6f736e65
mov byte [ebp - 0x418], 0x66
mov dword [ebp - 0x20], 0
jmp 0x46946d
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 9
jge 0x46948d
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax + ebp - 0x420]
xor al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebp - 0x420], al
jmp 0x46946a
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x417], al
push 0xa
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4694f5
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0046d4d2
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
jmp 0x4694a9
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret