joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4466d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 1
call dword [sym.imp.DevIL.dll_ilGenImages]
push dword [ebp - 4]
call dword [sym.imp.DevIL.dll_ilBindImage]
push 0x600
call dword [sym.imp.DevIL.dll_ilEnable]
push 0x602
call dword [sym.imp.DevIL.dll_ilOriginFunc]
mov edi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.DevIL.dll_ilLoad]
test al, al
jne 0x446726
mov eax, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [eax], 2
xor al, al
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [sym.imp.DevIL.dll_ilGetInteger]
push 0xde4
call esi
cmp eax, 0x40
je 0x44674d
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 3
xor al, al
mov esp, ebp
pop ebp
ret 8
push 0xde5
call esi
cmp eax, 0x80
je 0x44676f
mov eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov dword [eax], 4
xor al, al
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 4]
push eax
push 1
call dword [sym.imp.DevIL.dll_ilDeleteImages]
call dword [sym.imp.DevIL.dll_ilShutDown]
push 0x658d30
push edi
call fcn.005b680f
mov esi, eax
add esp, 8
test esi, esi
jne 0x44679e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 2
push 2
push 0
push esi
call fcn.005b6b71
push esi
call fcn.005b6f84
push 0
push 0
push esi
mov dword [ebx + 0x394], eax
call fcn.005b6b71
push dword [ebx + 0x394]
call fcn.005b43fa
push esi
push 1
push dword [ebx + 0x394]
mov dword [ebx + 0x39c], eax
push eax
call fcn.005b71b5
push esi
call fcn.005b6a6b
push edi
call fcn.0050c200
add esp, 0x38
mov dword [ebx + 0x398], eax
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44c760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x608cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6ae450]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [0x6ae450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.0044a860
test eax, eax
je 0x44c7aa
add eax, 0x2a8
jmp 0x44c7ac
xor eax, eax
push eax
lea ecx, [esp + 0xc]
call fcn.00566d00
lea eax, [esp + 8]
mov dword [esp + 0x30], 0
push eax
lea ecx, [esi + 0x1fc]
call fcn.00566a00
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00566d70
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005b509b
mov esp, ebp
pop ebp
ret 4

Function at 0x44f2c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp ecx, edx
jbe 0x44f2d0
mov eax, ecx
mov ecx, edx
mov edx, eax
xor eax, eax
mov dword [ebp - 4], edx
push esi
mov dword [ebp - 8], ecx
lea edx, [ebp - 8]
lea esi, [eax + 8]
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
xor eax, ecx
dec esi
jne 0x44f2e0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4537d0
Capabilities:
Access peb ldr_data
Create directory
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60905f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6ae450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [0x7031d8], ebx
mov dword [ebp - 4], 0
mov dword [ebx], vtable.CGuildMarkManager.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.0044c590
mov dword [ebx + 4], eax
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.0044c590
mov dword [ebx + 0xc], eax
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
call fcn.00450cd0
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x30], 0xf
mov dword [ebx + 0x2c], 0
mov byte [ebx + 0x1c], 0
mov byte [ebp - 4], 4
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
call fcn.00454510
mov dword [ebx + 0x34], eax
push str.mark
mov byte [ebp - 4], 5
call fcn.005b793a
add esp, 4
xor esi, esi
mov dword [ebp - 0x10], esi
movzx eax, byte [0x70292a]
lea ecx, [ebx + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00450f80
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 0x1900
jb 0x4538a2
mov eax, ebx
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 0x453940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6090bf
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6ae450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.CGuildMarkManager.0
mov dword [ebp - 4], 5
lea edi, [ecx + 4]
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x4539cd
push dword [esi + 0x14]
call fcn.004537b0
cmp byte [esi + 0xd], 0
jne 0x4539c9
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4539ae
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4539c9
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4539a2
jmp 0x4539c9
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4539c7
cmp esi, dword [eax + 8]
jne 0x4539c7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4539b7
mov esi, eax
cmp esi, dword [edi]
jne 0x453981
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov esi, ebx
cmp byte [ebx + 0xd], 0
jne 0x4539fd
lea ebx, [ebx]
push dword [esi + 8]
mov ecx, edi
call fcn.0044c410
mov esi, dword [esi]
push ebx
call fcn.004c3680
add esp, 4
mov ebx, esi
cmp byte [esi + 0xd], 0
je 0x4539e0
mov eax, dword [edi]
mov ebx, dword [ebp - 0x10]
mov dword [eax + 4], eax
mov eax, dword [edi]
lea ecx, [ebx + 0x34]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov eax, dword [ebx + 0x34]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00454150
push dword [ebx + 0x34]
call fcn.004c3680
add esp, 4
cmp dword [ebx + 0x30], 0x10
jb 0x453a43
push dword [ebx + 0x1c]
call fcn.004c3680
add esp, 4
mov dword [ebx + 0x30], 0xf
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x2c], 0
mov byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x14]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0044bf90
push dword [ebx + 0x14]
call fcn.004c3680
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0xc]
add esp, 4
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0044bf90
push dword [ebx + 0xc]
call fcn.004c3680
mov eax, dword [edi]
add esp, 4
mov ecx, edi
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0044dc40
push dword [edi]
call fcn.004c3680
add esp, 4
mov dword [ebx], vtable.singleton_class_CGuildMarkManager_.0
mov dword [0x7031d8], 0
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 0x455850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00455860

Function at 0x455860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x18]
movzx eax, byte [edi + 0x20]
mov byte [esi + 0x20], al
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
lea eax, [edi + 0x18]
push eax
call fcn.0043e190
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov ax, word [edi + 0x74]
mov word [esi + 0x74], ax
movzx eax, byte [edi + 0x76]
mov byte [esi + 0x76], al
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x7c]
mov dword [esi + 0x7c], eax
movzx eax, byte [edi + 0x80]
mov byte [esi + 0x80], al
mov eax, dword [edi + 0x84]
mov dword [esi + 0x84], eax
cmp esi, edi
je 0x455939
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.0043e010
pop edi
pop esi
pop ebp
ret 4
Function at 0x457200
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609288
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6ae450]
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 dword [ebp - 0x254], edx
mov ebx, 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 0x45730f
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.0050b620
push 0x224
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.005b8f90
add esp, 0x10
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x4572f7
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
lea ebx, [ebx]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x130]
cmovae edx, dword [ebp - 0x28]
call fcn.004571b0
test eax, eax
jne 0x45732d
push 0x224
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.005b8f90
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
push esi
call edi
test eax, eax
jne 0x4572b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x45730f
push dword [ebp - 0x28]
call fcn.004c3680
add esp, 4
xor al, al
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.005b509b
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x130], 0
jne 0x45733a
xor ecx, ecx
jmp 0x45734c
lea ecx, [ebp - 0x130]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457343
sub ecx, edx
push ecx
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.0043db40
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x23c]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x457381
push dword [ebp - 0x28]
call fcn.004c3680
add esp, 4
mov al, 1
jmp 0x457311
Function at 0x45ae00
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3c
push edi
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x1c]
push eax
movups xmmword [esp + 0x20], xmm0
movups xmmword [esp + 0x30], xmm0
call fcn.0045ad80
push 0x659800
push dword [ebp + 8]
call fcn.005b680f
add esp, 8
mov edi, eax
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movss xmm0, dword [esp + 0x24]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CenterPos__f__f__f_n
push 0
push edi
call fcn.00535050
movss xmm0, dword [esp + 0x58]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x50]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x54]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CameraSetting__f__f__f_n
push 0
push edi
call fcn.00535050
movss xmm0, dword [esp + 0x54]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CmrPos__f__f__f_n
push 0
push edi
call fcn.00535050
cvttss2si eax, dword [esp + 0x54]
push eax
cvttss2si eax, dword [esp + 0x54]
push eax
cvttss2si eax, dword [esp + 0x54]
push eax
cvttss2si eax, dword [esp + 0x64]
push eax
cvttss2si eax, dword [esp + 0x6c]
push eax
cvttss2si eax, dword [esp + 0x74]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
push str.Line__x__dy__dz__ddistance__dpitch__drot__dup__dview__dcross__d__n
push 0
push edi
call fcn.00535050
add esp, 0x54
push edi
call fcn.005b6a6b
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x45e1b0
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 0x477f10
Capabilities:
Get common file path
Link many functions at runtime

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x58edadb9
xor eax, eax
cmp byte [ebp - 4], al
jbe 0x498a43
xor dword [ebp - 4], 0x80164043
add dword [ebp - 4], 0xd61f75bd
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x703710], ecx
inc eax
movzx ecx, byte [ebp - 4]
cmp eax, ecx
jb 0x498a22
mov eax, 0x703710
mov esp, ebp
pop ebp
ret
Function at 0x4b8790
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x658d30
push str.interface.cfg
mov edi, ecx
call fcn.005b680f
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b87b1
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2628]
push 1
push eax
call fcn.005b71b5
push esi
call fcn.005b6a6b
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

Function at 0x4b87e0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x2624], 0
je 0x4b884f
push edi
push 0x64cff8
call dword [sym.imp.python27.dll_Py_BuildValue]
push eax
push str.OnSaveInterfaceStatus
push dword [esi + 0x2624]
call fcn.005ab380
push 0x658d2c
push str.interface.cfg
call fcn.005b680f
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4b8831
push str.Cannot_open_interface.cfg
call fcn.0050aef0
add esp, 4
pop edi
pop esi
ret
push edi
push 0xc8
lea eax, [esi + 0x2628]
push 1
push eax
call fcn.005b697d
push edi
call fcn.005b6a6b
add esp, 0x14
pop edi
pop esi
ret

Function at 0x4bbcc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ce7a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6ae450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [0x703208], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CPythonTextTail.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0044c590
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0044c590
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.0044c590
mov dword [esi + 0x14], eax
push 0
mov byte [ebp - 4], 3
push 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call fcn.00463c40
mov dword [esi + 0x1c], eax
push 0
mov byte [ebp - 4], 4
push 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.00463c40
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], vtable.CDynamicPool_struct_CPythonTextTail::STextTail_.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004bbbf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bd6b0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6ae450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
push 0x658d30
push ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.005b680f
mov edi, eax
add esp, 8
test edi, edi
jne 0x4bd718
push ebx
push str._s_cant_be_opened_n
call fcn.005b788b
add esp, 8
jmp 0x4bd76d
push edi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.005b71b5
add esp, 0x10
test eax, eax
je 0x4bd75d
push eax
lea eax, [ebp - 0x404]
mov ecx, esi
push eax
call fcn.004bd500
push edi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.005b71b5
add esp, 0x10
test eax, eax
jne 0x4bd733
mov ecx, esi
call fcn.004bd5b0
push edi
call fcn.005b6a6b
add esp, 4
mov ecx, dword [ebp - 4]
lea eax, [esi + 0x68]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b509b
mov esp, ebp
pop ebp
ret 4
Function at 0x4bdb20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x6ae450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x9c], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xb0], 0x67452301
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 4]
imul ecx
mov dword [ebp - 0xac], 0xefcdab89
sar edx, 3
mov eax, edx
mov dword [ebp - 0xa8], 0x98badcfe
shr eax, 0x1f
mov dword [ebp - 0xa4], 0x10325476
mov dword [ebp - 0xb8], 0
add eax, edx
je 0x4bdc99
xor ebx, ebx
mov dword [ebp - 0xb4], ebx
lea esp, [esp]
mov eax, dword [edi + 4]
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x4bdbbd
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xb0]
call fcn.004bd6b0
mov edx, eax
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
cmp byte [edx], 0
jne 0x4bdbe6
xor ecx, ecx
jmp 0x4bdbf9
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x4bdbf0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdbf0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.0043db40
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x1c]
add ebx, 0x18
add ecx, ebx
cmp dword [ebp - 8], 0x10
mov ebx, dword [ebp - 0x1c]
cmovae edx, ebx
cmp dword [ecx + 0x14], 0x10
mov edi, dword [ecx + 0x10]
jb 0x4bdc23
mov ecx, dword [ecx]
mov esi, dword [ebp - 0xc]
cmp edi, esi
mov eax, esi
cmovb eax, edi
push eax
push edx
push ecx
call fcn.004518b0
add esp, 0xc
test eax, eax
jne 0x4bdcac
cmp edi, esi
jb 0x4bdcac
cmp edi, esi
setne al
test eax, eax
jne 0x4bdcac
cmp dword [ebp - 8], 0x10
jb 0x4bdc58
push ebx
call fcn.004c3680
add esp, 4
mov edi, dword [ebp - 0xbc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xb4]
inc esi
add ebx, 0x30
mov dword [ebp - 0xb8], esi
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 4]
imul ecx
mov dword [ebp - 0xb4], ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4bdbb0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b509b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x4bdcbd
push ebx
call fcn.004c3680
add esp, 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b509b
mov esp, ebp
pop ebp
ret
Function at 0x4bde70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60cfd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6ae450]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x6ae450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [str.UserDict.pyc]
xor edi, edi
cmp byte [eax], 0xa
je 0x4bdf7f
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, 0x64d2b0
push 4
push str.lib_
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0043db40
mov dword [esp + 0x38], 0
mov edx, dword [esi]
cmp byte [edx], 0
jne 0x4bdefa
xor eax, eax
jmp 0x4bdf09
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bdf00
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004410a0
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 0
cmovae eax, dword [esp + 0x14]
push eax
call fcn.005b870e
add esp, 8
test eax, eax
jne 0x4bdf9f
cmp dword [esp + 0x24], 0x10
lea esi, [esp + 0x10]
lea ecx, [esp + 0x10]
cmovae esi, dword [esp + 0x10]
cmovae ecx, dword [esp + 0x10]
push esi
push ecx
call ebx
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x4bdf67
push dword [esp + 0x10]
call fcn.004c3680
add esp, 4
inc edi
mov eax, dword [edi*4 + 0x64d2b0]
lea esi, [edi*4 + 0x64d2b0]
cmp byte [eax], 0xa
jne 0x4bdec2
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005b509b
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x24], 0x10
jb 0x4bdfb2
push dword [esp + 0x10]
call fcn.004c3680
add esp, 4
xor al, al
jmp 0x4bdf81
Function at 0x4bdfd0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x6ae450]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x104]
mov dword [ebp - 0x408], ecx
push eax
push 0x100
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x104]
cmp byte [eax + ecx - 1], 0x5c
je 0x4be033
mov edi, ecx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4be020
mov ax, word [0x6689b4]
mov word [edi], ax
lea ecx, [ebp - 0x104]
dec ecx
lea ebx, [ebx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4be040
mov eax, dword [str.metin2client.dat]
mov dword [ecx], eax
mov eax, dword [0x6689bc]
mov dword [ecx + 4], eax
mov eax, dword [0x6689c0]
mov dword [ecx + 8], eax
mov eax, dword [0x6689c4]
mov dword [ecx + 0xc], eax
mov al, byte [0x6689c8]
push ebx
mov byte [ecx + 0x10], al
call fcn.00453020
mov ebx, eax
lea edi, [ebp - 0x404]
mov edx, ebx
sub edi, ebx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [edi + edx - 1], cl
test cl, cl
jne 0x4be083
push 7
lea eax, [ebp - 0x404]
push str.locale_
push eax
call fcn.005b775a
add esp, 0xc
test eax, eax
jne 0x4be0c2
lea ecx, [ebx + 7]
lea edx, [ebp - 0x404]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4be0b5
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push 0
push esi
lea eax, [ebp - 0x404]
push eax
call edi
cmp byte [ebp - 0x304], 0
pop ebx
jne 0x4be153
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push dword [ebp - 0x408]
push dword [0x702908]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x304], 0
jne 0x4be153
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push 0
push esi
push 0x6689b0
call edi
cmp byte [ebp - 0x304], 0
jne 0x4be153
lea ecx, [ebp - 0x304]
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4be146
lea eax, [ebp - 0x408]
mov ecx, 0x70290c
push eax
call fcn.00475280
cmp byte [ebp - 0x304], 0
mov esi, eax
jne 0x4be173
xor ecx, ecx
jmp 0x4be189
lea ecx, [ebp - 0x304]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be180
sub ecx, edx
push ecx
lea eax, [ebp - 0x304]
mov ecx, esi
push eax
call fcn.0043db40
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.005b509b
mov esp, ebp
pop ebp
ret