joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044d580

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi + 0x20]
mov byte [edi + 0x20], al
lea ecx, [edi + 0x18]
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
lea eax, [esi + 0x18]
push eax
call fcn.0043d860
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov ax, word [esi + 0x74]
mov word [edi + 0x74], ax
movzx eax, byte [esi + 0x76]
mov byte [edi + 0x76], al
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
cmp edi, esi
je 0x44d654
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x44d64b
mov esi, dword [esi]
push eax
push esi
mov ecx, edi
call fcn.0043d3e0
pop edi
pop esi
pop ebp
ret 4
Function at 0x44e860
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 0x6051dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x250
mov eax, dword [0x6993c0]
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 0x44ea2f
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.004c49e0
push 0x220
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.005a7100
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 0x44e977
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.0044e810
test eax, eax
jne 0x44e9b2
push 0x220
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.005a7100
add esp, 0xc
mov dword [ebp - 0x258], 0x224
lea eax, [ebp - 0x258]
push eax
push esi
call edi
test eax, eax
jne 0x44e930
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x44ea2f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44ea25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ea4f
jmp 0x44ea25
lea edx, [ebp - 0x138]
lea edi, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x44e9c0
mov ecx, dword [ebp - 0x25c]
lea eax, [ebp - 0x138]
sub edx, edi
push edx
push eax
call fcn.0043d3e0
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 0x44ea21
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44ea17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44ea4f
push ecx
push edx
call fcn.0056b233
add esp, 8
mov al, 1
jmp 0x44ea31
push ecx
push edx
call fcn.0056b233
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.0056b225
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005b1150
int3
Function at 0x452420
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
mov eax, dword [0x6993c0]
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.004523a0
push 0x649800
push esi
call fcn.005b138b
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.004ed500
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.004ed500
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.004ed500
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.004ed500
add esp, 0x54
push edi
call fcn.005b17f6
mov ecx, dword [esp + 0x40]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.0056b225
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6059ce
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6993c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6e9cec], edi
lea edx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [0x6ea8c4], edx
mov dword [edx], vtable.IAbstractCharacterManager.0
lea eax, [edi + 8]
mov dword [eax], vtable.IObjectManager.0
mov dword [0x6e71e8], 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.0056b241
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.0056b241
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.0045a930
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 0x45b870
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 0x45b8c2
lea edi, [ecx + ecx]
push dword [ebx + edi*4 + 4]
mov ecx, dword [ebx + edi*4 + 8]
call fcn.00440990
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 0x45b894
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, eax
jne 0x45b8d6
mov eax, dword [ebp + 8]
test al, 1
jne 0x45b8d6
mov eax, dword [ebx + eax*4 - 4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp edx, esi
jge 0x45b903
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.00440990
test al, al
je 0x45b903
mov eax, dword [ebx + edi*4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp dword [ebp - 4], edi
jl 0x45b8e0
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 0x46cef0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.004e4970
Function at 0x48d350
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 0x48d38b
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 + 0x6eac40], eax
inc ecx
movzx eax, byte [ebp - 4]
cmp ecx, eax
jb 0x48d362
movups xmm0, xmmword [0x6eacdd]
push esi
xor esi, esi
movups xmmword [0x6ea1b0], xmm0
nop dword [eax]
call fcn.004c5890
mov dword [esi + 0x6ea1b0], eax
add esi, 4
cmp esi, 0x10
jb 0x48d3a0
pop esi
push 0x10
push 0x6eac65
push 0x6ea1b0
push 0x6ea194
call fcn.004c6320
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4a8cd0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x648f54
push str.interface.cfg
mov edi, ecx
call fcn.005b138b
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a8cf1
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2628]
push 1
push eax
call fcn.005b2476
push esi
call fcn.005b17f6
add esp, 0x14
mov al, 1
pop edi
pop esi
ret
Function at 0x4acff0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608539
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6993c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6ea85c], 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.0056b241
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.0056b241
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.0056b241
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.0056b241
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.0056b241
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.004acee0
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 0x4ae300
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60558d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6993c0]
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 0x4ae3f5
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.0043e3f0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push eax
call fcn.005bb909
add esp, 8
test eax, eax
jne 0x4ae412
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 0x4ae3e4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ae3da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae446
push ecx
push edx
call fcn.0056b233
add esp, 8
mov eax, dword [edi*4 + 0x648e64]
inc edi
cmp byte [eax], 0xa
jne 0x4ae340
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.0056b225
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4ae442
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4ae438
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ae446
push ecx
push edx
call fcn.0056b233
add esp, 8
xor al, al
jmp 0x4ae3f7
call fcn.005b1150
int3
Function at 0x4ae460
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x6993c0]
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 0x4ae4c3
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4ae4b0
mov ax, word [0x658664]
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 0x4ae4d0
mov eax, dword [str.metin2client.dat]
mov dword [ecx], eax
mov eax, dword [0x658674]
mov dword [ecx + 4], eax
mov eax, dword [0x658678]
mov dword [ecx + 8], eax
mov eax, dword [0x65867c]
mov dword [ecx + 0xc], eax
mov al, byte [0x658680]
mov byte [ecx + 0x10], al
call fcn.0044af90
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 0x4ae512
push 7
lea eax, [ebp - 0x408]
push str.locale_
push eax
call fcn.005b9eeb
add esp, 0xc
test eax, eax
jne 0x4ae551
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 0x4ae544
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 0x4ae5e1
push 0x1ff
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x40c]
push dword [0x6ea810]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x308], 0
jne 0x4ae5e1
lea eax, [ebp - 0x108]
push eax
push 0x1ff
lea eax, [ebp - 0x308]
push eax
push 0
push esi
push 0x65868c
call edi
cmp byte [ebp - 0x308], 0
jne 0x4ae5e1
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 0x4ae5d4
lea eax, [ebp - 0x40c]
mov ecx, 0x6ea814
push eax
call fcn.0046b5d0
lea ecx, [ebp - 0x308]
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ae600
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.0056b225
mov esp, ebp
pop ebp
ret
Function at 0x4af940
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60870f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6993c0]
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 edi, edx
mov ebx, ecx
push 0
call fcn.005baba0
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
add eax, esi
push eax
call fcn.004c58f0
call fcn.004c5890
push eax
call fcn.005ba82b
push 1
call fcn.004c4250
push 0
push str.perf_game_update.txt
call fcn.005bb909
add esp, 0x14
test eax, eax
jne 0x4af9b9
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.005bb909
add esp, 8
test eax, eax
jne 0x4af9e0
push str.patchupdater.exe
call fcn.005bc8f0
add esp, 4
xor al, al
jmp 0x4afb13
call dword [sym.imp.libG.pyc_ilInit]
call fcn.004aff50
test eax, eax
je 0x4af9d9
push 0
call fcn.004c4200
mov eax, dword fs:[0x2c]
add esp, 4
mov esi, dword [eax]
mov eax, dword [0x6ecb34]
cmp eax, dword [esi + 0x20]
jg 0x4afb2f
mov eax, dword [0x6ecb40]
cmp eax, dword [esi + 0x20]
jg 0x4afb7d
call fcn.004ae6c0
test al, al
jne 0x4afa44
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.004c4080
add esp, 0xc
xor al, al
jmp 0x4afb13
call fcn.00441050
test al, al
je 0x4afa5b
call fcn.0044af70
push eax
call fcn.004ed570
add esp, 4
push 0x1fee8
call fcn.0056b241
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0044f010
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push ebx
mov ecx, esi
call fcn.004dccd0
lea ecx, [ebp - 0x40]
xor bl, bl
call fcn.00561750
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 3
call fcn.00468cf0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
call fcn.00562120
add esp, 4
lea ecx, [ebp - 0x40]
push str.eter.python
call fcn.00561810
test al, al
je 0x4afad0
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.004aed70
mov bl, al
mov ecx, esi
call fcn.00451640
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x40]
call sub.libPulm.pyc_Py_Finalize
lea ecx, [ebp - 0x34]
call fcn.00468dc0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00561780
mov ecx, esi
call fcn.00451650
test esi, esi
je 0x4afb11
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.0056b225
mov esp, ebp
pop ebp
ret
push 0x6ecb34
call fcn.0056b580
add esp, 4
cmp dword [0x6ecb34], 0xffffffff
jne 0x4afa12
mov ecx, 0x6ecb38
mov dword [ebp - 4], 0
call fcn.004c5900
push 0x615fa0
call fcn.0056b4ef
push 0x6ecb34
mov dword [ebp - 4], 0xffffffff
call fcn.0056b52f
add esp, 8
jmp 0x4afa12
push 0x6ecb40
call fcn.0056b580
add esp, 4
cmp dword [0x6ecb40], 0xffffffff
jne 0x4afa23
mov ecx, 0x6ecb48
mov dword [ebp - 4], 1
call fcn.004f7870
push 0x615f90
call fcn.0056b4ef
push 0x6ecb40
mov dword [ebp - 4], 0xffffffff
call fcn.0056b52f
add esp, 8
jmp 0x4afa23
Function at 0x4b0970
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x6aede8]
test eax, eax
je 0x4b09b4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x6aede8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b099e
push dword [0x6aede8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x6aedec]
mov dword [0x6aede8], 0
call dword [sym.imp.USER32.dll_SetFocus]
ret

Function at 0x4b0f30
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 0x4b0f8e
nop dword [eax + eax]
lea edi, [ecx + ecx]
push dword [ebx + edi*4 + 4]
mov ecx, dword [ebx + edi*4 + 8]
call fcn.004b76c0
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 0x4b0f60
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
cmp ecx, eax
jne 0x4b0fa2
mov eax, dword [ebp + 0x10]
test al, 1
jne 0x4b0fa2
mov eax, dword [ebx + eax*4 - 4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp edx, esi
jge 0x4b0fc9
mov eax, dword [ebp + 0x14]
lea edi, [esi - 1]
sar edi, 1
push dword [eax]
mov ecx, dword [ebx + edi*4]
call fcn.004b76c0
test al, al
je 0x4b0fc9
mov eax, dword [ebx + edi*4]
mov dword [ebx + esi*4], eax
mov esi, edi
cmp dword [ebp + 0xc], edi
jl 0x4b0fa6
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 0x4c4d60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4c4e09
cmp byte [esi], 0
je 0x4c4e09
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c4d80
sub ecx, edx
cmp ecx, 3
jb 0x4c4d97
cmp byte [esi + 1], 0x3a
jne 0x4c4d97
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 0x4c4da0
sub ecx, edx
push edi
lea eax, [ecx + 1]
push eax
mov dword [ebp - 4], eax
call fcn.0056b2a5
mov cl, byte [esi]
add esp, 4
mov edi, eax
test cl, cl
je 0x4c4dff
push ebx
xor ebx, ebx
mov eax, esi
cmp cl, 0x2f
je 0x4c4dd0
cmp cl, 0x5c
jne 0x4c4df2
push dword [ebp - 4]
push 0
push edi
call fcn.005a7100
push ebx
push esi
push edi
call fcn.005b11b0
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 0x4c4dc6
pop ebx
push edi
call fcn.0056b2ae
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c53f0
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 0x4c5482
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 + 0x67e2c0]
movsx ecx, byte [esi - 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x67e2c0]
movsx ecx, byte [esi - 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x67e2c0]
movsx ecx, byte [esi - 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x67e2c0]
sub ebx, 1
jne 0x4c5420
add edx, 0x10
sub edi, 0x10
sub dword [ebp + 0xc], 1
jne 0x4c5410
pop esi
pop ebx
test edi, edi
je 0x4c54a0
movsx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x67e2c0]
sub edi, 1
jne 0x4c5486
not eax
pop edi
pop ebp
ret