joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4261f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x426212
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x426219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x426208
mov eax, 1
add ebx, ebx
jne 0x42622b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x426220
jne 0x42623c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x426220
xor ecx, ecx
sub eax, 3
jb 0x426250
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4262c2
mov ebp, eax
add ebx, ebx
jne 0x42625b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x426268
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42628c
inc ecx
add ebx, ebx
jne 0x426278
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42626d
jne 0x426289
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42626d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4262ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42629d
jmp 0x42620e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4262ac
add edi, ecx
jmp 0x42620e
pop esi
mov edi, esi
mov ecx, 0x61c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4262ca
cmp byte [edi], 6
jne 0x4262ca
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 eax, ebx
loop 0x4262cf
lea edi, [esi + 0x24000]
mov eax, dword [edi]
or eax, eax
je 0x42633e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26c04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26ca4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4262fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26ca8]
or eax, eax
je 0x426338
mov dword [ebx], eax
add ebx, 4
jmp 0x426319
call dword [esi + 0x26cac]
popal
jmp 0x412307
Function at 0x443c22
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
and dword [ebx], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push edi
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov edi, 0x509010
push edi
call esi
cmp eax, 0xfffffffe
jne 0x443c9f
mov ebx, 0x50ae50
jmp 0x443c57
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 1
push ebx
call esi
cmp eax, 1
je 0x443c4f
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push edi
call esi
cmp eax, 0xfffffffe
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
jne 0x443c8a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x443c8a
push eax
push edi
call esi
push 0
push ebx
call esi
cmp dword [ebp - 4], 0xffffffff
jne 0x443c9c
mov eax, 0x8007000e
jmp 0x443cee
mov ebx, dword [ebp + 8]
call fcn.00443bea
test eax, eax
je 0x443cb6
inc dword [eax + 0x11c]
mov dword [ebx], 1
jmp 0x443cec
mov esi, 0x120
push esi
call sub.msvcrt.dll_malloc
mov edi, eax
test edi, edi
pop ecx
je 0x443c95
push esi
push 0
push edi
call sub.msvcrt.dll_memset
xor eax, eax
add esp, 0xc
inc eax
mov dword [edi + 0x11c], eax
push edi
mov dword [ebx], eax
push dword [0x509010]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44746c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
mov ebx, eax
mov eax, 0x9e3779b9
xor esi, esi
cmp ecx, 0xc
push edi
mov dword [ebp - 8], ecx
mov edi, eax
mov dword [ebp - 4], eax
jb 0x44751e
mov eax, ecx
push 0xc
xor edx, edx
pop ecx
div ecx
add edi, dword [ebx + 4]
add esi, dword [ebx + 8]
mov ecx, dword [ebx]
sub ecx, esi
sub ecx, edi
add ecx, dword [ebp - 4]
mov edx, esi
shr edx, 0xd
xor ecx, edx
mov edx, edi
sub edx, esi
sub edx, ecx
mov edi, ecx
shl edi, 8
xor edx, edi
sub esi, edx
sub esi, ecx
mov edi, edx
shr edi, 0xd
xor esi, edi
sub ecx, esi
sub ecx, edx
mov edi, esi
shr edi, 0xc
xor ecx, edi
sub edx, esi
sub edx, ecx
mov edi, ecx
shl edi, 0x10
xor edx, edi
sub esi, edx
sub esi, ecx
sub dword [ebp - 8], 0xc
mov edi, edx
shr edi, 5
xor esi, edi
sub ecx, esi
sub ecx, edx
mov edi, esi
shr edi, 3
xor ecx, edi
sub edx, esi
mov edi, ecx
sub edx, ecx
shl edi, 0xa
xor edx, edi
mov edi, edx
sub esi, edi
sub esi, ecx
mov dword [ebp - 4], ecx
mov ecx, edi
shr ecx, 0xf
xor esi, ecx
add ebx, 0xc
dec eax
jne 0x44749c
mov eax, dword [ebp - 4]
add esi, dword [ebp + 8]
mov ecx, dword [ebp - 8]
dec ecx
cmp ecx, 0xa
ja case.default.0x44752a
jmp dword [ecx*4 + 0x4475f8]
movzx ecx, byte [ebx + 0xa]
shl ecx, 0x18
add esi, ecx
movzx ecx, byte [ebx + 9]
shl ecx, 0x10
add esi, ecx
movzx ecx, byte [ebx + 8]
shl ecx, 8
add esi, ecx
movzx ecx, byte [ebx + 7]
shl ecx, 0x18
add edi, ecx
movzx ecx, byte [ebx + 6]
shl ecx, 0x10
add edi, ecx
movzx ecx, byte [ebx + 5]
shl ecx, 8
add edi, ecx
movzx ecx, byte [ebx + 4]
add edi, ecx
movzx ecx, byte [ebx + 3]
shl ecx, 0x18
add eax, ecx
movzx ecx, byte [ebx + 2]
shl ecx, 0x10
add eax, ecx
movzx ecx, byte [ebx + 1]
shl ecx, 8
add eax, ecx
movzx ecx, byte [ebx]
add eax, ecx
sub eax, esi
sub eax, edi
sub edi, esi
mov ecx, esi
shr ecx, 0xd
xor eax, ecx
sub edi, eax
mov ecx, eax
shl ecx, 8
xor edi, ecx
sub esi, edi
sub esi, eax
mov ecx, edi
shr ecx, 0xd
xor esi, ecx
sub eax, esi
sub eax, edi
sub edi, esi
mov ecx, esi
shr ecx, 0xc
xor eax, ecx
sub edi, eax
mov ecx, eax
shl ecx, 0x10
xor edi, ecx
sub esi, edi
sub esi, eax
mov ecx, edi
shr ecx, 5
xor esi, ecx
sub eax, esi
sub eax, edi
mov ecx, esi
shr ecx, 3
xor eax, ecx
mov ecx, eax
sub edi, esi
shl eax, 0xa
sub edi, ecx
xor edi, eax
mov eax, esi
sub eax, edi
shr edi, 0xf
sub eax, ecx
xor eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4cbee5
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 0x24]
mov esi, ecx
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
lea eax, [ecx + eax - 1]
dec ecx
not ecx
and eax, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esi + 4], eax
jne 0x4cbf27
mov ecx, 0x100000
lea ecx, [eax + ecx - 1]
dec eax
not eax
and ecx, eax
mov dword [esi + 0x14], ecx
mov eax, esi
pop esi
leave
ret 8

Function at 0x4cc447
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp dword [ebx], esi
push edi
je 0x4cc45c
call fcn.004cc421
cmp dword [ebp + 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
jne 0x4cc46d
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp dword [ebp + 0x10], esi
je 0x4cc482
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
jne 0x4cc492
push 0xa
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
je 0x4cc4c1
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx + 8], eax
je 0x4cc4c1
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebx], eax
je 0x4cc4c1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebx + 4], eax
jne 0x4cc4ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x4cc4d0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4cd9b7
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [esi]
cmp ecx, 0x35
push edi
mov dword [ebp - 4], ebx
jne 0x4cda1d
push ecx
mov ecx, ebx
call fcn.004cc74b
mov eax, dword [esi + 0x508]
shr eax, 2
inc eax
inc eax
push eax
mov ecx, ebx
call fcn.004cc7ca
xor edi, edi
test dword [esi + 0x508], 0xfffffffc
jbe 0x4cda16
mov eax, dword [esi + 0x50c]
push dword [eax + edi*4]
mov ecx, ebx
call fcn.004cc7ca
mov eax, dword [esi + 0x508]
inc edi
shr eax, 2
cmp edi, eax
jb 0x4cd9f8
mov ecx, ebx
jmp 0x4cdb1f
mov eax, dword [esi + 0x4ec]
neg eax
sbb eax, eax
mov edx, ecx
and eax, 0x80000000
and edx, 0x7ff
or eax, edx
cmp ecx, 0x1f
jg 0x4cda5e
je 0x4cda50
sub ecx, 3
je 0x4cda50
dec ecx
dec ecx
je 0x4cda50
sub ecx, 3
je 0x4cda50
sub ecx, 5
jne 0x4cda7a
mov ecx, dword [esi + 0x504]
and ecx, 1
shl ecx, 0x12
jmp 0x4cda78
sub ecx, 0x3d
je 0x4cda6c
dec ecx
dec ecx
je 0x4cda50
sub ecx, 0x30
jne 0x4cda7a
mov ecx, dword [esi + 0x504]
and ecx, 3
shl ecx, 0xb
or eax, ecx
mov ecx, dword [esi + 0x500]
neg ecx
sbb ecx, ecx
and ecx, 0x2000
or ecx, eax
push ecx
mov ecx, ebx
call fcn.004cc74b
xor ebx, ebx
cmp dword [esi + 0x4ec], ebx
je 0x4cdafb
mov eax, dword [esi]
cmp eax, 0x2d
jl 0x4cdafb
cmp eax, 0x2e
jle 0x4cdabc
cmp eax, 0x44
jle 0x4cdafb
cmp eax, 0x4a
jle 0x4cdabc
add eax, 0xffffff94
cmp eax, 1
ja 0x4cdafb
movzx eax, byte [esi + 0x4f6]
movzx ecx, byte [esi + 0x4f5]
and eax, 0xf
and ecx, 0xf
shl eax, 4
or eax, ecx
movzx ecx, byte [esi + 0x4f4]
and ecx, 0xf
shl eax, 4
or eax, ecx
mov ecx, dword [esi + 0x4f0]
and ecx, 0x3f
shl eax, 9
or eax, ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.004cc7ca
lea edi, [esi + 0x4e8]
cmp dword [edi], ebx
jbe 0x4cdb1c
add esi, 8
mov ecx, dword [ebp - 4]
push esi
call fcn.004cd72f
inc ebx
add esi, 0xd0
cmp ebx, dword [edi]
jb 0x4cdb08
mov ecx, dword [ebp - 4]
call fcn.004cc787
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4cfcd0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x4cfce3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4cfcdf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x4cfd10
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x4cfd4f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x4cfd45
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x4cfd51
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x4cfd35
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4ff194
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1774
call fcn.004cf130
mov eax, dword [0x50976c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
mov esi, 0xbb8
push esi
lea eax, [ebp - 0x1774]
push eax
call fcn.00443f95
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x1774]
push eax
lea eax, [ebp - 0xbbc]
je 0x4ff1e9
push 0x43d8d8
jmp 0x4ff1ee
push 0x43d8a4
push esi
push eax
call fcn.00443fd1
add esp, 0x10
test edi, edi
lea eax, [ebp - 0xbbc]
push eax
je 0x4ff208
push ebx
call edi
jmp 0x4ff217
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call esi
push 0x4017b0
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf0f5
leave
ret

Function at 0x4ff22b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1774
call fcn.004cf130
mov eax, dword [0x50976c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
mov esi, 0xbb8
push esi
lea eax, [ebp - 0x1774]
push eax
call fcn.00443f95
lea eax, [ebp - 0x1774]
push eax
push 0x43d904
lea eax, [ebp - 0xbbc]
push esi
push eax
call fcn.00443fd1
add esp, 0x10
test edi, edi
lea eax, [ebp - 0xbbc]
push eax
je 0x4ff292
push ebx
call edi
jmp 0x4ff2a1
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call esi
push 0x4017b0
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf0f5
leave
ret
Function at 0x4019a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4019c4
xor eax, eax
jmp 0x401a44
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4019db
xor eax, eax
jmp 0x401a44
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x401a27
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x401a27
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4019fe
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x401a33
xor eax, eax
jmp 0x401a44
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x401a41
xor eax, eax
jmp 0x401a44
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4058a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x4058c0
jl 0x4058b7
cmp dword [ebp + 0xc], 0
ja 0x4058c0
xor eax, eax
xor edx, edx
jmp 0x4059f7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x4058e2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00406260
jmp 0x4059f7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.004078b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x405951
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00403af0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00407a10
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00408530
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.00407990
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x4059e8
mov ecx, dword [ebp - 8]
call fcn.00407510
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x4059c1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0050a64f
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x4059bf
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x4059f7
jmp 0x40596d
cmp dword [ebp - 4], 0
jbe 0x4059e8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.0050a64f
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x411e30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5598cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00474e61
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00474cc1
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xc], 0
jne 0x411e7f
mov dword [ebp - 0x18], 0
jmp 0x411e85
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x7c]
call fcn.00475403
test eax, eax
je 0x411ed1
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00474ed5
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00402640
mov al, byte [ebp - 0xd]
jmp 0x411f16
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x411ee8
lea ecx, [ebp + 0x20]
call fcn.00402600
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00474ed5
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00402640
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x34

Function at 0x416f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559b3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00402fe0
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00417f90
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00414f00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00417ce0
mov dword [ebp - 0x20], 0x418010
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00402370
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.00513969
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x416f95
lea ecx, [ebp - 0x14]
call fcn.0040a340
jmp 0x416fa6
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.004ecad6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00417ce0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x43689a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x56bc20
push dword [ebp + 8]
call fcn.0050ac5f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4368f7
push ebx
push edi
push esi
call fcn.005173fd
push eax
call fcn.00517542
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x4368d6
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x4368ec
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.0050a64f
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.00509a51
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x438a98
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 8]
call fcn.00438c3d
test eax, eax
jne 0x438baa
mov ecx, dword [0x5cdaa0]
test ecx, ecx
je 0x438ac6
call fcn.004247c8
mov esi, eax
jmp 0x438ac8
xor esi, esi
push ebx
push 0x2800
call fcn.0051367e
mov edi, eax
mov dword [esp], 0x5000
call fcn.0051367e
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push str.Warning:_no_object__s_of_type:_d_in_SOUI__
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.0042fe78
add esp, 0x1c
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x438b29
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00508cb9
pop ecx
test esi, esi
je 0x438b65
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x438b65
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.H:w4playonekeyfun_souiSOUI_srccoreSObjectFactory.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x438b9e
mov ebx, 0x2800
push ebx
call fcn.0051367e
push 0x3d
push str.H:w4playonekeyfun_souiSOUI_srccoreSObjectFactory.cpp
push str.SOUI::SObjectFactoryMgr::CreateObject
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
call fcn.0042fe59
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00508cb9
pop ecx
push edi
call fcn.00508cb9
pop ecx
xor eax, eax
pop ebx
jmp 0x438bc6
mov ecx, dword [edi + 8]
push esi
call fcn.004388ea
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.00438e57
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x43d4c1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
push 0x78
mov ax, word [ebx + 0x210]
xor edi, edi
add ax, word [ebp + 0xc]
cwde
cdq
pop ecx
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [ebx + 0x210], dx
cdq
xor eax, edx
sub eax, edx
movzx esi, ax
xor eax, eax
cmp ax, si
jge 0x43d55f
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
mov dword [ebp - 4], ecx
mov eax, dword [ebx]
push 0
push ecx
push 1
mov ecx, ebx
call dword [eax + 0x100]
test eax, eax
je 0x43d52a
mov ecx, ebx
call fcn.0043ece9
mov ecx, dword [ebp - 4]
inc edi
cmp di, si
jl 0x43d507
cmp di, si
jge 0x43d564
push dword [ebp + 0x14]
sub esi, edi
push dword [ebp + 0x10]
mov eax, esi
neg eax
cmp word [ebp + 0xc], 0
movzx ecx, ax
movzx eax, si
cmovg ecx, eax
movsx eax, cx
mov ecx, ebx
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.0042de14
jmp 0x43d564
test si, si
je 0x43d59e
mov ecx, ebx
call fcn.0042bd65
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x44124b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x441271
call fcn.0042e7e0
jmp 0x44129d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042dc72
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x44129d
push 1
push ecx
push ecx
push eax
push 0x56e004
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc

Function at 0x443491
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5c5604]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004fec20
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x4434ec
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x443500
cmp byte [ebp - 6], 1
jne 0x443500
cmp dword [ebp - 0x11c], 6
jne 0x443500
xor eax, eax
inc eax
jmp 0x443502
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ee000
leave
ret