joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41856a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x418607
push ebx
push esi
call fcn.00418533
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004184c7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4185b4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418606
push edi
push eax
call fcn.00416921
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4185d4
call fcn.00415308
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418605
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004184c7
add esp, 0x20
test eax, eax
jne 0x4185f3
push edi
call fcn.00415308
jmp 0x4185fb
push ebx
call fcn.00415308
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x41e2f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e31d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e31d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x416ac3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4213dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040f8ae
and dword [ebp - 0x14], 0
cmp dword [0x438af4], 0
mov dword [ebp - 0x18], eax
jne 0x416b76
push 0x403fe0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416c1e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fd4
push ebx
call edi
test eax, eax
je 0x416c1e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fc4
push ebx
mov dword [0x438af4], eax
call edi
push eax
call esi
push 0x403fb0
push ebx
mov dword [0x438af8], eax
call edi
push eax
call esi
push 0x403f94
push ebx
mov dword [0x438afc], eax
call edi
push eax
call esi
mov dword [0x438b04], eax
test eax, eax
je 0x416b76
push 0x403f7c
push ebx
call edi
push eax
call esi
mov dword [0x438b00], eax
mov eax, dword [0x438b00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416bcf
cmp dword [0x438b04], ecx
je 0x416bcf
push eax
call esi
push dword [0x438b04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416bcf
test ebx, ebx
je 0x416bcf
call edi
test eax, eax
je 0x416bc6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416bc6
test byte [ebp - 8], 1
jne 0x416bcf
or dword [ebp + 0x10], 0x200000
jmp 0x416c02
mov eax, dword [0x438af8]
cmp eax, dword [ebp - 0x18]
je 0x416c02
push eax
call esi
test eax, eax
je 0x416c02
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416c02
mov eax, dword [0x438afc]
cmp eax, dword [ebp - 0x18]
je 0x416c02
push eax
call esi
test eax, eax
je 0x416c02
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x438af4]
call esi
test eax, eax
je 0x416c1e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416c20
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b42e
leave
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401000
Capabilities:
Accept command line arguments
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
push esi
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x104], 2
jne 0x401045
cmp dword [ebp - 0x110], 6
ja 0x40103e
jne 0x401045
cmp dword [ebp - 0x10c], 2
jb 0x401045
mov esi, 0x1100
jmp 0x401048
push 8
pop esi
push 0x104
lea eax, [ebp - 0x33c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x33c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp + eax*2 - 0x33c]
jmp 0x40107d
lea ecx, [eax - 2]
cmp word [ecx], 0x5c
je 0x401087
mov eax, ecx
lea ecx, [ebp - 0x33c]
cmp eax, ecx
ja 0x401072
push str.Tsu.dll
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push 0
lea eax, [ebp - 0x33c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x4010b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str._TsuMainW_8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4010a7
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
jmp 0x4010ad
Function at 0x402cdc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb116
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
movdqa xmm0, xmmword [0x52f490]
xor ebx, ebx
mov dword [esp + 0x10], ebx
movdqu xmmword [esp + 0x14], xmm0
mov dword [esp + 0x30], ebx
mov dword [esp + 8], 0x51d44c
lea eax, [esp + 8]
mov byte [esp + 0x30], 1
push eax
push ecx
mov eax, esp
mov dword [eax], str.recentFilterGraphFiles
call fcn.004070c0
lea ecx, [esp + 0x14]
push ecx
push ecx
mov ecx, dword [eax + 0x44]
call fcn.004409f3
pop ecx
mov ecx, eax
call fcn.00426164
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call fcn.004daafe
mov eax, dword [esp + 0xc]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
mov ecx, esp
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
push ebx
push dword [ebp + 8]
lea ecx, [esp + 0x1c]
call fcn.00428f9b
lea ecx, [esp + 0x14]
call fcn.0042ff71
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fc819
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x78], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x38], 1
call fcn.0040f1a4
test al, al
je 0x40e927
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x40e889
mov edx, dword [edi + 0x60]
test edx, edx
je 0x40e885
movsd xmm1, qword [ecx + 0x18]
movsd xmm0, qword [edx + 0x18]
comisd xmm1, xmm0
ja 0x40e845
movaps xmm0, xmm1
movsd qword [edi + 0x68], xmm0
lea esi, [edi + 0x80]
mov eax, dword [ecx + 0x28]
cmp dword [edx + 0x28], eax
cmovl eax, dword [edx + 0x28]
mov dword [edi + 0x70], eax
mov eax, dword [ecx + 0x2c]
cmp eax, dword [edx + 0x2c]
cmovl eax, dword [edx + 0x2c]
mov dword [edi + 0x74], eax
lea eax, [ecx + 0x3c]
push eax
mov ecx, esi
call fcn.004127de
mov eax, dword [edi + 0x60]
mov ecx, esi
add eax, 0x3c
push eax
call fcn.00412eab
jmp 0x40e8b1
test ecx, ecx
jne 0x40e88c
mov ecx, dword [edi + 0x60]
movsd xmm0, qword [ecx + 0x18]
movsd qword [edi + 0x68], xmm0
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x70], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x74], eax
lea eax, [ecx + 0x3c]
push eax
lea ecx, [edi + 0x80]
call fcn.004127de
push dword [edi + 0x74]
lea ebx, [edi + 0x8c]
mov ecx, ebx
call fcn.00412476
mov eax, dword [edi + 0x70]
cmp eax, dword [edi + 0x74]
je 0x40e8d1
push eax
mov ecx, ebx
call fcn.00412476
push 0x40
pop eax
mov esi, eax
mov dword [esp + 0x10], 0x28
cmp esi, dword [edi + 0x70]
jl 0x40e8ff
cmp esi, 0x800
jg 0x40e8ff
push esi
mov ecx, ebx
call fcn.0040a5a6
test al, al
jne 0x40e8ff
push esi
mov ecx, ebx
call fcn.00412476
cmp esi, 0x400
mov eax, 0x80
push 0x40
pop ecx
cmovl eax, ecx
cmp esi, 0x200
push 0x20
pop ecx
cmovl eax, ecx
add esi, eax
dec dword [esp + 0x10]
jne 0x40e8de
xor ebx, ebx
inc ebx
push 0
call fcn.004dc624
pop ecx
push 0
call fcn.004dc624
pop ecx
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413f3a
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0x2c]
xorps xmm0, xmm0
push ebx
xor ebx, ebx
push edi
mov eax, dword [eax]
mov edi, ecx
mov dword [edi], vtable.juce::AudioProcessor.0
mov eax, dword [eax + 4]
mov dword [edi + 8], eax
lea eax, [edi + 0x3a]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push eax
movsd qword [edi + 0x20], xmm0
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov word [edi + 0x38], bx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x52]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, 0x51d44c
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
mov eax, edi
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
pop edi
pop ebx
ret
Function at 0x41ad2b
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fdb29
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov ebx, dword [ebp + 8]
and dword [esp + 0x30], esi
mov eax, dword [ecx]
lea edi, [ebx + 0x18]
push edi
call dword [eax + 0x10]
test al, al
je 0x41ae93
mov edx, edi
lea ecx, [esp + 0x10]
call fcn.00427807
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0043a20b
lea eax, [esp + 0x1c]
mov byte [esp + 0x30], 2
push eax
lea ecx, [esp + 0x14]
call fcn.00427a4e
mov ecx, eax
mov byte [esp + 0x30], 3
call fcn.0042f942
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call fcn.0042db44
lea ecx, [esp + 0x10]
call fcn.004177af
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x41addf
xor eax, eax
lea ecx, [edi + 4]
inc eax
lock xadd dword [ecx], eax
mov byte [esp + 0x30], 4
test edi, edi
je 0x41ae54
mov eax, dword [ebx + 0x28]
push 0x1f8
mov dword [0x5558c8], eax
call fcn.004dc5b8
pop ecx
mov dword [esp + 0x20], eax
mov byte [esp + 0x30], 5
test eax, eax
je 0x41ae16
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00417c07
jmp 0x41ae18
xor eax, eax
test eax, eax
mov byte [esp + 0x30], 4
cmovne esi, eax
mov dword [esp + 0x14], esi
mov ecx, esi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x41ae44
push dword [ebp + 0x14]
movsd xmm2, qword [ebp + 0xc]
mov dword [eax + 0x2c], esi
call fcn.0041811b
jmp 0x41ae54
xor esi, esi
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x41ae54
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esp + 0x30], 2
test edi, edi
je 0x41ae71
lea ecx, [edi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x41ae71
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
lea ecx, [esp + 0x18]
call fcn.0042f942
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x18]
call fcn.0042db44
lea ecx, [esp + 0x10]
call fcn.0042db44
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424e0e
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ff2cd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x38]
mov eax, dword [esi]
mov ecx, esi
fstp qword [esp + 0x24]
call dword [eax + 0x34]
mov edx, dword [esi]
mov ebx, eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call dword [edx + 0x44]
mov ecx, eax
call fcn.004296c2
push dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
call fcn.004dc624
mov edx, dword [esi]
lea eax, [esp + 0x40]
pop ecx
push eax
mov ecx, esi
call dword [edx + 0x40]
mov ecx, eax
call fcn.004296c2
push dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.004dc624
mov esi, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
pop ecx
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x24], eax
call edi
and dword [esp + 0x58], 0
movsd xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x30], ebx
mov ebx, dword [esp + 0x1c]
movsd qword [esi + 0x28], xmm0
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
add esi, 0xf8
push esi
call edi
mov edi, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x24]
movsd qword [edi + 0x120], xmm0
and dword [edi + 0x118], 0
call fcn.0043a8bc
push esi
movsd qword [edi + 0xf0], xmm0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [edi + 0x40]
call fcn.004dc624
mov eax, dword [esp + 0x1c]
cmp eax, ebx
pop ecx
cmovl eax, ebx
add eax, 2
push 4
push eax
call fcn.004dcc29
pop ecx
pop ecx
mov dword [edi + 0x40], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x424f4a
cmp byte [edi + 0x34], 0
je 0x424f36
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [edi + 8]
mov ecx, edi
push 0
call fcn.00424acb
push esi
mov ecx, edi
call fcn.00424acb
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x428bac
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x428bf5
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x428bf0
lea ecx, [ebp + 0xc]
call fcn.00439ac9
mov ecx, dword [esi + 0x18]
mov edx, dword [eax]
mov dword [esi + 0x18], edx
mov dword [eax], ecx
lea ecx, [ebp + 0xc]
call fcn.0042db44
mov eax, dword [ebp - 4]
jmp 0x428bf7
xor eax, eax
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x429278
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00439b70
test al, al
je 0x4292e4
push 4
pop ebx
lea edi, [esi + 4]
push esi
mov ecx, edi
call fcn.0042e1a5
test eax, eax
je 0x4292ea
mov ecx, esi
call fcn.00439b70
test al, al
je 0x4292d9
push edi
mov ecx, esi
call fcn.004279f8
test al, al
je 0x4292ba
mov ecx, edi
call fcn.00439bdd
test al, al
je 0x4292d9
mov ecx, edi
call fcn.0042f942
push eax
mov ecx, esi
call fcn.0042f942
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
test al, al
jne 0x4292ea
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
jns 0x42928c
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, 1
jmp 0x4292e6

Function at 0x42d864
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x54d894]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
and dword [0x555c94], 0
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
xor ecx, ecx
stosd dword es:[edi], eax
lea esi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [0x555c98], al
mov eax, ecx
shr eax, 0x19
and al, 1
shr ecx, 0x1a
mov byte [0x555c99], al
and cl, 1
mov al, byte [ebp - 0xc]
and al, 1
mov byte [0x555c9a], cl
test dword [ebp - 0x10], 0x80000000
mov byte [0x555c9b], al
lea eax, [ebp - 0x38]
push eax
setne byte [0x555c9c]
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [0x555c94], eax
xor ecx, ebp
mov eax, 0x555c94
pop ebx
call fcn.004db457
mov esp, ebp
pop ebp
ret

Function at 0x430cb9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
mov byte [esi + 0x38], cl
cmp dword [esi + 8], ecx
jne 0x430d07
lea eax, [ebp - 4]
push eax
push ecx
push esi
push 0x43a912
push ecx
push ecx
call fcn.004dfb60
mov edx, dword [esi + 0x30]
add esp, 0x18
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
call fcn.0043a952
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430d4f
Capabilities:
Terminate thread

Disassembly:
push 8
mov eax, 0x5005b8
call fcn.004e2dc9
mov esi, ecx
lea eax, [esi + 0x10]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 8], ebx
je 0x430dfb
push dword [esi + 0x2c]
mov byte [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [ebp + 8]
test edi, edi
je 0x430db3
call fcn.00431a89
add eax, edi
mov dword [ebp + 8], eax
jmp 0x430dae
test edi, edi
js 0x430da6
call fcn.00431a89
cmp eax, dword [ebp + 8]
ja 0x430db3
push 2
pop ecx
call fcn.0043a9a7
cmp dword [esi + 8], ebx
jne 0x430d98
cmp dword [esi + 8], ebx
je 0x430dfb
push ecx
mov eax, esp
lea ecx, [ebp - 0x10]
mov dword [eax], str.___killing_thread_by_force___
call fcn.0043d793
pop ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004292ee
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
cmp dword [esi + 8], ebx
je 0x430df3
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jmp 0x430dfd
mov bl, 1
lea ecx, [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.004e2d97
ret 4
Function at 0x4350f1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, ebx
sub edx, dword [edi + 0x6c]
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x43518c
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004db470
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov edi, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x435145
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x43516a
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x435247
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x4351b9
xor eax, eax
jmp 0x43520a
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4351d6
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00433e3c
jmp 0x4351ee
cmp eax, 2
jne 0x4351f2
mov edx, dword [esi]
test edx, edx
jne 0x4351e5
xor eax, eax
jmp 0x4351ef
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00434071
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call fcn.004db470
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi], eax
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x435232
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x435247
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x435102
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret