joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452790
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
mov eax, dword [0x6963c0]
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.00452710
push 0x647808
push esi
call fcn.005afd8b
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.004eba10
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.004eba10
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.004eba10
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.004eba10
add esp, 0x54
push edi
call fcn.005b01f6
mov ecx, dword [esp + 0x40]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.00569c25
mov esp, ebp
pop ebp
ret 4

Function at 0x455a30
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 0x45ab10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60435e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6963c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6e6e4c], edi
lea edx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [0x6e7a1c], edx
mov dword [edx], vtable.IAbstractCharacterManager.0
lea eax, [edi + 8]
mov dword [eax], vtable.IObjectManager.0
mov dword [0x6e4348], 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.00569c41
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.00569c41
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.0045aad0
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 0x45ba50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
dec edi
mov dword [ebp - 4], edx
mov eax, edi
mov dword [ebp - 0xc], edi
sar eax, 1
mov ebx, ecx
mov dword [ebp - 8], eax
mov ecx, esi
cmp esi, eax
jge 0x45baa2
lea edi, [ecx + ecx]
push dword [ebx + edi*4 + 4]
mov ecx, dword [ebx + edi*4 + 8]
call fcn.00440ea0
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, edi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + esi*4], eax
mov esi, ecx
mov eax, dword [ebp - 8]
cmp ecx, eax
jl 0x45ba74
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, eax
jne 0x45bab6
mov eax, dword [ebp + 8]
test al, 1
jne 0x45bab6
mov eax, dword [ebx + eax*4 - 4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp edx, esi
jge 0x45bae3
nop word [eax + eax]
mov eax, dword [ebp + 0xc]
lea edi, [esi - 1]
sar edi, 1
push dword [eax]
mov ecx, dword [ebx + edi*4]
call fcn.00440ea0
test al, al
je 0x45bae3
mov eax, dword [ebx + edi*4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp dword [ebp - 4], edi
jl 0x45bac0
mov eax, dword [ebp + 0xc]
pop edi
mov eax, dword [eax]
mov dword [ebx + esi*4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d740
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.004e2e80
Function at 0x48d450
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 0x48d48b
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 + 0x6e7da0], eax
inc ecx
movzx eax, byte [ebp - 4]
cmp ecx, eax
jb 0x48d462
movups xmm0, xmmword [0x6e7e3d]
push esi
xor esi, esi
movups xmmword [0x6e7300], xmm0
nop dword [eax]
call fcn.004c4630
mov dword [esi + 0x6e7300], eax
add esi, 4
cmp esi, 0x10
jb 0x48d4a0
pop esi
push 0x10
push 0x6e7dc5
push 0x6e7300
push 0x6e72f0
call fcn.004c50c0
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4a8b10
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x646ec4
push str.interface.cfg
mov edi, ecx
call fcn.005afd8b
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a8b31
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2628]
push 1
push eax
call fcn.005b0e76
push esi
call fcn.005b01f6
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606e19
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6963c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6e79b0], 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.00569c41
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.00569c41
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.00569c41
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.00569c41
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.00569c41
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.004abf30
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 0x4acec0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60408d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6963c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [str.UserDict.pyc]
xor edi, edi
cmp byte [ecx], 0xa
je 0x4acfec
nop dword [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
mov esi, ecx
mov dword [ebp - 4], 0
lea edx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4acf30
sub esi, edx
push esi
push ecx
cmp esi, 0xb
ja 0x4acf5b
lea eax, [esi + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
call fcn.005a54d0
lea eax, [ebp - 0x24]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x4acf67
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
push esi
call fcn.0043e280
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push eax
call fcn.005ba309
add esp, 8
test eax, eax
jne 0x4ad009
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 0x4acfdb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4acfd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad03d
push ecx
push edx
call fcn.00569c33
add esp, 8
mov ecx, dword [edi*4 + 0x646dd4]
inc edi
cmp byte [ecx], 0xa
jne 0x4acf00
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.00569c25
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4ad039
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ad02f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ad03d
push ecx
push edx
call fcn.00569c33
add esp, 8
xor al, al
jmp 0x4acfee
call fcn.005afb50
int3
Function at 0x4ad060
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x6963c0]
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 0x4ad0c3
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4ad0b0
mov ax, word [0x655f00]
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 0x4ad0d0
mov eax, dword [str.metin2client.dat]
mov dword [ecx], eax
mov eax, dword [0x655ef0]
mov dword [ecx + 4], eax
mov eax, dword [0x655ef4]
mov dword [ecx + 8], eax
mov eax, dword [0x655ef8]
mov dword [ecx + 0xc], eax
mov al, byte [0x655efc]
mov byte [ecx + 0x10], al
call fcn.0044b070
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 0x4ad112
push 7
lea eax, [ebp - 0x408]
push str.locale_
push eax
call fcn.005b88eb
add esp, 0xc
test eax, eax
jne 0x4ad151
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 0x4ad144
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 0x4ad1e1
push 0x1ff
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x40c]
push dword [0x6e7960]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x308], 0
jne 0x4ad1e1
lea eax, [ebp - 0x108]
push eax
push 0x1ff
lea eax, [ebp - 0x308]
push eax
push 0
push esi
push 0x647380
call edi
cmp byte [ebp - 0x308], 0
jne 0x4ad1e1
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 0x4ad1d4
lea eax, [ebp - 0x40c]
mov ecx, 0x6e7964
push eax
call fcn.0046bc60
lea ecx, [ebp - 0x308]
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ad200
sub ecx, edx
lea eax, [ebp - 0x308]
push ecx
push eax
mov ecx, esi
call fcn.0043d3e0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00569c25
mov esp, ebp
pop ebp
ret
Function at 0x4ae610
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606fef
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6963c0]
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 - 0x38], edx
mov edi, ecx
push 0
call fcn.005b95a0
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add eax, esi
push eax
call fcn.004c4690
call fcn.004c4630
push eax
call fcn.005b922b
push 1
call fcn.004c2ff0
push 0
push str.perf_game_update.txt
call fcn.005ba309
add esp, 0x14
test eax, eax
jne 0x4ae68a
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.005ba309
add esp, 8
test eax, eax
jne 0x4ae6b1
push str.patchupdater.exe
call fcn.005bb2c3
add esp, 4
xor al, al
jmp 0x4ae7e7
call dword [sym.imp.DevIL.dll_ilInit]
call fcn.004aec10
test eax, eax
je 0x4ae6aa
push 0
call fcn.004c2fa0
mov eax, dword fs:[0x2c]
add esp, 4
mov esi, dword [eax]
mov eax, dword [0x6e9c94]
cmp eax, dword [esi + 0x20]
jg 0x4ae803
mov eax, dword [0x6e9ca0]
cmp eax, dword [esi + 0x20]
jg 0x4ae851
call fcn.004ad2c0
test al, al
jne 0x4ae715
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.004c2e20
add esp, 0xc
xor al, al
jmp 0x4ae7e7
mov ecx, edi
call fcn.0044b280
test al, al
je 0x4ae72e
call fcn.0044b050
push eax
call fcn.004eba80
add esp, 4
push 0x14240
call fcn.00569c41
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0044f3d0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push edi
mov ecx, esi
call fcn.004db1e0
lea ecx, [ebp - 0x44]
xor bl, bl
call fcn.00560150
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 3
call fcn.004693e0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
call fcn.00560b20
add esp, 4
lea ecx, [ebp - 0x44]
push str.eter.python
call fcn.00560210
test al, al
je 0x4ae7a4
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x44]
call fcn.004ada20
mov bl, al
mov ecx, esi
call fcn.004519b0
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x44]
call sub.python27.dll_Py_Finalize
lea ecx, [ebp - 0x34]
call fcn.004694b0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00560180
mov ecx, esi
call fcn.004519c0
test esi, esi
je 0x4ae7e5
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
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.00569c25
mov esp, ebp
pop ebp
ret
push 0x6e9c94
call fcn.00569f80
add esp, 4
cmp dword [0x6e9c94], 0xffffffff
jne 0x4ae6e3
mov ecx, 0x6e9c98
mov dword [ebp - 4], 0
call fcn.004c46a0
push 0x6142b0
call fcn.00569eef
push 0x6e9c94
mov dword [ebp - 4], 0xffffffff
call fcn.00569f2f
add esp, 8
jmp 0x4ae6e3
push 0x6e9ca0
call fcn.00569f80
add esp, 4
cmp dword [0x6e9ca0], 0xffffffff
jne 0x4ae6f4
mov ecx, 0x6e9ca8
mov dword [ebp - 4], 1
call fcn.004f5d30
push 0x6142a0
call fcn.00569eef
push 0x6e9ca0
mov dword [ebp - 4], 0xffffffff
call fcn.00569f2f
add esp, 8
jmp 0x4ae6f4
Function at 0x4af800
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x6abf48]
test eax, eax
je 0x4af844
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x6abf48]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4af82e
push dword [0x6abf48]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x6abf4c]
mov dword [0x6abf48], 0
call dword [sym.imp.USER32.dll_SetFocus]
ret

Function at 0x4afdc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov edx, esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, esi
dec edi
mov dword [ebp + 0xc], edx
mov eax, edi
mov dword [ebp - 8], edi
sar eax, 1
mov dword [ebp - 4], eax
cmp esi, eax
jge 0x4afe1e
nop dword [eax + eax]
lea edi, [ecx + ecx]
push dword [ebx + edi*4 + 4]
mov ecx, dword [ebx + edi*4 + 8]
call fcn.004b6460
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, edi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + esi*4], eax
mov esi, ecx
mov eax, dword [ebp - 4]
cmp ecx, eax
jl 0x4afdf0
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
cmp ecx, eax
jne 0x4afe32
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x4afe32
mov eax, dword [ebx + eax*4 - 4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp edx, esi
jge 0x4afe59
mov eax, dword [ebp + 0x14]
lea edi, [esi - 1]
sar edi, 1
push dword [eax]
mov ecx, dword [ebx + edi*4]
call fcn.004b6460
test al, al
je 0x4afe59
mov eax, dword [ebx + edi*4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp dword [ebp + 0xc], edi
jl 0x4afe36
mov eax, dword [ebp + 0x14]
pop edi
mov eax, dword [eax]
mov dword [ebx + esi*4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c3b00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4c3ba9
cmp byte [esi], 0
je 0x4c3ba9
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c3b20
sub ecx, edx
cmp ecx, 3
jb 0x4c3b37
cmp byte [esi + 1], 0x3a
jne 0x4c3b37
add esi, 3
mov ecx, esi
mov dword [ebp + 8], esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c3b40
sub ecx, edx
push edi
lea eax, [ecx + 1]
push eax
mov dword [ebp - 4], eax
call fcn.00569ca5
mov cl, byte [esi]
add esp, 4
mov edi, eax
test cl, cl
je 0x4c3b9f
push ebx
xor ebx, ebx
mov eax, esi
cmp cl, 0x2f
je 0x4c3b70
cmp cl, 0x5c
jne 0x4c3b92
push dword [ebp - 4]
push 0
push edi
call fcn.005a5b00
push ebx
push esi
push edi
call fcn.005afbb0
add esp, 0x18
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 1]
inc eax
inc ebx
mov dword [ebp + 8], eax
test cl, cl
jne 0x4c3b66
pop ebx
push edi
call fcn.00569cae
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c4190
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
or eax, 0xffffffff
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x4c4222
mov ecx, edi
shr ecx, 4
push ebx
mov dword [ebp + 0xc], ecx
push esi
lea esi, [edx + 2]
mov ebx, 4
nop dword [eax + eax]
movsx ecx, byte [esi - 2]
lea esi, [esi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x67b2c0]
movsx ecx, byte [esi - 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x67b2c0]
movsx ecx, byte [esi - 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x67b2c0]
movsx ecx, byte [esi - 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x67b2c0]
sub ebx, 1
jne 0x4c41c0
add edx, 0x10
sub edi, 0x10
sub dword [ebp + 0xc], 1
jne 0x4c41b0
pop esi
pop ebx
test edi, edi
je 0x4c4240
movsx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x67b2c0]
sub edi, 1
jne 0x4c4226
not eax
pop edi
pop ebp
ret
Function at 0x4c4510
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4c453b
xor eax, eax
pop edi
pop ebp
ret
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x4c4560
Capabilities:
Get file size
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0
push ebx
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x4c45ce
push ebx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
push ebx
push esi
call fcn.004c4190
add esp, 8
mov ebx, eax
test esi, esi
je 0x4c45be
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c4f70
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, edi
mov ecx, edi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
add ecx, eax
sub eax, 0x61c88647
xor edx, ecx
add esi, edx
mov edx, esi
mov ecx, esi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
add edi, edx
test ebx, ebx
jne 0x4c4f83
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4c4fe0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0xc6ef3720
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, esi
mov ecx, esi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
add ecx, eax
add eax, 0x61c88647
xor edx, ecx
sub edi, edx
mov edx, edi
mov ecx, edi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
sub esi, edx
test ebx, ebx
jne 0x4c4ff6
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret