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

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4408b6
mov eax, ebx
call fcn.0044133c
cmp dword [ebx + 0x40], 0
je 0x4408af
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x440927
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x440919
cmp dword [ebx + 8], 0
je 0x4408d8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4408ea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x440919
cmp dword [ebx + 8], 0
je 0x4408cb
cmp eax, 3
je 0x4408fd
dec eax
jne 0x4408cb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4408cb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4408cb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x440945
cmp dword [ebx + 0x14], 0xcc
je 0x440945
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00440950
pop ebx
ret

Function at 0x4567bc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048b8
mov eax, dword [ebp - 8]
call fcn.004048b8
mov eax, dword [ebp - 0xc]
call fcn.004048b8
mov eax, dword [ebp + 0xc]
call fcn.004048b8
xor eax, eax
push ebp
push 0x4568f6
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 0x10]
call fcn.00434208
cmp dword [ebp + 0xc], 0
je 0x456821
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, 0x456910
call fcn.00404714
push 0
lea eax, [ebp - 4]
call fcn.00404920
mov ecx, eax
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.004274a8
mov edi, eax
test edi, edi
je 0x4568d3
cmp dword [ebp - 8], 0
jne 0x456853
mov eax, dword [ebp - 0xc]
call fcn.00430170
mov ebx, eax
jmp 0x45686c
mov eax, dword [ebp - 0xc]
call fcn.004048c8
push eax
mov eax, dword [ebp - 8]
call fcn.004048c8
pop edx
call fcn.0043378c
mov ebx, eax
push 0xa
call sub.kernel32.dll_Sleep
inc esi
cmp esi, 0xbb8
ja 0x4568d3
test ebx, ebx
je 0x456841
push 0x45691c
mov ecx, 0x456920
xor edx, edx
mov eax, ebx
call fcn.00433724
mov esi, eax
test esi, esi
je 0x4568d3
mov dl, 1
mov eax, dword [0x416384]
call fcn.00403680
mov ebx, eax
mov edx, ebx
mov eax, esi
call fcn.004562b0
mov edx, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, ebx
call fcn.004036b0
push 0
push edi
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4568fd
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404410
lea eax, [ebp + 0xc]
call fcn.004043ec
ret
Function at 0x457194
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov esi, eax
xor ebx, ebx
mov eax, dword [0x46075c]
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
fild qword [esp]
fmul dword [0x457270]
movzx eax, word [0x460766]
shr eax, 3
mov dword [esp + 8], eax
fild dword [esp + 8]
fmulp st(1)
call fcn.00402e94
mov dword [0x462038], eax
mov eax, dword [0x462038]
call fcn.00402a18
mov dword [0x462034], eax
push 0x30000
push 0
push 0x457178
push 0x460758
push esi
push 0x46203c
call sub.winmm.dll_waveInOpen
test eax, eax
jne 0x457265
mov eax, 0x20
call fcn.00402a18
mov dword [0x462030], eax
mov eax, dword [0x462030]
mov edx, dword [0x462034]
mov dword [eax], edx
mov edx, dword [0x462038]
mov dword [eax + 4], edx
push 0x20
mov eax, dword [0x462030]
push eax
mov eax, dword [0x46203c]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x457265
push 0x20
mov eax, dword [0x462030]
push eax
mov eax, dword [0x46203c]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
jne 0x457265
mov eax, dword [0x46203c]
push eax
call sub.winmm.dll_waveInStart
test eax, eax
jne 0x457265
mov bl, 1
mov eax, ebx
add esp, 0xc
pop esi
pop ebx
ret

Function at 0x4577d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004048b8
xor eax, eax
push ebp
push 0x457833
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x457848
call fcn.004046d0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004046c8
push eax
lea eax, [ebp - 4]
call fcn.00404920
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45783a
lea eax, [ebp - 4]
call fcn.004043ec
ret

Function at 0x45784c
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x457855
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x457912
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004043ec
mov dword [ebp - 0xc], 0x7fff
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push ebx
call sub.kernel32.dll_PeekNamedPipe
cmp dword [ebp - 8], 0
jbe 0x4578fc
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x800b]
push eax
push ebx
call sub.kernel32.dll_ReadFile
lea eax, [ebp - 0x800b]
push eax
lea eax, [ebp - 0x800b]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 4]
lea edx, [ebp - 0x800b]
mov ecx, 0x7fff
call fcn.004044dc
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004049f8
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457919
lea eax, [ebp - 4]
call fcn.004043ec
ret
Function at 0x45867c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x458684
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4587f0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00430fc4
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00404c0c
mov edx, dword [ebp - 0x10]
mov ecx, 0x458804
mov eax, ebx
call fcn.0042f9a0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4587a0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4587a0
inc eax
mov dword [ebp - 8], eax
xor esi, esi
cmp byte [0x462098], 0
jne 0x4587a0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x1c]
call fcn.004084f4
push dword [ebp - 0x1c]
push 0x458818
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x20]
push 0x458818
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00430d10
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00434814
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404788
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 4]
mov dx, 0x3f6
call fcn.00426064
lea eax, [ebp - 4]
call fcn.00425fa8
cmp ax, 0x3f7
jne 0x4587a0
lea ecx, [ebp - 0x34]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00430d10
mov eax, dword [ebp - 0x30]
call fcn.00404c1c
push eax
call sub.kernel32.dll_DeleteFileW
inc esi
dec dword [ebp - 8]
jne 0x4586ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4587f7
lea eax, [ebp - 0x34]
call fcn.004043ec
lea eax, [ebp - 0x30]
call fcn.00404a8c
lea eax, [ebp - 0x2c]
call fcn.004043ec
lea eax, [ebp - 0x28]
call fcn.00404a8c
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00404410
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404aa4
lea eax, [ebp - 4]
call fcn.004043ec
ret
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x414de5
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], eax
add ebx, ebx
add ebx, 1
sub edi, 0xf55e1f4e
add edx, 4
cmp edx, ecx
jne fcn.00414de5
ret
Function at 0x5e9560
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5e959f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5e959f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5e959f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5e959f
cmp dword [ecx + 0x74], 0xe
jbe 0x5e959f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x5ef0f3
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 0x5ef190
push ebx
push esi
call fcn.005ef0bc
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.005ef050
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x5ef13d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5ef18f
push edi
push eax
call fcn.005efd10
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x5ef15d
call fcn.005edbb1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x5ef18e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.005ef050
add esp, 0x20
test eax, eax
jne 0x5ef17c
push edi
call fcn.005edbb1
jmp 0x5ef184
push ebx
call fcn.005edbb1
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 0x5f048d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5f8030
push 0x5f8028
push str.FlsAlloc
push 0x1f
call fcn.005f034c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5f04c1
push dword [ebp + 8]
mov ecx, esi
call dword [0x5f612c]
call esi
jmp 0x5f04c7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x5f050b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5f8040
push 0x5f8038
push str.FlsGetValue
push 0x21
call fcn.005f034c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5f0542
push dword [ebp + 8]
mov ecx, esi
call dword [0x5f612c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5f054a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5f8048
push 0x5f8040
push str.FlsSetValue
push 0x22
call fcn.005f034c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5f0584
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5f612c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5f59e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5f5a0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5f5a0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445de8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x454364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404c60
test eax, eax
jbe 0x40782f
mov byte [ebp - 0x24], 0x25
mov byte [ebp - 0x23], 0x2d
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x21], 0x29
mov byte [ebp - 0x20], 0x28
mov byte [ebp - 0x1f], 0x27
mov byte [ebp - 0x1e], 0x35
mov byte [ebp - 0x1d], 0x22
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x2c
mov byte [ebp - 0x1a], 0x23
mov byte [ebp - 0x19], 0x28
mov byte [ebp - 0x18], 0x2f
mov byte [ebp - 0x17], 0x24
mov byte [ebp - 0x16], 0x25
push 0xf
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004073d0
mov dword [ebp - 0x4c], eax
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.00402180
push eax
lea ecx, [ebp + 8]
call fcn.0040fe30
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x40]
call fcn.004020e0
cmp dword [ebp - 0x14], 0
jle 0x40782f
mov byte [ebp - 0x41], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004020e0
mov al, byte [ebp - 0x41]
jmp 0x407845
mov byte [ebp - 0x42], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004020e0
mov al, byte [ebp - 0x42]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ebd2
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x407860
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
jmp 0x407891
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 4
jge 0x4078a8
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dl, byte [eax]
mov byte [ebp + ecx - 8], dl
jmp 0x407888
mov ecx, dword [ebp - 0x20]
call fcn.00407730
movzx eax, al
test eax, eax
je 0x4078dd
movzx ecx, byte [ebp - 5]
shl ecx, 0x18
movzx edx, byte [ebp - 6]
shl edx, 0x10
or ecx, edx
movzx eax, byte [ebp - 7]
shl eax, 8
or ecx, eax
movzx edx, byte [ebp - 8]
or ecx, edx
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
jmp 0x407901
movzx ecx, byte [ebp - 8]
shl ecx, 0x18
movzx edx, byte [ebp - 7]
shl edx, 0x10
or ecx, edx
movzx eax, byte [ebp - 6]
shl eax, 8
or ecx, eax
movzx edx, byte [ebp - 5]
or ecx, edx
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
jle 0x4079d0
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
call fcn.0041de54
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0041f4f0
add esp, 0xc
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x407981
mov dword [ebp - 0x14], 0
jmp 0x40795b
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx]
jge 0x407981
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
movzx eax, byte [ecx + edx]
xor eax, 0x41
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov byte [edx + ecx], al
jmp 0x407952
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
add eax, 4
mov ecx, dword [0x456840]
sub ecx, eax
push ecx
call fcn.0041de54
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
add edx, 4
mov eax, dword [0x456840]
sub eax, edx
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx + 4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.0041f4f0
add esp, 0xc
mov esp, ebp
pop ebp
ret 0x14
Function at 0x414930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444f68
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x454364]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x414970
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x41497c
mov al, 1
jmp 0x414b1f
mov dword [ebp - 0x10], 8
call fcn.00403250
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00403250
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00403230
add esp, 8
movzx eax, al
test eax, eax
je 0x4149bf
xor al, al
jmp 0x414b1f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040ecf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040edf0
mov ecx, eax
call fcn.00413ed0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00404c60
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040edf0
mov ecx, eax
call fcn.00413ed0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00418750
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x414a3a
cmp dword [ebp - 0x6c], 1
je 0x414a41
cmp dword [ebp - 0x6c], 3
je 0x414adb
jmp 0x414af3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040edf0
mov ecx, eax
call fcn.00413ed0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x414aa4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040edf0
mov ecx, eax
call fcn.00413ed0
push eax
call fcn.004234fa
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x414aa4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040ed70
mov al, byte [ebp - 0x61]
jmp 0x414b1f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x414ac7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040ed70
mov al, byte [ebp - 0x62]
jmp 0x414b1f
cmp dword [ebp - 0x38], 0
jne 0x414ad9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004125f0
jmp 0x414b0b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040ed70
mov al, byte [ebp - 0x63]
jmp 0x414b1f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040ed70
mov al, byte [ebp - 0x64]
jmp 0x414b1f
jmp 0x4149d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041ebd2
mov esp, ebp
pop ebp
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x402ee4
pop dword [ebp - 0x3c]
mov eax, 0x402ee4
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x9104f6de
add dword [ebp - 0x4c], 0xbd4d4e6d
mov dword [ebp - 0x48], 0xd771286e
add dword [ebp - 0x48], 0x5ac223d7
mov dword [ebp - 0x44], 0xb1d31219
sub dword [ebp - 0x44], 0x6586cdeb
mov dword [ebp - 0x40], 0xdb96064f
sub dword [ebp - 0x40], 0xdb96064f
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x7d088cad
add dword [ebp - 0x4c], 0xf769dca9
mov dword [ebp - 0x48], 0xcba6fecb
sub dword [ebp - 0x48], 0x8a3a9d56
mov dword [ebp - 0x44], 0x5c44d019
sub dword [ebp - 0x44], 0xf8d563ad
mov dword [ebp - 0x40], 0x56db7ec8
add dword [ebp - 0x40], 0xa9248138
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x37393
push 0
call eax
mov ecx, 0xe78ad2e7
add ecx, 0x187575d9
mov esi, eax
mov edx, 0xc27e618e
sub edx, 0xc2377d8e
add edx, dword [ebp - 0x3c]
mov edi, 0x1117efc7
add dword [ebp - 0x28], ebx
mov ebx, dword [edx]
sub dword [ebp - 0x18], ecx
xor ebx, edi
xor dword [ebp - 0x18], 0x4d9adf51
mov dword [esi], ebx
xor dword [ebp - 4], 0x44e7bcf1
add esi, 0x25721ce
sub esi, 0x25721ca
add edx, 0xa5dd149d
add edx, 0x5a22eb67
loop 0x402ff1
add eax, 0xa6159ae3
add eax, 0x59eb7af0
xor ebx, ebx
add ebx, eax
add eax, 0x4acf76af
sub eax, 0x4acf76aa
mov ecx, 0x40b9d288
add ecx, 0xbf862d78
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x403360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403393
call fcn.00403340
test eax, eax
je 0x403393
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403400
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403434
call fcn.00403340
cmp eax, 7
jb 0x403434
mov edx, 7
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403440
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403473
call fcn.00403340
test eax, eax
je 0x403473
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403570
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x899474]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x4035b9
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4035b9
push 0xc00
call eax
test eax, eax
jne 0x40364e
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x40364e
cmp ecx, 0x104
ja 0x40364e
cmp word [ebp + ecx*2 - 0x2d6], 0x5c
je 0x4035f2
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x2d4], ax
inc ecx
mov al, byte [str.userenv]
push esi
mov esi, str.userenv
test al, al
je 0x40364d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + ecx*2]
mov ecx, edi
inc esi
movzx eax, al
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
mov al, byte [esi]
inc esi
test al, al
jne 0x403615
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
mov al, byte [esi]
test al, al
jne 0x403612
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b8c9
mov esp, ebp
pop ebp
ret