joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e780
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a36e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov al, byte [edi + 4]
test al, al
jne 0x46e90e
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x46e7c0
call ebx
cmp byte [edi + 0x38], 0
mov esi, eax
mov dword [ebp - 0x18], esi
je 0x46e8f3
lea esi, [edi + 0x20]
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x14]
push 1
push 0
call fcn.0046fe50
test al, al
sete byte [ebp - 0xd]
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [edi + 4], 0
mov esi, dword [ebp - 0x18]
jne 0x46e90e
cmp byte [edi + 0x38], 0
je 0x46e8f3
call ebx
mov dl, byte [0x77b0b8]
mov ecx, dword [0x77b0b4]
mov ebx, eax
xor dl, bl
xor byte [ecx + 0x77b0c0], dl
inc ecx
and ecx, 0xfff
xor dl, bh
xor byte [ecx + 0x77b0c0], dl
inc ecx
and ecx, 0xfff
mov dword [ebp - 0x14], ebx
xor dl, byte [ebp - 0x12]
inc ecx
xor byte [ecx + 0x77b0bf], dl
xor dl, byte [ebp - 0x11]
and ecx, 0xfff
movzx eax, bl
xor byte [ecx + 0x77b0c0], dl
inc ecx
and eax, 1
and ecx, 0xfff
add eax, ecx
and eax, 0xfff
cmp byte [ebp - 0xd], 0
mov byte [0x77b0b8], dl
mov dword [0x77b0b4], eax
je 0x46e8af
mov ecx, ebx
sub ecx, esi
cmp ecx, 0x6e
jae 0x46e8de
mov eax, 0x6e
sub eax, ecx
mov ecx, 0xffffffff
cmove eax, ecx
push eax
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x46e8de
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [edi + 4], 0
jne 0x46e8de
mov eax, dword [0x772be8]
cmp eax, 6
ja 0x46e8d3
push eax
push 0
mov ecx, edi
call fcn.004e7bf0
jmp 0x46e8de
push 0
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp byte [edi + 0x38], 0
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], esi
jne 0x46e7d1
cmp byte [edi + 4], 0
jne 0x46e90e
push 0xffffffffffffffff
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 4], 0
je 0x46e7c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49f5f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
lea esi, [ebp + 8]
xor eax, eax
lea esp, [esp]
movsx edx, byte [esi]
add eax, edx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
inc esi
lea ecx, [ebp + 0xc]
cmp esi, ecx
jb 0x49f600
push dword [ebp + 0xc]
lea eax, [eax + eax*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ecx, ecx, 0x8001
or eax, 0xffffffff
test ecx, ecx
cmove ecx, eax
push ecx
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004a1e70
pop edi
pop esi
pop ebp
ret 8
Function at 0x49f780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
lea esi, [ebp + 8]
xor eax, eax
lea esp, [esp]
movsx edx, byte [esi]
add eax, edx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
inc esi
lea ecx, [ebp + 0xc]
cmp esi, ecx
jb 0x49f790
lea eax, [eax + eax*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul ecx, ecx, 0x8001
or eax, 0xffffffff
test ecx, ecx
cmove ecx, eax
push ecx
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004a1f70
pop edi
pop esi
pop ebp
ret 4
Function at 0x4a2380
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
push esi
lea esi, [edx + 4]
xor eax, eax
cmp edx, esi
jae 0x4a23a7
lea esp, [esp]
movsx ecx, byte [edx]
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
inc edx
xor eax, ecx
cmp edx, esi
jb 0x4a2390
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
or ecx, 0xffffffff
test eax, eax
cmove eax, ecx
pop esi
ret
Function at 0x4c0da0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a7846
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x18]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [esi + 0x18]
push eax
call fcn.004c0e50
mov dword [ebp - 4], 0
lea eax, [esi + 0x24]
push eax
lea ecx, [edi + 0x24]
call fcn.004c0e50
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4c8120
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
lea ebx, [edi + 0xc]
mov dword [ebx], eax
mov eax, ebx
mov edx, dword [eax]
shr edx, 0x1e
xor edx, dword [eax]
lea eax, [eax + 4]
imul edx, edx, 0x6c078965
add edx, esi
inc esi
mov dword [eax], edx
cmp esi, 0x270
jl 0x4c8137
mov dword [edi + 8], ebx
mov dword [edi + 4], 1
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4c8240
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
lea ebx, [ecx + 0xc]
push edi
mov eax, ebx
mov dword [ecx + 4], 0x270
mov dword [ecx + 8], ebx
mov edi, 0xe3
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [eax]
and cl, 1
movzx ecx, cl
shr edx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [eax + 0x634]
add eax, 4
mov dword [eax - 4], edx
dec edi
jne 0x4c8257
mov edi, 0x18c
mov edi, edi
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [eax]
and cl, 1
movzx ecx, cl
shr edx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [eax - 0x38c]
lea eax, [eax + 4]
mov dword [eax - 4], edx
dec edi
jne 0x4c8290
mov ecx, dword [ebx]
mov edx, dword [eax]
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [eax]
and cl, 1
movzx ecx, cl
shr edx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor edx, ecx
xor edx, dword [eax - 0x38c]
pop edi
pop esi
mov dword [eax], edx
pop ebx
ret

Function at 0x4c82f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
push edi
dec dword [esi + 4]
jne 0x4c8304
call fcn.004c8240
mov eax, dword [esi + 8]
add eax, 4
mov ecx, dword [eax - 4]
mov dword [esi + 8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov edi, ecx
shr edi, 0x12
xor edi, ecx
dec dword [esi + 4]
jne 0x4c8342
mov ecx, esi
call fcn.004c8240
mov eax, dword [esi + 8]
add eax, 4
mov ecx, dword [eax - 4]
mov dword [esi + 8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
and eax, 0xfffff
or eax, 0x3ff00000
mov dword [ebp - 8], edi
mov dword [ebp - 4], eax
call fcn.00496b30
movsd xmm0, qword [ebp - 8]
subsd xmm0, qword [0x72e118]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4ca1b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
xor eax, eax
test edx, edx
je 0x4ca1f5
movzx ecx, word [edx]
test cx, cx
je 0x4ca1dd
movzx ecx, cx
add eax, ecx
imul eax, eax, 0x401
mov ecx, eax
shr ecx, 6
lea edx, [edx + 2]
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x4ca1c0
lea eax, [eax + eax*8]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
imul eax, eax, 0x8001
or ecx, 0xffffffff
test eax, eax
cmove eax, ecx
ret
Function at 0x4d4dc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, dword [ecx + 4]
test esi, esi
jne 0x4d4dcc
xor eax, eax
pop esi
ret
dec dword [esi + 4]
jne 0x4d4dd8
mov ecx, esi
call fcn.004c8240
mov eax, dword [esi + 8]
add eax, 4
mov ecx, dword [eax - 4]
mov dword [esi + 8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
ret

Function at 0x4d4e10
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
test esi, esi
jne 0x4d4e24
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
ret
dec dword [esi + 4]
jne 0x4d4e30
mov ecx, esi
call fcn.004c8240
mov eax, dword [esi + 8]
add eax, 4
mov ecx, dword [eax - 4]
mov dword [esi + 8], eax
mov edi, dword [edi + 4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov ebx, ecx
shr ebx, 0x12
xor ebx, ecx
dec dword [edi + 4]
jne 0x4d4e71
mov ecx, edi
call fcn.004c8240
mov eax, dword [edi + 8]
add eax, 4
mov esi, dword [eax - 4]
mov dword [edi + 8], eax
mov eax, esi
shr eax, 0xb
xor esi, eax
mov eax, esi
and eax, 0xff3a58ad
shl eax, 7
xor esi, eax
mov ecx, esi
and ecx, 0xffffdf8c
shl ecx, 0xf
xor esi, ecx
mov edx, esi
shr edx, 0x12
pop edi
xor edx, esi
pop esi
mov eax, ebx
and edx, 0x7fffffff
pop ebx
ret

Function at 0x4d4eb0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
test esi, esi
jne 0x4d4ec4
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
ret
dec dword [esi + 4]
jne 0x4d4ed0
mov ecx, esi
call fcn.004c8240
mov eax, dword [esi + 8]
add eax, 4
mov ecx, dword [eax - 4]
mov dword [esi + 8], eax
mov edi, dword [edi + 4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov ebx, ecx
shr ebx, 0x12
xor ebx, ecx
dec dword [edi + 4]
jne 0x4d4f11
mov ecx, edi
call fcn.004c8240
mov eax, dword [edi + 8]
add eax, 4
mov esi, dword [eax - 4]
mov dword [edi + 8], eax
mov eax, esi
shr eax, 0xb
xor esi, eax
mov ecx, esi
and ecx, 0xff3a58ad
shl ecx, 7
xor esi, ecx
mov ecx, esi
and ecx, 0xffffdf8c
shl ecx, 0xf
xor esi, ecx
mov edx, esi
shr edx, 0x12
pop edi
xor edx, esi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4d7f10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6aa7ec
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov byte [ebp - 4], 2
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov byte [ebp - 4], 4
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0x54]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004417c0
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x5c]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004417c0
mov dword [esi], eax
mov byte [ebp - 4], 0x10
lea esi, [edi + 0x64]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004417c0
mov dword [esi], eax
mov byte [ebp - 4], 0x15
lea esi, [edi + 0x6c]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d9f70
mov dword [esi], eax
mov byte [ebp - 4], 0x1a
lea esi, [edi + 0x74]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d9f70
mov dword [esi], eax
mov byte [ebp - 4], 0x1f
lea esi, [edi + 0x7c]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004da020
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e1120
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ab4c2
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x76f950]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x22c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], eax
cmp byte [ebx + 5], 0
jne 0x4e1347
mov dword [ebp - 4], 0
mov eax, dword [0x789f1c]
test eax, eax
je 0x4e1365
cmp dword [eax + 0x34], 0
je 0x4e1365
mov edx, 0x77aea8
lea ecx, [ebp - 0x21c]
call fcn.00496890
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4e11a3
mov ecx, 9
mov esi, str.krkr.console.log
rep movsd dword es:[edi], dword [esi]
call fcn.00430530
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call fcn.0063585f
add esp, 8
mov dword [ebx], eax
test eax, eax
je 0x4e136b
push 2
push 0
push eax
call fcn.00638e35
push dword [ebx]
call fcn.00638d3e
add esp, 0x10
test eax, eax
jne 0x4e120a
push dword [ebx]
push 2
push 1
push 0x6f4c2c
call fcn.00638967
add esp, 0x10
mov ecx, dword [0x788c2c]
mov eax, dword [0x788c30]
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x220]
call fcn.00401430
mov byte [ebp - 4], 1
lea eax, [ebp - 0x220]
push eax
mov ecx, ebx
call fcn.004e1390
lea eax, [ebp - 0x238]
push eax
call fcn.00637030
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], edx
lea eax, [ebp - 0x238]
push eax
call fcn.00636d93
push eax
push 0x6f4f64
push 0x4f
push 0x797070
call fcn.006387f3
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401430
mov esi, eax
mov byte [ebp - 4], 2
push str.Logging_to
lea ecx, [ebp - 0x224]
call fcn.00401430
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, eax
call fcn.00406be0
mov byte [ebp - 4], 4
push str._started_on
lea ecx, [ebp - 0x240]
push ecx
mov ecx, eax
call fcn.00406d10
mov byte [ebp - 4], 5
push 0x797070
lea ecx, [ebp - 0x230]
push ecx
mov ecx, eax
call fcn.00406d10
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.004e1390
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.00401470
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x240]
call fcn.00401470
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.00401470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.00401470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.00401470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00401470
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00633732
mov esp, ebp
pop ebp
ret 4
mov dword [ebx], 0
mov byte [ebx + 5], 1
jmp 0x4e1340
Function at 0x4e1390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ab460
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [edi], 0
jne 0x4e13cf
push 0x6f92ec
call fcn.004e1120
mov dword [ebp - 4], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x4e1440
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x4e13e9
xor esi, esi
jmp 0x4e13ec
mov esi, dword [eax + 0x34]
add esi, esi
push ecx
push esi
push 1
mov ecx, edx
call fcn.00401490
push eax
call fcn.00638967
add esp, 0x10
push dword [edi]
cmp esi, eax
je 0x4e1428
call fcn.00635c3e
add esp, 4
mov byte [edi + 5], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 4
push 1
push 0x6f92e4
call fcn.00638967
push dword [edi]
call fcn.00637b60
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4e2d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ab7bb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x76f950]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x230]
call fcn.0043eba0
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4e2d45
mov eax, dword [eax]
movzx edx, word [eax]
lea ecx, [ebp - 0x218]
test dx, dx
je 0x4e2d64
lea eax, [eax + 2]
mov word [ecx], dx
movzx edx, word [eax]
add ecx, 2
test dx, dx
jne 0x4e2d53
xor eax, eax
mov word [ecx], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x21c], 8
jb 0x4e2d87
push dword [ebp - 0x230]
call fcn.00633f98
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
add ecx, 0xfffffffe
lea ecx, [ecx]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4e2db0
mov eax, dword [str..dump.txt]
mov dword [ecx], eax
mov eax, dword [0x6f6d08]
mov dword [ecx + 4], eax
mov eax, dword [0x6f6d0c]
mov dword [ecx + 8], eax
mov eax, dword [0x6f6d10]
mov dword [ecx + 0xc], eax
mov eax, dword [0x6f6d14]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x789f18
call fcn.0040bd10
lea eax, [ebp - 0x218]
push 0x6f6cfc
push eax
call fcn.0063585f
add esp, 8
mov dword [0x77ae98], eax
test eax, eax
je 0x4e2e23
push eax
push 2
push 1
push 0x6f6e94
call fcn.00638967
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00633732
mov esp, ebp
pop ebp
ret
Function at 0x4e44e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x77b0b4]
push esi
xor esi, esi
test edx, edx
jle 0x4e4513
push ebx
mov bl, byte [0x77b0b8]
xor bl, byte [esi + ecx]
inc eax
xor byte [eax + 0x77b0bf], bl
and eax, 0xfff
inc esi
mov dword [0x77b0b4], eax
cmp esi, edx
jl 0x4e44f3
mov byte [0x77b0b8], bl
pop ebx
movzx ecx, byte [ecx]
and ecx, 1
add ecx, eax
and ecx, 0xfff
mov dword [0x77b0b4], ecx
pop esi
ret

Function at 0x4e4530
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x76f950]
xor eax, esp
mov dword [esp + 0x6c], eax
mov ecx, dword [0x77b0b4]
push ebx
mov bl, byte [0x77b0b8]
push esi
mov esi, dword [ebp + 8]
xor edx, edx
jmp 0x4e4560
xor bl, byte [esp + edx + 0x64]
lea eax, [ecx + 1]
xor byte [ecx + 0x77b0c0], bl
xor bl, byte [esp + edx + 0x65]
and eax, 0xfff
inc eax
xor byte [eax + 0x77b0bf], bl
xor bl, byte [esp + edx + 0x66]
and eax, 0xfff
inc eax
xor byte [eax + 0x77b0bf], bl
xor bl, byte [esp + edx + 0x67]
and eax, 0xfff
add edx, 4
xor byte [eax + 0x77b0c0], bl
lea ecx, [eax + 1]
and ecx, 0xfff
cmp edx, 0x10
jl 0x4e4560
movzx eax, byte [esp + 0x64]
and eax, 1
add eax, ecx
and eax, 0xfff
xor bl, al
xor byte [eax + 0x77b0c0], bl
inc eax
and eax, 0xfff
xor bl, ah
xor byte [eax + 0x77b0c0], bl
inc eax
and eax, 0xfff
mov dword [0x77b0b4], eax
xor bl, byte [0x77b0b6]
lea ecx, [eax + 1]
xor byte [eax + 0x77b0c0], bl
and ecx, 0xfff
mov dword [0x77b0b4], ecx
xor bl, byte [0x77b0b7]
inc ecx
xor byte [ecx + 0x77b0bf], bl
and ecx, 0xfff
movzx eax, cl
and eax, 1
add eax, ecx
and eax, 0xfff
push 0x1000
mov edx, 0x77b0c0
lea ecx, [esp + 0xc]
mov dword [0x77b0b4], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004e4150
add esp, 4
lea edx, [esp + 0x64]
lea ecx, [esp + 8]
call fcn.004e4220
movq xmm0, qword [esp + 0x64]
movq qword [esi], xmm0
movq xmm0, qword [esp + 0x6c]
movq qword [esi + 8], xmm0
mov ecx, dword [0x77b0b4]
xor edx, edx
lea ecx, [ecx]
xor bl, byte [esp + edx + 0x64]
lea eax, [ecx + 1]
xor byte [ecx + 0x77b0c0], bl
xor bl, byte [esp + edx + 0x65]
and eax, 0xfff
inc eax
xor byte [eax + 0x77b0bf], bl
xor bl, byte [esp + edx + 0x66]
and eax, 0xfff
inc eax
xor byte [eax + 0x77b0bf], bl
xor bl, byte [esp + edx + 0x67]
and eax, 0xfff
add edx, 4
xor byte [eax + 0x77b0c0], bl
lea ecx, [eax + 1]
and ecx, 0xfff
cmp edx, 0x10
jl 0x4e4690
movzx eax, byte [esp + 0x64]
and eax, 1
add eax, ecx
mov ecx, dword [esp + 0x74]
pop esi
mov byte [0x77b0b8], bl
and eax, 0xfff
pop ebx
xor ecx, esp
mov dword [0x77b0b4], eax
call fcn.00633732
mov esp, ebp
pop ebp
ret
Function at 0x4e47a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ab983
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push ecx
call fcn.004e7a50
mov dword [ebp - 4], 0
push ecx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.tTVPWatchThread.0
call fcn.004e7cc0
mov byte [ebp - 4], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
push 3
push 0
mov ecx, esi
mov dword [0x796c18], eax
call fcn.004e7bf0
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esi + 8]
call edi
cmp eax, 1
jg 0x4e4808
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e4860
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a2973
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.tTVPWatchThread.0
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov byte [edi + 4], 1
push dword [edi + 8]
call esi
cmp eax, 1
jg 0x4e48a1
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 0
push dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x14], vtable.tTVPThreadEvent.0
call esi
mov dword [ebp - 4], 0xffffffff
push dword [edi + 8]
mov dword [edi], vtable.tTVPThread.0
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret