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

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

Function at 0x44c620
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.0043a7f0
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 eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
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
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x8c], eax
mov ax, word [esi + 0x90]
mov word [edi + 0x90], ax
movzx eax, byte [esi + 0x92]
mov byte [edi + 0x92], al
mov eax, dword [esi + 0x94]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0xa0], eax
cmp edi, esi
je 0x44c75b
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x44c750
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.0043a5c0
mov al, byte [esi + 0x93]
mov byte [edi + 0x93], al
pop edi
pop esi
pop ebp
ret 4
Function at 0x44da80
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61580d
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6a5418]
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 0x44dc2b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004e3c30
push 0x220
lea eax, [ebp - 0x24c]
push 0
push eax
call fcn.005cfeb0
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 0x44db78
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x130]
cmovae edx, dword [ebp - 0x28]
call fcn.0044da30
test eax, eax
jne 0x44dbb3
push 0x220
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.005cfeb0
add esp, 0xc
mov dword [ebp - 0x250], 0x224
lea eax, [ebp - 0x250]
push eax
push esi
call edi
test eax, eax
jne 0x44db31
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44dc2b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44dc21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dc49
jmp 0x44dc21
lea edx, [ebp - 0x130]
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x44dbc0
sub edx, edi
lea eax, [ebp - 0x130]
push edx
push eax
mov ecx, ebx
call fcn.0043a5c0
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x23c]
push esi
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44dc1d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44dc13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dc49
push edx
push ecx
call fcn.0059851d
add esp, 8
mov al, 1
jmp 0x44dc2d
push edx
push ecx
call fcn.0059851d
add esp, 8
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.005984ec
mov esp, ebp
pop ebp
ret
call fcn.005d9542
int3
Function at 0x451870
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.004517f0
push 0x65e698
push dword [ebp + 8]
call fcn.005d977b
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.0050e550
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.0050e550
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.0050e550
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.0050e550
add esp, 0x54
push edi
call fcn.005d9be9
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6160ae
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6a5418]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6f7e44], edi
lea edx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [0x6fb5f0], edx
mov dword [edx], vtable.IAbstractCharacterManager.0
lea eax, [edi + 8]
mov dword [eax], vtable.IObjectManager.0
mov dword [0x6f2254], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x20]
mov dword [edi], vtable.CPythonCharacterManager.2.0
mov dword [edx], vtable.CPythonCharacterManager.0
mov dword [eax], vtable.CPythonCharacterManager.1.0
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0059852b
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.0059852b
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.0045a850
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 0x46db10
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.005053c0
Function at 0x47e920
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x47e928
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x47e93b
test al, 0x10
je 0x47e93b
mov al, 1
ret
xor al, al
ret

Function at 0x490610
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 0x49064b
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 + 0x6fb8d0], eax
inc ecx
movzx eax, byte [ebp - 4]
cmp ecx, eax
jb 0x490622
movups xmm0, xmmword [0x6fb96d]
push esi
xor esi, esi
movups xmmword [0x6f8590], xmm0
nop dword [eax]
call fcn.004e4990
mov dword [esi + 0x6f8590], eax
add esi, 4
cmp esi, 0x10
jb 0x490660
push 0x10
push 0x6fb8f5
push 0x6f8590
push 0x6f85a0
call fcn.004e5380
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4aedc0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x65dcc0
push str.interface.cfg
mov edi, ecx
call fcn.005d977b
mov esi, eax
add esp, 8
test esi, esi
jne 0x4aede1
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2640]
push 1
push eax
call fcn.005da85c
push esi
call fcn.005d9be9
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618d39
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6a5418]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x6fb584], 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.0059852b
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.0059852b
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.0059852b
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.0059852b
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.0059852b
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.004b2830
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 0x4b37b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61584d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6a5418]
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 edx, dword [str.UserDict.pyc]
xor edi, edi
cmp byte [edx], 0xa
je 0x4b38a2
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x28], 0x5c62696c
mov byte [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 4], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3817
sub eax, esi
lea ecx, [ebp - 0x28]
push eax
push edx
call fcn.0043c0f0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005e3edc
add esp, 8
test eax, eax
jne 0x4b38c0
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push esi
push ecx
call ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4b3891
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b3887
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b38f4
push edx
push ecx
call fcn.0059851d
add esp, 8
mov edx, dword [edi*4 + 0x65c7b4]
inc edi
cmp byte [edx], 0xa
jne 0x4b37f2
mov al, 1
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.005984ec
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4b38f0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4b38e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b38f4
push edx
push ecx
call fcn.0059851d
add esp, 8
xor al, al
jmp 0x4b38a4
call fcn.005d9542
int3
Function at 0x4b3910
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x6a5418]
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 0x4b3973
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4b3960
mov ax, word [0x66ef48]
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 0x4b3980
mov eax, dword [str.metin2client.dat]
mov dword [ecx], eax
mov eax, dword [0x66ef50]
mov dword [ecx + 4], eax
mov eax, dword [0x66ef54]
mov dword [ecx + 8], eax
mov eax, dword [0x66ef58]
mov dword [ecx + 0xc], eax
mov al, byte [0x66ef5c]
mov byte [ecx + 0x10], al
call fcn.0044a0c0
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 0x4b39c2
push 7
lea eax, [ebp - 0x408]
push str.locale_
push eax
call fcn.005e24d9
add esp, 0xc
test eax, eax
jne 0x4b3a01
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 0x4b39f4
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 0x4b3a91
push 0x1ff
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x40c]
push dword [0x6fb54c]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x308], 0
jne 0x4b3a91
lea eax, [ebp - 0x108]
push eax
push 0x1ff
lea eax, [ebp - 0x308]
push eax
push 0
push esi
push 0x66ef44
call edi
cmp byte [ebp - 0x308], 0
jne 0x4b3a91
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 0x4b3a84
lea eax, [ebp - 0x40c]
mov ecx, 0x6fb550
push eax
call fcn.0046bf90
lea ecx, [ebp - 0x308]
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b3ab0
sub ecx, edx
lea eax, [ebp - 0x308]
push ecx
push eax
mov ecx, esi
call fcn.0043a5c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005984ec
mov esp, ebp
pop ebp
ret
Function at 0x4b4f20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618fff
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6a5418]
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.005e3195
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add eax, esi
push eax
call fcn.004e49f0
call fcn.004e4990
push eax
call fcn.005e2e1a
push 1
call fcn.004e3490
push 0
push str.perf_game_update.txt
call fcn.005e3edc
add esp, 0x14
test eax, eax
jne 0x4b4f99
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.005e3edc
add esp, 8
test eax, eax
jne 0x4b4fc0
push str.patchupdater.exe
call fcn.005e5075
add esp, 4
xor al, al
jmp 0x4b50fb
call dword [sym.imp.DevIL.dll_ilInit]
call fcn.004b5560
test eax, eax
je 0x4b4fb9
push 0
call fcn.004e3440
mov eax, dword fs:[0x2c]
add esp, 4
mov ecx, dword [eax]
mov eax, dword [0x6fd7c4]
cmp eax, dword [ecx + 0x20]
jg 0x4b5117
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6fd7d0]
cmp eax, dword [ecx + 0x20]
jg 0x4b5165
call fcn.004b3b70
test al, al
jne 0x4b502c
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.004e32c0
add esp, 0xc
xor al, al
jmp 0x4b50fb
call fcn.0044a150
test al, al
je 0x4b5043
call fcn.0044a0a0
push eax
call fcn.0050e5c0
add esp, 4
push 0x33d20
call fcn.0059852b
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0044e220
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push ebx
mov ecx, esi
call fcn.004fd840
lea ecx, [ebp - 0x40]
xor bl, bl
call fcn.0058e260
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 3
call fcn.00469400
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
call fcn.0058eb10
add esp, 4
lea ecx, [ebp - 0x40]
push str.eter.python
call fcn.0058e320
test al, al
je 0x4b50b8
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.004b4370
mov bl, al
mov ecx, esi
call fcn.00450a50
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [ebp - 0x40]
call sub.python27.dll_Py_Finalize
lea ecx, [ebp - 0x34]
call fcn.004694d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.0058e290
mov ecx, esi
call fcn.00450aa0
test esi, esi
je 0x4b50f9
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.005984ec
mov esp, ebp
pop ebp
ret
push 0x6fd7c4
call fcn.005988f9
add esp, 4
cmp dword [0x6fd7c4], 0xffffffff
jne 0x4b4ff2
mov ecx, 0x6fd7c8
mov dword [ebp - 4], 0
call fcn.004e4a00
push 0x627b80
call fcn.005987b1
push 0x6fd7c4
mov dword [ebp - 4], 0xffffffff
call fcn.005988af
add esp, 8
jmp 0x4b4ff2
push 0x6fd7d0
call fcn.005988f9
add esp, 4
cmp dword [0x6fd7d0], 0xffffffff
jne 0x4b500b
mov ecx, 0x6fd7d8
mov dword [ebp - 4], 1
call fcn.005183e0
push 0x627b70
call fcn.005987b1
push 0x6fd7d0
mov dword [ebp - 4], 0xffffffff
call fcn.005988af
add esp, 8
jmp 0x4b500b
Function at 0x4cf6f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x6ba1a8]
test eax, eax
je 0x4cf734
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x6ba1a8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4cf71e
push dword [0x6ba1a8]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x6ba1ac]
mov dword [0x6ba1a8], 0
call dword [sym.imp.USER32.dll_SetFocus]
ret
Function at 0x4e3e90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4e3f39
cmp byte [esi], 0
je 0x4e3f39
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e3eb0
sub ecx, edx
cmp ecx, 3
jb 0x4e3ec7
cmp byte [esi + 1], 0x3a
jne 0x4e3ec7
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 0x4e3ed0
sub ecx, edx
push edi
lea eax, [ecx + 1]
push eax
mov dword [ebp - 4], eax
call fcn.0059855b
mov cl, byte [esi]
add esp, 4
mov edi, eax
test cl, cl
je 0x4e3f2f
push ebx
xor ebx, ebx
mov eax, esi
cmp cl, 0x2f
je 0x4e3f00
cmp cl, 0x5c
jne 0x4e3f22
push dword [ebp - 4]
push 0
push edi
call fcn.005cfeb0
push ebx
push esi
push edi
call fcn.005d95a0
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 0x4e3ef6
pop ebx
push edi
call fcn.00598564
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e44f0
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 0x4e4582
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 + 0x6952c0]
movsx ecx, byte [esi - 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6952c0]
movsx ecx, byte [esi - 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6952c0]
movsx ecx, byte [esi - 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6952c0]
sub ebx, 1
jne 0x4e4520
add edx, 0x10
sub edi, 0x10
sub dword [ebp + 0xc], 1
jne 0x4e4510
pop esi
pop ebx
test edi, edi
je 0x4e45a0
movsx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x6952c0]
sub edi, 1
jne 0x4e4586
not eax
pop edi
pop ebp
ret