joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448750
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x766480]
push edi
mov dword [esp + 0x21c], eax
xor eax, eax
mov byte [esp + 8], 0
mov ecx, 0x41
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x448807
mov al, byte [esp + 8]
test al, al
je 0x4487b0
lea eax, [esp + 8]
lea ecx, [ecx]
cmp byte [eax], 0x5c
jne 0x4487a8
mov byte [eax], 0x5f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4487a0
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x1b9b588], eax
xor eax, eax
lea edx, [esp + 8]
push edx
mov byte [esp + 0x114], 0
mov ecx, 0x41
lea edi, [esp + 0x115]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x114]
push 0x7244d0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x21c]
call fcn.006dfb52
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x448a30
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x448ad1
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov esi, dword [ecx + 4]
xor eax, eax
cmp esi, edx
push edi
jle 0x448a7f
mov edi, dword [ecx]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
mov ebp, dword [ebx*4 + 0x7664e8]
shl eax, 8
xor eax, ebp
inc edx
cmp edx, esi
jl 0x448a61
xor edx, edx
mov esi, dword [ecx + 0xc]
cmp esi, edx
jle 0x448aac
mov edi, dword [ecx + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
mov ebp, dword [ebx*4 + 0x7664e8]
shl eax, 8
xor eax, ebp
inc edx
cmp edx, esi
jl 0x448a90
mov edx, dword [ecx]
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
pop edi
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
pop esi
shr eax, 0x18
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x476b50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push edi
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
push 0x11
shr edi, 0xf
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, 3
mov eax, 2
cmovs edi, ecx
test dword [ebp + 8], 0x20000000
cmovne edi, eax
mov eax, edi
pop edi
pop ebp
ret

Function at 0x47aba0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x94], 0
je 0x47ac6e
mov eax, dword [esi + 0xd0]
mov edi, dword [ebp + 0xc]
add eax, edi
mov ebx, dword [ebp + 8]
push eax
mov eax, dword [esi + 0xcc]
add eax, ebx
push eax
push edi
push ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
movups xmm0, xmmword [ebp - 0x14]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, esi
push esi
movups xmmword [eax], xmm0
call dword [edx + 0xdc]
push edi
push ebx
mov ecx, esi
call fcn.0047a1b0
cmp dword [esi + 0x1b8], 0
je 0x47ac5c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1b9b5fc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x76a0e8]
cmp eax, dword [ecx + 0x20]
jg 0x47ac81
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [0x76a0e4]
lea ecx, [eax + 0x1f4]
cmp edx, ecx
jae 0x47ac4d
push edi
push ebx
mov ecx, esi
call fcn.00479e70
jmp 0x47ac5c
add eax, 0x3e8
cmp edx, eax
jbe 0x47ac5c
mov dword [0x76a0e4], edx
push edi
push ebx
mov ecx, esi
call fcn.0047a670
push edi
push ebx
mov ecx, esi
call fcn.004800a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 8
push 0x76a0e8
call fcn.006df83c
add esp, 4
cmp dword [0x76a0e8], 0xffffffff
jne 0x47ac2b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x76a0e8
mov dword [0x76a0e4], eax
call fcn.006df7eb
add esp, 4
jmp 0x47ac2b
Function at 0x480810
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov edi, ecx
push str.GMFont.dll
mov dword [edi], vtable.CGMFont.0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitDeviceObjects
push eax
mov dword [edi + 8], eax
call esi
push str.DeleteDeviceObjects
push dword [edi + 8]
mov dword [edi + 0xc], eax
call esi
push str.RestoreDeviceObjects
push dword [edi + 8]
mov dword [edi + 0x10], eax
call esi
push str.InvalidateDeviceObjects
push dword [edi + 8]
mov dword [edi + 0x14], eax
call esi
push str.FinalCleanup
push dword [edi + 8]
mov dword [edi + 0x18], eax
call esi
push str.CreateFont
push dword [edi + 8]
mov dword [edi + 0x1c], eax
call esi
push str.ReleaseFont
push dword [edi + 8]
mov dword [edi + 0x20], eax
call esi
push str.DrawText
push dword [edi + 8]
mov dword [edi + 0x24], eax
call esi
push str.DrawAlphaText
push dword [edi + 8]
mov dword [edi + 0x28], eax
call esi
push str.DrawTextOutBorder
push dword [edi + 8]
mov dword [edi + 0x2c], eax
call esi
push str.CreateStringTexture
push dword [edi + 8]
mov dword [edi + 0x30], eax
call esi
push str.ReleaseStringTexture
push dword [edi + 8]
mov dword [edi + 0x34], eax
call esi
push str.SetString
push dword [edi + 8]
mov dword [edi + 0x38], eax
call esi
mov dword [edi + 0x3c], eax
push str.DrawStringImage
push dword [edi + 8]
call esi
push str.DrawStringAlphaImage
push dword [edi + 8]
mov dword [edi + 0x40], eax
call esi
push str.DrawStringBorderImage
push dword [edi + 8]
mov dword [edi + 0x44], eax
call esi
push str.TextWidth
push dword [edi + 8]
mov dword [edi + 0x48], eax
call esi
push str.TextHeight
push dword [edi + 8]
mov dword [edi + 0x4c], eax
call esi
mov dword [edi + 0x50], eax
mov eax, edi
pop edi
pop esi
ret
Function at 0x481c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e50a7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x9c
call fcn.006df8c3
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x481c74
lea ecx, [edi + 0x10]
call fcn.0048a460
jmp 0x481c76
xor edi, edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [0x76a0ec]
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.00480a60
mov ecx, dword [esi + 0x258]
call fcn.0047e580
mov ebx, dword [esi + 0xcc]
add eax, eax
mov ecx, dword [esi + 0x268]
sub ebx, eax
test ecx, ecx
je 0x481cca
mov eax, dword [ecx]
call dword [eax + 0x14]
sub ebx, eax
mov esi, dword [ebp + 8]
push esi
call fcn.005b8e50
mov ecx, dword [edi]
add esp, 4
mov esi, dword [ebp - 0x10]
sub eax, ebx
sub eax, 2
mov edx, dword [ecx]
push 1
push dword [esi + 0xd0]
push eax
call dword [edx + 0x30]
mov ecx, dword [edi]
mov esi, dword [ebp + 8]
push 0
push esi
mov eax, dword [ecx]
call dword [eax + 0x34]
push esi
lea ecx, [edi + 0x10]
call fcn.0048a4c0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [edi + 4], eax
call fcn.00478200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x482be0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e5117
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x9c
call fcn.006df8c3
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x482c2f
lea ecx, [edi + 0x10]
call fcn.0048a460
jmp 0x482c31
xor edi, edi
mov ecx, dword [0x76a0ec]
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.00480a60
mov eax, dword [edi]
mov ecx, ebx
push 1
mov esi, dword [eax]
mov eax, dword [ebx]
call dword [eax + 0xf4]
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xec]
mov ecx, dword [edi]
push eax
call dword [esi + 0x30]
mov ecx, dword [edi]
mov esi, dword [ebp + 8]
push 0
push esi
mov eax, dword [ecx]
call dword [eax + 0x34]
push esi
lea ecx, [edi + 0x10]
call fcn.0048a4c0
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebx]
push edi
call dword [eax + 0x138]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x484d20
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
test edi, edi
jne 0x484d37
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, eax
movzx eax, di
cmp eax, 0x412
ja 0x484e84
je 0x484e60
sub eax, 0x404
je 0x484d7f
sub eax, 0xd
jne 0x484e92
push 8
push str.JAPANESE
lea ecx, [esi + 0x94]
mov dword [esi + 0x8c], 1
call fcn.00451530
pop edi
mov al, 1
pop esi
pop ebp
ret 8
push ebx
push 0x13
push str.TRADITIONAL_CHINESE
lea ecx, [esi + 0x94]
mov dword [esi + 0x8c], 2
call fcn.00451530
shr edi, 0x10
sub edi, 0x404
je 0x484e36
sub edi, 0xdbfe
je 0x484e0c
sub edi, 0x1e
je 0x484de2
mov ecx, 0xd
mov dword [esi + 0x90], 3
push ecx
mov eax, str.___Unknown__
lea ecx, [esi + 0x94]
push eax
call fcn.0044f570
pop ebx
pop edi
mov al, 1
pop esi
pop ebp
ret 8
mov ecx, 0xc
mov dword [esi + 0x90], 2
push ecx
mov eax, str.___Usyami__
lea ecx, [esi + 0x94]
push eax
call fcn.0044f570
pop ebx
pop edi
mov al, 1
pop esi
pop ebp
ret 8
mov ecx, 0xe
mov dword [esi + 0x90], 0
push ecx
mov eax, str.___ChangJie__
lea ecx, [esi + 0x94]
push eax
call fcn.0044f570
pop ebx
pop edi
mov al, 1
pop esi
pop ebp
ret 8
mov ecx, 0x11
mov dword [esi + 0x90], 1
push ecx
mov eax, str.___US_Keyboard__
lea ecx, [esi + 0x94]
push eax
call fcn.0044f570
pop ebx
pop edi
mov al, 1
pop esi
pop ebp
ret 8
push 6
push str.KOREAN
lea ecx, [esi + 0x94]
mov dword [esi + 0x8c], 0
call fcn.00451530
pop edi
mov al, 1
pop esi
pop ebp
ret 8
cmp eax, 0x41e
je 0x484eda
cmp eax, 0x804
je 0x484eb6
push 0x10
push str.UNKNOWN_LANGUAGE
lea ecx, [esi + 0x94]
mov dword [esi + 0x8c], 5
call fcn.00451530
pop edi
mov al, 1
pop esi
pop ebp
ret 8
push 0x12
push str.SIMPLIFIED_CHINESE
lea ecx, [esi + 0x94]
mov dword [esi + 0x8c], 3
call fcn.00451530
pop edi
mov al, 1
pop esi
pop ebp
ret 8
push 4
push str.THAI
lea ecx, [esi + 0x94]
mov dword [esi + 0x8c], 4
call fcn.00451530
pop edi
mov al, 1
pop esi
pop ebp
ret 8
Function at 0x48a250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
push 0x100
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x48a295
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 8
push esi
push 0
lea eax, [ebp - 0x104]
push eax
push 0x100
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov esi, dword [ebp + 0xc]
cmp esi, 0x8000
jne 0x48a2df
lea eax, [ebp - 0x104]
push eax
call fcn.00489c40
add esp, 4
test eax, eax
jne 0x48a2df
pop esi
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__open]
mov esi, eax
add esp, 8
mov dword [ebx + 0x94], esi
cmp esi, 0xffffffff
je 0x48a309
push edi
lea ecx, [ebx + 0x9c]
call fcn.0048a4c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 8

Function at 0x48a320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push edi
push eax
push 0x100
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x48a3ac
push 0
lea eax, [ebp - 0x104]
push eax
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov esi, dword [ebp + 0xc]
cmp esi, 0x8000
jne 0x48a383
lea eax, [ebp - 0x104]
push eax
call fcn.00489c40
add esp, 4
test eax, eax
je 0x48a3ac
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__open]
add esp, 8
mov dword [edi + 0x94], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
xor ecx, ebp
pop esi
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 8

Function at 0x48a3d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x48a3e5
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
add dword [esi + 0x98], eax
pop esi
pop ebp
ret 8

Function at 0x48a790
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 3
push esi
mov esi, eax
shr esi, 2
and esi, 1
test al, 8
push 0x12
cmovne esi, ecx
test al, 1
mov ecx, 4
cmovne esi, ecx
test al, 2
mov ecx, 5
cmovne esi, ecx
test al, 0x10
mov eax, 6
cmovne esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, 2
cmovs esi, ecx
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4ae290
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e640d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp esi, 0xffffffff
jne 0x4ae2ea
xor al, al
jmp 0x4ae411
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x28], eax
call fcn.006dff04
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
push 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x28]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ae3f2
mov eax, dword [edi]
add eax, 8
mov dword [ebp - 0x34], eax
add eax, edi
mov dword [ebp - 0x38], eax
push dword [eax - 4]
call fcn.006dff04
mov edi, eax
add esp, 4
test edi, edi
je 0x4ae3f2
mov esi, edi
mov dword [ebp - 0x48], esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x34]
push edi
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0x24], 0xf4240
call fcn.006a6140
mov ecx, dword [0x76a53c]
add esp, 0x10
push 1
push 0
push dword [ebp - 0x24]
push edi
call fcn.006b1330
cmp dword [ebp - 0x24], 0
jbe 0x4ae3e2
nop dword [eax]
push 0xf
lea eax, [ebp - 0x20]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov ecx, dword [ebx]
add esp, 0xc
shl ecx, 4
sub ecx, dword [ebx]
add ecx, 2
push 0xf
lea eax, [ebx + ecx*2]
push eax
push 0xf
lea eax, [ebp - 0x20]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x24]
add edi, 0xf
inc dword [ebx]
sub eax, 0xf
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x4ae3a0
push esi
mov bl, 1
call fcn.006dfeff
mov esi, dword [ebp - 0x3c]
add esp, 4
jmp 0x4ae3f4
xor bl, bl
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4ae404
push eax
call fcn.006dfeff
add esp, 4
test esi, esi
je 0x4ae40f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 4

Function at 0x4b0900
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x4b4ff0
Capabilities:
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push 0
push 0x4b4f80
call fcn.006a5280
push 0
call fcn.006a5340
push 0
call fcn.006a5270
add esp, 0x10
cmp dword [0x742568], 0
je 0x4b5046
push 0
push str.ERROR
push str.Please_turn_your_Debugger_off_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push str.__YOD_
call esi
push 0
push 0x80
push 3
push 0
xor ecx, ecx
cmp eax, 0xffffffff
push 3
push 0xc0000000
setne cl
push str.__YJOC_
mov dword [0x742568], ecx
call esi
xor ecx, ecx
mov esi, 0x4b11d0
cmp eax, 0xffffffff
setne cl
ror esi, 0x10
mov dword [0x742568], ecx
cmp eax, 0xffffffff
je 0x4b5186
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
cmp eax, 1
jne 0x4b510d
lea eax, [ebp - 0x2c]
mov dword [ebp - 8], 2
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], 0
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], 0
je 0x4b5186
push 0
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
lea eax, [ebp - 0x28]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
cmp eax, 1
jne 0x4b517d
lea eax, [ebp - 0x2c]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], 0
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ror esi, 0x10
push ebx
mov dword [0x742564], esi
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.006dfb52
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b8d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x7062c4
push dword [ebp + 8]
lea ebx, [esi + 0xc]
mov dword [esi + 0x10], 1
mov dword [ebx], 1
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x1c], 0xff
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0x3f800000
mov dword [esi + 0x34], 0x3f800000
mov dword [esi + 0x38], 0x3f800000
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x4b8ed0
push edi
push 1
push 0x30
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push edi
cmp eax, 1
jne 0x4b8ec7
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [esi + 0x18]
add esp, 4
mov eax, ecx
mov dword [esi + 0x55], 0
and eax, 0xc
mov byte [esi + 0x54], 0
mov byte [esi + 0x59], 0
cmp al, 0xc
jne 0x4b8e4b
mov byte [esi + 0x54], 1
test cl, 1
je 0x4b8e54
mov byte [esi + 0x56], 1
test cl, 2
je 0x4b8e61
mov byte [esi + 0x55], 1
mov byte [esi + 0x57], 1
test cl, 4
je 0x4b8e6a
mov byte [esi + 0x58], 1
test cl, 8
je 0x4b8e73
mov byte [esi + 0x59], 1
mov eax, 1
xor ecx, ecx
mov edx, eax
nop dword [eax]
test dword [esi + 0x1c], eax
setne al
mov byte [ecx + 0x7799b1], al
mov eax, edx
rol eax, 1
inc ecx
mov edx, eax
cmp ecx, 4
jl 0x4b8e80
xor edx, edx
mov ecx, 1
nop
test dword [esi + 0x1c], eax
setne al
mov byte [edx + 0x7799b5], al
mov eax, ecx
inc edx
rol eax, 4
rol ecx, 1
cmp edx, 4
jl 0x4b8ea0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
movss xmm0, dword [esi + 0x30]
push ecx
movss dword [esp], xmm0
call fcn.00667b20
mov ecx, eax
call fcn.00667700
movss xmm0, dword [esi + 0x38]
movss dword [ebp - 4], xmm0
call fcn.005bdab0
movss xmm0, dword [ebp - 4]
movss dword [eax + 0x110], xmm0
movss xmm0, dword [esi + 0x34]
movss dword [ebp - 4], xmm0
call fcn.005bcdb0
movss xmm0, dword [ebp - 4]
mov ecx, esi
push ebx
push dword [ebp + 8]
movss dword [eax + 0x42c], xmm0
call fcn.004bac30
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4bac30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov eax, dword [edx]
lea edi, [esi + 0xc]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [esi + 0x10], eax
mov eax, dword [edx + 8]
mov dword [esi + 0x14], eax
mov ecx, dword [edx + 0xc]
mov dword [esi + 0x18], ecx
mov eax, dword [edx + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [edx + 0x18]
mov dword [esi + 0x24], eax
mov eax, dword [edx + 0x1c]
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x20]
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x28]
mov dword [esi + 0x34], eax
mov eax, dword [edx + 0x2c]
mov dword [esi + 0x38], eax
mov eax, ecx
and eax, 0xc
mov dword [esi + 0x55], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x59], 0
cmp al, 0xc
jne 0x4bac9f
mov byte [esi + 0x54], 1
test cl, 1
je 0x4baca8
mov byte [esi + 0x56], 1
test cl, 2
je 0x4bacb5
mov byte [esi + 0x55], 1
mov byte [esi + 0x57], 1
test cl, 4
je 0x4bacbe
mov byte [esi + 0x58], 1
test cl, 8
je 0x4bacc7
mov byte [esi + 0x59], 1
mov eax, 1
xor ecx, ecx
mov edx, eax
test dword [esi + 0x1c], eax
setne al
mov byte [ecx + 0x7799b1], al
mov eax, edx
rol eax, 1
inc ecx
mov edx, eax
cmp ecx, 4
jl 0x4bacd0
xor edx, edx
mov ecx, 1
nop
test dword [esi + 0x1c], eax
setne al
mov byte [edx + 0x7799b5], al
mov eax, ecx
inc edx
rol eax, 4
rol ecx, 1
cmp edx, 4
jl 0x4bacf0
push 0x7062c8
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x4bad52
push esi
push 1
push 0x30
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
push esi
cmp eax, 1
jne 0x4bad49
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x4baf80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x779904]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x4bb8], ecx
test ecx, ecx
je 0x4bafae
mov ecx, dword [0x77b1c4]
push 4
call fcn.004db360
test eax, eax
je 0x4bafae
mov ecx, eax
pop ebp
jmp fcn.004ed670
pop ebp
ret