joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61bb50
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
mov cx, word [esp + 8]
xor edx, edx
cmp cx, 8
jb 0x61bb66
xor al, al
pop edi
ret 0x1c
movzx eax, cx
lea eax, [eax + eax*2]
cmp word [edi + eax*8 + 0xa], 0
push esi
lea esi, [edi + eax*8]
je 0x61bb7f
pop esi
xor al, al
pop edi
ret 0x1c
test cx, cx
jne 0x61bbc3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
push 2
push 0
push 0
push edi
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call ebp
push eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x61bbb0
call ebp
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
pop ebp
mov dword [edi + 4], eax
mov word [edi + 0xa], 1
pop ebx
jmp 0x61bbfb
mov edi, dword [esp + 0x20]
cmp di, 1
je 0x61bbd7
mov edi, 2
mov edx, 4
mov eax, dword [esp + 0x10]
lea ecx, [esi + 4]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x61bb78
mov word [esi + 0xa], di
mov edi, dword [esp + 0x24]
mov ecx, dword [esi]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov edx, dword [esi]
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x18]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
pop esi
mov al, 1
pop edi
ret 0x1c

Function at 0x61bc30
Capabilities:
Resume thread

Disassembly:
movzx eax, word [esp + 4]
lea eax, [eax + eax*2]
push esi
lea esi, [ecx + eax*8]
mov ax, word [esi + 0xa]
cmp ax, 2
jne 0x61bc71
mov eax, dword [esi + 0x14]
test eax, eax
je 0x61bc57
push 1
push 0
push esi
call eax
add esp, 0xc
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x61bc71
push 2
push 1
push esi
call eax
add esp, 0xc
pop esi
ret 4
Function at 0x61bc80
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
movzx edx, bp
lea edx, [edx + edx*2]
push esi
lea esi, [ecx + edx*8]
mov dx, word [esi + 0xa]
or eax, 0xffffffff
test dx, dx
mov dword [esp + 8], eax
je 0x61bd5b
cmp dx, 2
jne 0x61bcb0
push ebp
call fcn.0061bc30
cmp word [esi + 0xa], 1
jne 0x61bd21
mov eax, dword [esi + 0x14]
test eax, eax
je 0x61bcc8
push 4
push 0
push esi
call eax
add esp, 0xc
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [esi + 0xa], 3
call edi
cmp word [esi + 0xa], 4
mov ebx, eax
je 0x61bd0e
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
call edi
sub eax, ebx
cmp eax, 0x3e8
jae 0x61bcfc
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x61bd03
mov eax, dword [esi]
push 1
push eax
call ebp
cmp word [esi + 0xa], 4
jne 0x61bce7
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + 0x14]
test eax, eax
pop edi
pop ebx
je 0x61bd21
push 1
push 1
push esi
call eax
add esp, 0xc
mov edx, dword [esi]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
xor ecx, ecx
mov edx, esi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [esi], 0xffffffff
mov word [esi + 8], bp
pop esi
pop ebp
pop ecx
ret 4
Function at 0x61c410
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x208
mov eax, dword [0x6d63d0]
push ebx
push esi
push edi
mov dword [esp + 0x210], eax
call fcn.0061be90
mov eax, dword [0x76a250]
xor ebx, ebx
cmp eax, ebx
mov byte [0x76a25c], bl
je 0x61c44c
push eax
call fcn.0066fa2e
call fcn.0061c1e0
mov dword [0x76a250], ebx
mov eax, dword [esp + 0x218]
cmp eax, ebx
je 0x61c4ca
xor ecx, ecx
lea esp, [esp]
mov dl, byte [ecx + 0x76a140]
mov byte [esp + ecx + 0xc], dl
inc ecx
cmp dl, bl
jne 0x61c460
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x61c471
lea edi, [esp + 0xc]
sub eax, edx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x61c480
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x61c4a0
mov eax, dword [str..bik]
mov cl, byte [0x69ee58]
push ebx
lea edx, [esp + 0x10]
mov dword [edi], eax
push edx
mov byte [edi + 4], cl
call fcn.0066fa5e
mov dword [0x76a250], eax
jmp 0x61c505
call fcn.0066fa58
push 0x4000000
push eax
call fcn.0066fa5e
cmp eax, ebx
mov dword [0x76a250], eax
je 0x61c604
push eax
mov byte [0x76a25c], 1
mov dword [0x76a24c], ebx
call fcn.0066fa3a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x76a248], eax
cmp dword [0x76a250], ebx
je 0x61c604
push 2
push ebx
mov ecx, 0x76b6e0
call fcn.0061bb10
mov eax, dword [0x76a250]
mov edi, dword [eax + 4]
mov ecx, 0x1e0
sub ecx, edi
shr ecx, 1
mov dword [0x76a258], ecx
mov ecx, dword [0x6d104c]
cmp ecx, 0xffffffff
je 0x61c558
mov edx, dword [0x76a24c]
push ecx
push edx
push eax
call fcn.0066fa28
mov dword [0x6d104c], 0xffffffff
call fcn.0061bed0
test al, al
je 0x61c5d7
mov eax, dword [0x76a254]
push eax
call fcn.0066fa52
mov dword [0x76a244], eax
call fcn.0061fe60
cmp dword [0x76a250], ebx
mov dword [0x76a260], 1
je 0x61c5d7
call fcn.0061fe60
call fcn.0061c260
call fcn.005f4620
mov eax, dword [0x76a250]
mov esi, 0x7452e8
test dword [esi], 0x320
je 0x61c5c5
cmp eax, ebx
mov byte [0x76a25c], bl
je 0x61c5c5
push eax
call fcn.0066fa2e
call fcn.0061c1e0
xor eax, eax
mov dword [0x76a250], eax
add esi, 0xa0
cmp esi, 0x745568
jl 0x61c5a1
cmp eax, ebx
jne 0x61c588
call fcn.0061be90
push ebx
push ebx
mov ecx, 0x76b6e0
mov dword [0x76a260], ebx
call fcn.0061bb10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x204]
call fcn.00671b23
add esp, 0x208
ret
call fcn.0066fa4c
push eax
lea ecx, [esp + 0x114]
push str.BinkMovie_Error__s__n
push ecx
call fcn.00671a9a
add esp, 0xc
lea edx, [esp + 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x210]
pop edi
pop esi
pop ebx
call fcn.00671b23
add esp, 0x208
ret
Function at 0x61cd20
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x204
mov eax, dword [0x6d63d0]
mov ecx, dword [esp + 0x208]
mov dword [esp + 0x200], eax
lea eax, [esp + 0x20c]
push eax
push ecx
lea edx, [esp + 8]
push 0x1ff
push edx
call fcn.00673f14
add esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x200]
call fcn.00671b23
add esp, 0x204
ret

Function at 0x61f660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68551b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push 0xc0
push str.c:_activision_truecrimeluxengine2LuxDefs.h
mov esi, ecx
push 0x10
push 0x20
mov dword [esi], 0x6a0550
call fcn.0061fe40
add esp, 0x10
mov dword [esp + 8], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x61f6b2
push 0x1000
mov ecx, eax
call fcn.0061f8e0
jmp 0x61f6b4
xor eax, eax
mov dword [esi + 4], eax
mov byte [esi + 8], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], 0xffffffff
mov ecx, dword [0x76ba4c]
mov eax, dword [0x76ba50]
sub eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], eax
mov eax, 9
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], eax
mov byte [esi + 0x38], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x40], ebx
mov word [esi + 0x50], bx
mov word [esi + 0x52], bx
mov byte [esi + 0x54], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x61f990
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
push ebp
mov ebp, ecx
cmp byte [eax], 0x19
jne 0x61f9aa
push eax
mov ecx, ebp
call fcn.0061f940
mov al, 1
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x61f9b7
xor al, al
pop ebp
ret 0xc
mov al, byte [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
add ebx, 4
test al, al
je 0x61f9d2
push 0x76a64c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
add eax, ebx
cmp eax, ecx
jbe 0x61f9e5
mov dword [ebp + 0x14], 0
mov edx, dword [ebp + 0x18]
test edx, edx
push esi
push edi
je 0x61fa10
mov ecx, dword [ebp + 0x1c]
movzx esi, word [ecx + 6]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add eax, edi
lea ecx, [esi + ecx + 4]
cmp edx, ecx
lea edi, [eax + ebx]
jae 0x61fa48
cmp edi, edx
jbe 0x61fa10
cmp eax, ecx
jb 0x61fa50
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, ecx
add eax, esi
mov esi, dword [esp + 0x14]
shr ecx, 2
lea edi, [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x61fa6c
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [eax], 0
mov dword [ebp + 0x1c], eax
jmp 0x61fa78
cmp eax, ecx
jb 0x61fa50
cmp edi, edx
jbe 0x61fa10
mov al, byte [esp + 0x1c]
test al, al
je 0x61fa63
push 0x76a64c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
xor al, al
pop ebp
ret 0xc
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x18], eax
mov dword [eax], 0
mov ecx, dword [ebp + 0x14]
mov al, byte [esp + 0x1c]
add ecx, ebx
test al, al
mov dword [ebp + 0x14], ecx
je 0x61fa93
push 0x76a64c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
ret 0xc
Function at 0x621830
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [ecx + 0x464]
jmp fcn.0061f990

Function at 0x621f90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
call ebx
mov edi, dword [esp + 0x14]
mov edx, dword [esi + edi*4 + 0xad4]
test edx, edx
mov ecx, eax
mov dword [esp + 0xc], ecx
je 0x621fea
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x621fc0
mov ecx, dword [esp + 0x10]
sub eax, ecx
cmp eax, dword [esp + 0x1c]
ja 0x621fe1
push 5
call ebp
call ebx
mov ecx, dword [esi + edi*4 + 0xad4]
test ecx, ecx
jne 0x621fbc
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 8
push edi
mov ecx, esi
call fcn.00621f30
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x62db90
Capabilities:
Set registry value

Disassembly:
sub esp, 0xa8
mov eax, dword [0x6d63d0]
push esi
mov dword [esp + 0xa8], eax
mov eax, dword [0x76d574]
push edi
push eax
lea ecx, [esp + 0x10]
push 0x68d830
push ecx
call fcn.00671a9a
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push 0x76cb98
lea edx, [esp + 0x10]
push edx
push str.Adapter
push str.Renderer
call esi
mov eax, dword [0x6d1514]
push eax
lea ecx, [esp + 0x10]
push 0x68d830
push ecx
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea edx, [esp + 0x10]
push edx
push str.ScreenWidth
push str.Renderer
call esi
mov eax, dword [0x6d1518]
push eax
lea ecx, [esp + 0x10]
push 0x68d830
push ecx
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea edx, [esp + 0x10]
push edx
push str.ScreenHeight
push str.Renderer
call esi
mov eax, dword [0x6d151c]
push eax
lea ecx, [esp + 0x10]
push 0x68d830
push ecx
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea edx, [esp + 0x10]
push edx
push str.BitsPerPixel
push str.Renderer
call esi
mov cl, byte [0x76d578]
xor eax, eax
test cl, cl
setne al
push str.Windowed
push str.Renderer
lea ecx, [esp + 0x34]
push 0x6a0f00
push ecx
mov edi, eax
call fcn.00671a9a
mov eax, dword [0x76d568]
add esp, 0x10
test eax, eax
mov dword [esp + 8], edi
je 0x62dcb1
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [0x6d1520]
push edx
lea eax, [esp + 0x10]
push 0x68d830
push eax
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea ecx, [esp + 0x10]
push ecx
push str.Detail
push str.Renderer
call esi
mov ecx, dword [esp + 0xac]
pop edi
pop esi
call fcn.00671b23
add esp, 0xa8
ret

Function at 0x62e0a0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0xac
mov eax, dword [0x6d63d0]
push ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xac], eax
mov al, byte [esp + 0xc0]
test al, al
push esi
push edi
mov edi, dword [esp + 0xc0]
je 0x62e127
push edi
push ebx
lea eax, [esp + 0x3c]
push 0x6a0f00
push eax
call fcn.00671a9a
mov eax, dword [0x76d568]
add esp, 0x10
test eax, eax
jne 0x62e0f4
mov esi, dword [esp + 0xc4]
jmp 0x62e13e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov esi, dword [esp + 0xc4]
jne 0x62e13e
mov esi, dword [esp + 0xc]
jmp 0x62e13e
mov edx, dword [esp + 0xc4]
push 0x76cb98
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
push esi
lea eax, [esp + 0x18]
push 0x68d830
push eax
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea ecx, [esp + 0x18]
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0xb4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.00671b23
add esp, 0xac
ret
Function at 0x62fc60
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x24
mov eax, dword [0x6d63d0]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 0x76cb98
push 0
push str.Adapter
push str.Renderer
mov dword [esp + 0x3c], eax
call esi
mov ebx, eax
push ebx
lea eax, [esp + 0x10]
push 0x68d830
push eax
call fcn.00671a9a
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push 0x76cb98
lea ecx, [esp + 0x10]
push ecx
push str.Adapter
push str.Renderer
call edi
push 0x76cb98
push 0x280
push str.ScreenWidth
push str.Renderer
mov dword [0x76d574], ebx
call esi
mov ebx, eax
push ebx
lea edx, [esp + 0x10]
push 0x68d830
push edx
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea eax, [esp + 0x10]
push eax
push str.ScreenWidth
push str.Renderer
call edi
push 0x76cb98
push 0x1e0
push str.ScreenHeight
push str.Renderer
mov dword [0x6d1514], ebx
call esi
mov ebx, eax
push ebx
lea ecx, [esp + 0x10]
push 0x68d830
push ecx
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea edx, [esp + 0x10]
push edx
push str.ScreenHeight
push str.Renderer
call edi
push 0x76cb98
push 0x20
push str.BitsPerPixel
push str.Renderer
mov dword [0x6d1518], ebx
call esi
mov ebx, eax
push ebx
lea eax, [esp + 0x10]
push 0x68d830
push eax
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea ecx, [esp + 0x10]
push ecx
push str.BitsPerPixel
push str.Renderer
call edi
push 1
push 0
push str.Windowed
push str.Renderer
mov dword [0x6d151c], ebx
call fcn.0062e0a0
add esp, 0x10
dec eax
push 0x76cb98
neg eax
push 0
sbb al, al
push 0x6a1478
inc al
push str.Renderer
mov byte [0x76d578], al
call esi
mov ebx, eax
push ebx
lea edx, [esp + 0x10]
push 0x68d830
push edx
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea eax, [esp + 0x10]
push eax
push 0x6a1478
push str.Renderer
call edi
push 0x76cb98
push 2
test ebx, ebx
push str.Detail
setne cl
push str.Renderer
mov byte [0x76ba8a], cl
call esi
mov esi, eax
push esi
lea edx, [esp + 0x10]
push 0x68d830
push edx
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea eax, [esp + 0x10]
push eax
push str.Detail
push str.Renderer
call edi
push esi
mov dword [0x6d1520], esi
call fcn.0062df00
add esp, 4
call fcn.0062db90
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
call fcn.00671b23
add esp, 0x24
ret
Function at 0x6300c0
Capabilities:
Get common file path
Read .ini file
Set current directory

Disassembly:
sub esp, 0x38
mov eax, dword [0x6d63d0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
push esi
push edi
push 0x76cb98
push 1
push str.MusicOn
push str.Sound
mov dword [esp + 0x54], eax
call ebx
mov esi, eax
push esi
lea eax, [esp + 0x14]
push 0x68d830
push eax
call fcn.00671a9a
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push 0x76cb98
lea ecx, [esp + 0x14]
push ecx
push str.MusicOn
push str.Sound
call ebp
push 0x76cb98
push 1
test esi, esi
push str.SoundOn
setne dl
push str.Sound
mov byte [0x6d150c], dl
call ebx
mov esi, eax
push esi
lea eax, [esp + 0x14]
push 0x68d830
push eax
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea ecx, [esp + 0x14]
push ecx
push str.SoundOn
push str.Sound
call ebp
test esi, esi
setne dl
mov byte [0x6d150d], dl
mov esi, 1
push esi
lea eax, [esp + 0x34]
push str.Track_03i
push eax
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
push 1
lea ecx, [esp + 0x38]
push ecx
push str.Sound
call ebx
mov edi, eax
push edi
lea edx, [esp + 0x14]
push 0x68d830
push edx
call fcn.00671a9a
add esp, 0xc
push 0x76cb98
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
push ecx
push str.Sound
call ebp
test edi, edi
setne dl
mov byte [esi + 0x76cde8], dl
inc esi
cmp esi, 0x74
jl 0x62ff13
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
call fcn.00671b23
add esp, 0x38
ret
push 0x100
push 0x76ce68
push 0
mov byte [0x76d649], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x76ce68
call fcn.006731f0
add esp, 8
test eax, eax
jne 0x6300ff
push 0x2f
push 0x76ce68
call fcn.006731f0
add esp, 8
test eax, eax
je 0x630102
mov byte [eax], 0
push 0x76ce68
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x76ce68
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor eax, eax
nop
mov cl, byte [eax + 0x76ce68]
mov byte [eax + 0x76cb98], cl
inc eax
test cl, cl
jne 0x630120
push edi
mov edi, 0x76cb98
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x630138
mov eax, dword [str.TrueCrime.INI]
mov ecx, dword [0x6a14a8]
mov edx, dword [0x6a14ac]
mov dword [edi], eax
mov ax, word [0x6a14b0]
mov dword [edi + 4], ecx
mov cl, byte [0x6a14b2]
mov dword [edi + 8], edx
mov word [edi + 0xc], ax
mov eax, dword [0x76d568]
test eax, eax
mov byte [edi + 0xe], cl
pop edi
jne 0x6301a0
push 0x76d568
push 0xf003f
push 0
push str.SoftwareActivisionTrue_Crime
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x6301a0
mov dword [0x76d568], 0
call fcn.0062e180
call fcn.0062eb70
call fcn.0062fc60
call fcn.0062e700
jmp 0x62fe60
Function at 0x63cb70
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x6d63d0]
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
mov ecx, dword [esp + 0x190]
call fcn.00671b23
add esp, 0x194
ret

Function at 0x63cc00
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x110]
lea ecx, [esp]
push ecx
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0x40
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
je 0x63cc52
test eax, eax
je 0x63cc52
mov eax, 1
add esp, 0x10c
ret
xor eax, eax
add esp, 0x10c
ret

Function at 0x63cc60
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x6d63d0]
push edi
mov dword [esp + 0x10c], eax
xor eax, eax
mov byte [esp + 8], 0
mov ecx, 0x3f
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x100
lea eax, [esp + 0xc]
push eax
call sub.WSOCK32.dll_gethostname
lea ecx, [esp + 8]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov ecx, dword [esp + 0x10c]
call fcn.00671b23
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x6454d0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x108
mov eax, dword [0x6d63d0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x114], eax
mov edi, ecx
xor eax, eax
lea ecx, [esp + 0x14]
mov edi, edi
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x6454f0
xor dl, dl
xor eax, eax
lea ecx, [esp + 0x14]
mov esi, 0x100
jmp 0x645510
mov ebx, dword [esp + 0x11c]
movzx ebp, byte [ecx]
movzx edx, dl
movzx ebx, byte [edx + ebx]
add ebx, eax
add ebx, ebp
and ebx, 0x800000ff
jns 0x645535
dec ebx
or ebx, 0xffffff00
inc ebx
lea eax, [edx + 1]
cdq
idiv edi
movzx eax, bl
mov bl, byte [ecx]
mov byte [esp + 0x13], bl
mov bl, byte [esp + eax + 0x14]
mov byte [ecx], bl
mov bl, byte [esp + 0x13]
inc ecx
dec esi
mov byte [esp + eax + 0x14], bl
jne 0x645510
mov eax, dword [esp + 0x124]
xor ebp, ebp
test eax, eax
jle 0x645600
xor esi, esi
xor edi, edi
xor eax, eax
lea ecx, [ecx]
mov ecx, dword [esp + 0x120]
mov dl, byte [eax + ecx]
movzx ecx, dl
lea ecx, [ecx + esi + 1]
and ecx, 0x800000ff
jns 0x645591
dec ecx
or ecx, 0xffffff00
inc ecx
movzx esi, cl
movzx ecx, byte [esp + esi + 0x14]
add ecx, edi
and ecx, 0x800000ff
jns 0x6455ab
dec ecx
or ecx, 0xffffff00
inc ecx
movzx edi, cl
mov bl, byte [esp + edi + 0x14]
mov cl, byte [esp + esi + 0x14]
mov byte [esp + esi + 0x14], bl
mov byte [esp + edi + 0x14], cl
movzx ecx, byte [esp + esi + 0x14]
movzx ebx, byte [esp + edi + 0x14]
add ecx, ebx
and ecx, 0x800000ff
jns 0x6455da
dec ecx
or ecx, 0xffffff00
inc ecx
movzx ecx, cl
mov cl, byte [esp + ecx + 0x14]
xor cl, dl
mov edx, dword [esp + 0x120]
inc ebp
mov byte [eax + edx], cl
mov ecx, dword [esp + 0x124]
movsx eax, bp
cmp eax, ecx
jl 0x645570
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
call fcn.00671b23
add esp, 0x108
ret
Function at 0x646170
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x808
mov eax, dword [0x6d63d0]
push 0x10
lea ecx, [esi + 0xcc]
push ecx
mov dword [esp + 0x80c], eax
mov eax, dword [esi + 0x84]
push 0
push 5
lea edx, [esp + 0x10]
mov dword [esp + 0x11], eax
mov eax, dword [esi]
push edx
push eax
mov byte [esp + 0x18], 8
mov dword [esp + 0x818], 5
call sub.WSOCK32.dll_sendto
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esp + 0x804]
mov dword [esi + 0xb0], eax
call fcn.00671b23
add esp, 0x808
ret