joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459cb0
Capabilities:
Enumerate process modules

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62afcd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
mov eax, dword [0x6c5580]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x459e7f
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
call fcn.004e1320
push 0x220
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.005c90c0
add esp, 0x10
mov dword [ebp - 0x258], 0x224
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x459dc7
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
nop dword [eax + eax]
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x138]
cmova edx, dword [ebp - 0x2c]
call fcn.00459c60
test eax, eax
jne 0x459e02
push 0x220
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.005c90c0
add esp, 0xc
mov dword [ebp - 0x258], 0x224
lea eax, [ebp - 0x258]
push eax
push esi
call edi
test eax, eax
jne 0x459d80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x459e7f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x459e75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459e9f
jmp 0x459e75
lea edx, [ebp - 0x138]
lea edi, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x459e10
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x138]
sub edx, edi
push edx
push eax
call fcn.0043d6b0
mov ecx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x244]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x459e71
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x459e67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459e9f
push ecx
push edx
call fcn.0058d051
add esp, 8
mov al, 1
jmp 0x459e81
push ecx
push edx
call fcn.0058d051
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0058d043
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005d30c0
int3
Function at 0x45d980
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
mov eax, dword [0x6c5580]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x14]
push edi
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
push eax
movups xmmword [esp + 0x1c], xmm0
movups xmmword [esp + 0x2c], xmm0
call fcn.0045d900
push 0x6710e8
push esi
call fcn.005d9fdc
add esp, 8
mov edi, eax
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movss xmm0, dword [esp + 0x20]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x30]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CenterPos__f__f__f_n
push 0
push edi
call fcn.0050b1a0
movss xmm0, dword [esp + 0x54]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x50]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CameraSetting__f__f__f_n
push 0
push edi
call fcn.0050b1a0
movss xmm0, dword [esp + 0x50]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x3c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CmrPos__f__f__f_n
push 0
push edi
call fcn.0050b1a0
cvttss2si eax, dword [esp + 0x50]
push eax
cvttss2si eax, dword [esp + 0x50]
push eax
cvttss2si eax, dword [esp + 0x50]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
cvttss2si eax, dword [esp + 0x68]
push eax
cvttss2si eax, dword [esp + 0x70]
push eax
cvttss2si eax, dword [esp + 0x5c]
push eax
cvttss2si eax, dword [esp + 0x5c]
push eax
cvttss2si eax, dword [esp + 0x5c]
push eax
push str.Line__x__dy__dz__ddistance__dpitch__drot__dup__dview__dcross__d__n
push 0
push edi
call fcn.0050b1a0
add esp, 0x54
push edi
call fcn.005d9b1d
mov ecx, dword [esp + 0x40]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.0058d043
mov esp, ebp
pop ebp
ret 4

Function at 0x460e40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push 0x40
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 0xc
Function at 0x4661b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b7ae
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6c5580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x719244], edi
lea edx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [0x74f694], edx
mov dword [edx], vtable.IAbstractCharacterManager.0
lea eax, [edi + 8]
mov dword [eax], vtable.IObjectManager.0
mov dword [0x716590], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x20]
mov dword [edi], vtable.CPythonCharacterManager.2.0
mov dword [edx], vtable.CPythonCharacterManager.1.0
mov dword [eax], vtable.CPythonCharacterManager.0
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0058d05f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 3
push 0xc
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.0058d05f
add esp, 8
mov ecx, edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.00466170
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 0x4790f0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.00502630
Function at 0x49e530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x58edadb9
xor ecx, ecx
cmp byte [ebp - 4], cl
jbe 0x49e56b
mov eax, dword [ebp - 4]
xor eax, 0x80164043
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, 0x29e08a43
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ecx*4 + 0x74fac0], eax
inc ecx
movzx eax, byte [ebp - 4]
cmp ecx, eax
jb 0x49e542
movups xmm0, xmmword [0x74fb5d]
push esi
xor esi, esi
movups xmmword [0x719720], xmm0
nop dword [eax]
call fcn.004e21d0
mov dword [esi + 0x719720], eax
add esi, 4
cmp esi, 0x10
jb 0x49e580
pop esi
push 0x10
push 0x74fae5
push 0x719720
push 0x719708
call fcn.004e2c60
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x49f940
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x49f960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x49f980
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x6c5580]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0xf
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x49fa22
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
mov eax, esi
lea ecx, [esp + 0x34]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x49f9f6
test dl, dl
je 0x49f9f2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x49f9f6
add ecx, 2
add eax, 2
test dl, dl
jne 0x49f9d6
xor eax, eax
jmp 0x49f9fb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49fa16
push dword [esp + 0x18]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x49fa40
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
jne 0x49f9d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0058d043
mov esp, ebp
pop ebp
ret
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058d043
mov esp, ebp
pop ebp
ret
Function at 0x4be430
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x6707f0
push str.interface.cfg
mov edi, ecx
call fcn.005d9fdc
mov esi, eax
add esp, 8
test esi, esi
jne 0x4be451
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2640]
push 1
push eax
call fcn.005d91a5
push esi
call fcn.005d9b1d
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

Function at 0x4c1e30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e5a9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6c5580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x74f624], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [edi], vtable.CPythonTextTail.0
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0058d05f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0058d05f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0058d05f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 3
push 0xc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.0058d05f
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x1c], eax
mov byte [ebp - 4], 4
push 0xc
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.0058d05f
add esp, 0x14
mov ecx, edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], vtable.CDynamicPool_struct_CPythonTextTail::STextTail_.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
call fcn.004c1d20
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 0x4c3af0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x6c5580]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x48], 0x67452301
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 4
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov dword [esp + 0x10], 0
test eax, eax
je 0x4c3c5f
xor esi, esi
mov dword [esp + 0x14], esi
nop dword [eax]
cmp dword [esi + ecx + 0x14], 0xf
lea eax, [esi + ecx]
jbe 0x4c3b7c
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x4c]
call fcn.004c3450
mov edx, eax
mov dword [esp + 0x30], 0
mov ecx, edx
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c3bb0
sub ecx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0043e890
mov eax, dword [edi + 4]
lea ecx, [esp + 0x20]
mov edi, dword [esp + 0x34]
add esi, 0x18
add eax, esi
cmp edi, 0xf
mov esi, dword [esp + 0x20]
cmova ecx, esi
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x4c3beb
mov eax, dword [eax]
push dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.00458760
add esp, 0x10
test al, al
je 0x4c3c75
cmp edi, 0xf
jbe 0x4c3c2e
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4c3c24
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c3cb5
push ecx
push esi
call fcn.0058d051
add esp, 8
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc edx
add esi, 0x30
mov dword [esp + 0x10], edx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 4
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x14], esi
cmp edx, eax
jb 0x4c3b70
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0058d043
mov esp, ebp
pop ebp
ret
cmp edi, 0xf
jbe 0x4c3c9f
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x4c3c95
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c3cb5
push edi
push esi
call fcn.0058d051
add esp, 8
mov ecx, dword [esp + 0xdc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0058d043
mov esp, ebp
pop ebp
ret
call fcn.005d30c0
int3
Function at 0x4c40b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62b3ad
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6c5580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [str.UserDict.pyc]
xor edi, edi
cmp byte [eax], 0xa
je 0x4c41a5
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 4
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x28], 0x5c62696c
mov byte [ebp - 0x24], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00444360
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push eax
call fcn.005e0918
add esp, 8
test eax, eax
jne 0x4c41c2
cmp dword [ebp - 0x14], 0xf
lea esi, [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmova esi, dword [ebp - 0x28]
seta dl
test dl, dl
push esi
cmovne ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4c4194
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c418a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c41f6
push ecx
push edx
call fcn.0058d051
add esp, 8
mov eax, dword [edi*4 + 0x6706f4]
inc edi
cmp byte [eax], 0xa
jne 0x4c40f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058d043
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4c41f2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4c41e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c41f6
push ecx
push edx
call fcn.0058d051
add esp, 8
xor al, al
jmp 0x4c41a7
call fcn.005d30c0
int3
Function at 0x4c4210
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x6c5580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x108]
mov dword [ebp - 0x40c], ecx
push eax
push 0x100
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x109], 0x5c
je 0x4c4273
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4c4260
mov ax, word [0x6822f4]
mov word [edi], ax
lea ecx, [ebp - 0x108]
dec ecx
nop word [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4c4280
mov eax, dword [str.metin2client.dat]
mov dword [ecx], eax
mov eax, dword [0x6822e4]
mov dword [ecx + 4], eax
mov eax, dword [0x6822e8]
mov dword [ecx + 8], eax
mov eax, dword [0x6822ec]
mov dword [ecx + 0xc], eax
mov al, byte [0x6822f0]
mov byte [ecx + 0x10], al
call fcn.00456380
mov ebx, eax
lea edi, [ebp - 0x408]
mov edx, ebx
sub edi, ebx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [edi + edx - 1], cl
test cl, cl
jne 0x4c42c2
push 7
lea eax, [ebp - 0x408]
push str.locale_
push eax
call fcn.005df2a9
add esp, 0xc
test eax, eax
jne 0x4c4301
lea ecx, [ebx + 7]
lea edx, [ebp - 0x408]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4c42f4
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
push eax
push 0x1ff
lea eax, [ebp - 0x308]
push eax
push 0
push esi
lea eax, [ebp - 0x408]
push eax
call edi
cmp byte [ebp - 0x308], 0
jne 0x4c4391
push 0x1ff
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x40c]
push dword [0x719d88]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x308], 0
jne 0x4c4391
lea eax, [ebp - 0x108]
push eax
push 0x1ff
lea eax, [ebp - 0x308]
push eax
push 0
push esi
push 0x6822f8
call edi
cmp byte [ebp - 0x308], 0
jne 0x4c4391
lea ecx, [ebp - 0x308]
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4c4384
lea eax, [ebp - 0x40c]
mov ecx, 0x719d8c
push eax
call fcn.004777d0
lea ecx, [ebp - 0x308]
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c43b0
sub ecx, edx
lea eax, [ebp - 0x308]
push ecx
push eax
mov ecx, esi
call fcn.0043d6b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058d043
mov esp, ebp
pop ebp
ret
Function at 0x4c5710
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c5790
mov eax, dword [ebp - 4]
test eax, eax
je 0x4c5790
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], 0x2af8
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 8], 4
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push ecx
push 0
push str.YOURCLIENTEXECUTABLEFILE.EXTENSION
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4c5787
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.YOURCLIENTEXECUTABLEFILE.EXTENSION
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x4c7540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x6c5580]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x64e83c
push 0x64
mov esi, edx
call fcn.0058da59
mov edi, eax
add esp, 8
test edi, edi
je 0x4c772a
push 0x64
push 0
push edi
call fcn.005c90c0
lea eax, [edi + 4]
mov byte [edi], 1
add esp, 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push 2
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call fcn.0058c5ed
lea eax, [edi + 0x34]
push eax
call fcn.0058c2a2
add esp, 0xc
mov dword [0x73ae4c], edi
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push str.1082082981180620920
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.004cc750
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x719d94
mov dword [0x74afc4], eax
call fcn.0058c609
add esp, 4
test eax, eax
jne 0x4c7744
mov eax, dword [0x719dc0]
cmp eax, 0x7fffffff
je 0x4c774b
test esi, esi
je 0x4c763a
movups xmm0, xmmword [esi]
movups xmmword [0x74b1e0], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x4c7644
xorps xmm0, xmm0
movups xmmword [0x74b1e0], xmm0
movq qword [0x74b1f0], xmm0
xorps xmm0, xmm0
push 0x719d94
movups xmmword [0x74b400], xmm0
movq qword [0x74b410], xmm0
call fcn.0058c61a
add esp, 4
cmp dword [0x74afdc], 0
jne 0x4c7734
cmp byte [str.1082082981180620920], 0
mov edx, 0x73ae60
mov dword [0x73ae50], 0x6cbd74
je 0x4c76b3
mov eax, str.1082082981180620920
mov esi, 1
sub esi, eax
nop dword [eax]
lea ecx, [eax + esi]
cmp ecx, 0x40
jae 0x4c76b3
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp byte [eax], 0
jne 0x4c76a0
mov esi, dword [0x73ae4c]
mov al, 1
mov byte [edx], 0
mov dword [0x74afdc], 0x73ae50
mov dword [0x73ae58], 0x4c7a80
mov dword [0x73ae5c], 0x4c7a90
xchg byte [esi], al
push 4
call fcn.0058d05f
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x4c7fe0
push 0
push 0
call fcn.005dfbe5
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x4c775d
cmp dword [esi + 0x60], 0
jne 0x4c7758
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d043
mov esp, ebp
pop ebp
ret
mov dword [0x73ae4c], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058d043
mov esp, ebp
pop ebp
ret
push 5
call fcn.0058c58f
dec eax
push 6
mov dword [0x719dc0], eax
call fcn.0058c58f
call fcn.005e218c
push 6
mov dword [ebp - 0x4c], 0
call fcn.0058c58f
int3
Function at 0x4cae40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x6c5580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x74afdc]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.005c8a90
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x4caf12
mov eax, dword [edi]
test eax, eax
je 0x4caec1
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x4caec1
test ebx, ebx
je 0x4caec1
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x4caec1
cmp dword [ebp - 8], esi
je 0x4caf12
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4caee1
mov eax, dword [edi + 4]
cmp eax, 3
je 0x4caed5
cmp eax, 1
jne 0x4caee1
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058d043
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058d043
mov esp, ebp
pop ebp
ret 8