joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [edx]
push edi
mov edi, dword [ebp + 8]
xor edx, edx
push 0x206
mov dword [ebp - 0x214], eax
push edx
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x210], ecx
mov word [ebp - 0x20c], dx
call fcn.00471ba0
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx]
mov ebx, dword [ebx]
mov edi, dword [edi]
add esp, 0xc
push esi
push 0x104
lea edx, [ebp - 0x20c]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
lea eax, [ebp - 0x20c]
lea ecx, [eax + 2]
jmp 0x46c9b0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x46c9b0
sub eax, ecx
mov ecx, dword [ebp - 0x210]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401b30
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e095
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46ca90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4965d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
lea ebx, [esi + 4]
push ecx
mov dword [esp + 0x30], 0
call fcn.00407850
add esp, 8
lea edi, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.00404ed0
xor bl, bl
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46cb1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.004015d0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x30], 2
call fcn.00403e40
add esp, 4
push eax
mov byte [esp + 0x30], bl
call fcn.00403ff0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46cb74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d460
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4cc790], 0
push esi
push edi
jne 0x46d3d6
call fcn.0046d342
test eax, eax
je 0x46d41b
mov eax, dword [0x4cc790]
cmp eax, 1
jne 0x46d3f7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x46d41b
jmp 0x46d45d
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x46d45d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x46d41f
xor eax, eax
jmp 0x46d45d
mov eax, dword [esi]
push dword [0x4cc790]
call edi
mov edi, eax
test edi, edi
je 0x46d441
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x46d45d
lea edi, [esi + 0xff0]
push esi
push dword [0x4cc790]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x46d447
mov eax, esi
pop edi
pop esi
ret
jmp 0x46d3c2

Function at 0x46e095
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c51d0]
jne 0x46e09f
repz ret
jmp fcn.00476084

Function at 0x47fcf0
Capabilities:
Encode data using xor

Disassembly:
outsd dx, dword [esi]
add byte [ebx - 0x40d2cb7c], dh
mov ch, 0x51
xlatb
test byte [ebp - 0x28ae4a41], dh
xor dl, dl
jae 0x47fcb7
xor ah, byte [0xc2bf24fc]
push ss
mov bl, 0xd3
rol byte [edx + 0x19878233], 1
mov edi, 0xb371a170
pop es
inc edi
push cs
mov bl, 0x16
les ecx, [ecx]
mov edi, 0x3020100
add al, 5
push es
pop es
or byte [ecx], cl
or cl, byte [ebx]
cmpsb byte [esi], byte es:[edi]
aam 0xad
lodsd eax, dword [esi]
lodsd eax, dword [esi]
inc ecx
add byte [eax], al
or byte [edi], dh
add byte [eax], al
or al, 0x38
xor al, 0xda
loopne 0x47fcba
sub dword [eax - 0x38], eax
mov esp, 0xbdb24c40
sahf
test dword [edx - 0xc6828c3], 0xd34f833d
ljmp 0xc187

Function at 0x47fdfc
Capabilities:
Encode data using xor

Disassembly:
aaa
cmp al, 0xb4
xor al, 0x80
mov bl, 0xeb
or cl, byte [ebp - 0x4d]
arpl ax, bx
sub edi, dword [0x33e288ac]
or ah, byte [edi]
salc
xor ecx, ebp
pop es
test eax, 0x44a7f13c
xor esp, ebx
cld
mov esp, 0x98ed13b2
cmp al, 0xf
mov gs, word [ebx]
xor esi, dword [0x47aff881]
mov ebx, 0x6fd13c46
push cs
xor eax, dword [0x152fade4]
sti
aaa
cmp al, 0x12
xor dword [esi], esi
xor ebp, esi
pop esi
mov esi, 0x580ee0b2
cmp al, 0xc7
stosb byte es:[edi], al
jno int.0047fdfc
iretd
Function at 0x47ff55
Capabilities:
Check for software breakpoints

Disassembly:
invalid
clc
movsb byte es:[edi], byte [esi]
mov edi, 0x3d6e2bd7
out 0x7e, eax
fstp xword [esi]
loope 0x47fee7
mov di, 0x4e31
adc edi, dword [0x3ee3056a]
cmp eax, 0x3ee3056a
mov ch, 0x20
mov edi, 0x3b892d29
add byte [ecx], al
sub dword [0x1003b89], ebp
add al, byte [ebx]
add al, 5
add eax, 0x9080706
add eax, 0x9080706
or cl, byte [ebx]
pushfd
les esp, [ebx - 0x3fffffbf]
xor eax, 0xb7980000
jne 0x47ff5e
pop eax
mov bl, 0x79
popfd
dec ebp
mov bl, 5
push ecx
imul edi, dword [edi + 0x33a66fe9], 0x36
push es
mov cl, 0x33
mov dl, 0xcb
sub byte [edi], bh
sub edx, esi
aad 0xb1
add eax, dword [ecx + 0xaa5b29a]
test dword [esi - 0x4ca71d8b], edi
jns 0x47ff41
dec ebp
mov bl, 0x9b
add eax, dword [0x45e88dbf]
xor byte [esi - 0x7f], ch
mov ecx, 0x1a951732
mov edi, 0x32e7faba
xor dword [eax - 0x27], 0x261a9a30
mov edi, 0xb357de9d
stosb byte es:[edi], al
mov cl, 0xe

Function at 0x47ff67
Capabilities:
Check for software breakpoints

Disassembly:
invalid
clc
movsb byte es:[edi], byte [esi]
mov edi, 0x3d6e2bd7
out 0x7e, eax
fstp xword [esi]
loope 0x47fee7
mov di, 0x4e31
adc edi, dword [0x3ee3056a]
cmp eax, 0x3ee3056a
mov ch, 0x20
mov edi, 0x3b892d29
add byte [ecx], al
sub dword [0x1003b89], ebp
add al, byte [ebx]
add al, 5
add eax, 0x9080706
add eax, 0x9080706
or cl, byte [ebx]
pushfd
les esp, [ebx - 0x3fffffbf]
xor eax, 0xb7980000
jne 0x47ff5e
pop eax
mov bl, 0x79
popfd
dec ebp
mov bl, 5
push ecx
imul edi, dword [edi + 0x33a66fe9], 0x36
push es
mov cl, 0x33
mov dl, 0xcb
sub byte [edi], bh
sub edx, esi
aad 0xb1
add eax, dword [ecx + 0xaa5b29a]
test dword [esi - 0x4ca71d8b], edi
jns 0x47ff41
dec ebp
mov bl, 0x9b
add eax, dword [0x45e88dbf]
xor byte [esi - 0x7f], ch
mov ecx, 0x1a951732
mov edi, 0x32e7faba
xor dword [eax - 0x27], 0x261a9a30
mov edi, 0xb357de9d
stosb byte es:[edi], al
mov cl, 0xe
Function at 0x40280d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40284c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40284c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40284c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40284c
cmp dword [ecx + 0x74], 0xe
jbe 0x40284c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401294
Capabilities:
Print debug messages

Disassembly:
jmp 0x480c90
sub esp, 0x50
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x1b8]
mov esi, dword [ebx + 0x1c4]
lea ebp, [ebx + 0x1b8]
push edi
xor edi, edi
cmp eax, edi
jne 0x480ccb
push str.rNetEnumSessions___Invalid_DP_Object_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 0x88770082
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4
mov ecx, dword [ebx + 0x1c0]
cmp ecx, edi
jne 0x480d23
mov edx, dword [esi + 4]
mov ecx, dword [eax]
push edi
push edx
push eax
call dword [ecx + 0x98]
test eax, eax
jge 0x480cff
push str.rNetenumSessions___Error_initializing_DirectPlay_object.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4
push 0x5c
mov dword [ebx + 0x1c0], edi
call fcn.0050ef5f
mov ecx, 0x17
mov edi, eax
mov dword [ebx + 0x1c0], eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
jmp 0x480dbc
mov edx, dword [esi + 4]
cmp edx, dword [ecx + 4]
je 0x480dbc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebp
push str.1_nEG
push 7
push edi
push 0x52a8c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x480d65
push str.rNetenumSessions___Error_creating_DirectPlay_object.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4
mov eax, dword [ebp]
mov ecx, dword [esi + 4]
push edi
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x98]
test eax, eax
jge 0x480d92
push str.rNetenumSessions___Error_initializing_DirectPlay_object.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4
push 0x5c
mov dword [ebx + 0x1c0], edi
call fcn.0050ef5f
add esp, 4
mov ecx, 0x17
mov edi, eax
mov dword [ebx + 0x1c0], eax
rep movsd dword es:[edi], dword [esi]
push str.rNetEnumSessions___DP_Object_reinitialized_OK_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], 0x50
test eax, eax
jne 0x480dfe
mov edx, dword [0x529740]
mov eax, dword [0x529744]
mov ecx, dword [0x529748]
mov dword [esp + 0x28], edx
mov edx, dword [0x52974c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
jmp 0x480e1b
mov eax, dword [ebx + 0x1bc]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x368]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x34], edx
je 0x480e51
mov eax, dword [eax + 4]
inc ecx
test eax, eax
jne 0x480e2b
test ecx, ecx
jle 0x480e51
lea esi, [ebx + 0x364]
mov edi, ecx
push ecx
mov ecx, dword [esi + 8]
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
call fcn.0040359e
dec edi
jne 0x480e3f
mov eax, dword [ebp]
add ebx, 0x364
push 0x11
push ebx
mov edx, dword [eax]
push 0x401fd7
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
call dword [edx + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 4
Function at 0x401848
Capabilities:
Print debug messages

Disassembly:
jmp 0x481010
sub esp, 0xc
lea eax, [esp]
push esi
push eax
push 0x52a970
push 1
push 0
mov esi, ecx
push 0x52a980
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x48105b
push str.rNetDoLobbyAddress_____Could_not_create_Lobby_instance.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
add esp, 0xc
ret
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push 0
mov ecx, esi
call fcn.00402676
test eax, eax
je 0x481091
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.rNetDoLobbyAddress_____Could_not_create_SP_address.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
add esp, 0xc
ret
push 0x5c
call fcn.0050ef5f
mov edx, dword [esp + 0xc]
add esp, 4
mov dword [eax], edx
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [0x52a8e0]
lea edx, [eax + 8]
mov dword [eax + 8], ecx
mov ecx, dword [0x52a8e4]
mov dword [edx + 4], ecx
mov ecx, dword [0x52a8e8]
mov dword [edx + 8], ecx
mov ecx, dword [0x52a8ec]
mov dword [edx + 0xc], ecx
mov dword [esi + 0x1c4], eax
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop esi
add esp, 0xc
ret
Function at 0x401d1b
Capabilities:
Print debug messages

Disassembly:
jmp 0x4e19e0
sub esp, 0x10c
mov eax, dword [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
lea esi, [eax + eax*2]
lea ebp, [ebx + ebx*2]
push edi
lea esi, [esi + esi*4]
lea edi, [esp + 0x1d]
shl esi, 5
lea ebp, [ebp + ebp*4]
add esi, eax
mov eax, dword [0x5552b0]
mov byte [esp + 0x1c], 0
shl ebp, 5
shl esi, 2
add ebp, ebx
shl ebp, 2
lea ecx, [esi + eax + 0x698]
mov dword [esp + 0x10], ecx
lea edx, [eax + ebp + 0x698]
mov ecx, 0x3f
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, ebx
mov dword [esp + 0x18], edx
shl eax, 5
add eax, ebx
lea ecx, [ebx + eax*2]
mov edx, dword [ecx*4 + 0x552dc4]
push edx
call fcn.00403210
mov edi, eax
mov eax, dword [esp + 0x12c]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*2]
mov eax, dword [edx*4 + 0x552dc4]
push eax
call fcn.00403210
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
push 3
mov dword [ecx + 0x348], ebx
mov eax, dword [0x5552b0]
mov ebp, dword [eax + ebp + 0xa34]
lea esi, [esi + eax + 0x698]
push ebp
mov eax, dword [esi + 0x39c]
mov dword [esi + 0x348], ebp
mov ecx, dword [esi + ebp*4 + 0x4a8]
push eax
inc ecx
mov dword [esi + ebp*4 + 0x4a8], ecx
call fcn.00401429
mov eax, dword [0x546aa4]
add esp, 0x14
test eax, eax
je 0x4e1bc9
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
dec ecx
push eax
push ecx
push edi
push edx
lea eax, [esp + 0x30]
push str._s__s__has_rejected_a_level__d_alliance_proposal_from__s__s_
push eax
call fcn.0050fb85
mov eax, dword [0x563acc]
add esp, 0x1c
cmp eax, 9
jl 0x4e1b9b
xor edx, edx
mov dword [0x563ad0], edx
mov edi, dword [edx*4 + 0x563aac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx*4 + 0x563aa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x563ad0]
inc edx
cmp edx, 8
mov dword [0x563ad0], edx
jl 0x4e1b11
mov edi, 0x549b78
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx*4 + 0x563aa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [0x563ad0]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [eax*4 + 0x563aa8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x4e1bc4
mov edx, dword [eax*4 + 0x563aa8]
inc eax
mov dword [0x563acc], eax
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x401ee2
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
jmp 0x468050
sub esp, 0x508
push ebx
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.Path
push str.SoftwareDeepRedGamesRiskII
push 0x80000002
mov dword [esp + 0x28], 0xff
call esi
mov eax, dword [0x54c514]
test eax, eax
jne 0x4680b8
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4680b8
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x114]
mov dword [esp + 0xc], 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x114]
push eax
push ecx
push 0
push str.LANGUAGE
push str.SoftwareDeepRedGamesRiskII
push 0x80000002
call esi
mov esi, str.English
lea eax, [esp + 0x114]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x468124
test cl, cl
je 0x468120
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x468124
add eax, 2
add esi, 2
test cl, cl
jne 0x4680fc
xor eax, eax
jmp 0x468129
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov edi, 1
jne 0x46813c
mov dword [0x546acc], eax
jmp 0x468214
mov esi, str.French
lea eax, [esp + 0x114]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x468170
test cl, cl
je 0x46816c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x468170
add eax, 2
add esi, 2
test cl, cl
jne 0x468148
xor eax, eax
jmp 0x468175
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x468184
mov dword [0x546acc], edi
jmp 0x468214
mov esi, str.German
lea eax, [esp + 0x114]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4681b8
test cl, cl
je 0x4681b4
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4681b8
add eax, 2
add esi, 2
test cl, cl
jne 0x468190
xor eax, eax
jmp 0x4681bd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4681cd
mov dword [0x546acc], 2
jmp 0x468214
mov esi, str.Dutch
lea eax, [esp + 0x114]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x468201
test cl, cl
je 0x4681fd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x468201
add eax, 2
add esi, 2
test cl, cl
jne 0x4681d9
xor eax, eax
jmp 0x468206
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x468214
mov dword [0x546acc], 3
mov dword [0x534388], edi
pop edi
pop esi
mov dword [0x53438c], 0x3f800000
mov dword [0x546ed0], 0x320
mov dword [0x546ed4], 0x258
pop ebx
add esp, 0x508
ret
Function at 0x4020a9
Capabilities:
Print debug messages

Disassembly:
jmp 0x47a070
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 8]
mov ecx, edi
call fcn.00402da6
mov ecx, edi
call fcn.004038ff
mov ebx, dword [esi + 0x364]
mov dword [esi + 0x1cc], 0
test ebx, ebx
je 0x47a0e0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx]
add eax, 0x1c
push eax
call ebp
push 0x535060
call ebp
mov eax, dword [ebx]
mov ecx, 4
mov edi, 0x52a8e0
xor edx, edx
lea esi, [eax + 8]
repe cmpsd dword [esi], dword es:[edi]
jne 0x47a0d4
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1cc], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x47a0a6
mov esi, dword [esp + 0x10]
pop ebp
lea ecx, [esi + 8]
call fcn.00401848
mov dword [esi + 0x3b8], 0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40242d
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x44d1d0
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00402531
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, 0x714
xor ebp, ebp
mov dword [esp + 0x10], eax
xor edi, edi
cmp dword [0x55380c], ebp
je 0x44d20d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
cmp ecx, eax
je 0x44d20d
cmp dword [esi + 0x348], ebp
je 0x44d269
mov eax, dword [esi]
cmp eax, ebp
je 0x44d269
cmp dword [eax + 0x68], ebp
je 0x44d269
cmp dword [eax + 0x34], ebp
je 0x44d269
mov dword [esp + edi + 0x20], ebp
call ebx
sub eax, dword [esi - 0x710]
cmp eax, 0x1f
mov dword [esp + edi + 0x40], eax
jb 0x44d258
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
fild qword [esp + 0x18]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fdiv dword [0x52948c]
fstp dword [esp + edi + 0x20]
call ebx
mov dword [esi - 0x710], eax
fld dword [esp + edi + 0x20]
call fcn.0050ef70
mov ecx, dword [esi]
push eax
call fcn.004015f5
add edi, 4
add esi, 4
cmp edi, 0x20
jl 0x44d1f2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x402491
Capabilities:
Print debug messages

Disassembly:
jmp 0x4100f0
sub esp, 0x190
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0xd5]
mov byte [esp + 0xd4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x1a0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1a4]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4101a9
mov edi, 0x53a588
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1a8]
mov ecx, ebx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xd8]
push ecx
push edx
call fcn.0050fb85
add esp, 0xc
jmp 0x410224
mov edx, dword [esp + 0x1ac]
cmp edx, ebx
je 0x4101fc
mov edi, 0x53a584
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x10]
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xdc]
push eax
push ecx
call fcn.0050fb85
add esp, 0xc
pop ebp
jmp 0x410224
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x535060
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xd4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebx
add esp, 0x190
ret
Function at 0x40253b
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Print debug messages

Disassembly:
jmp 0x4813d0
push 0xffffffffffffffff
push 0x526d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x2c]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
mov dword [ebx + 0x3ac], 0x64
mov dword [esp + 0x24], 0
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0050ef5f
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x14], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebx + 0x394], eax
mov eax, dword [ebx + 0x3ac]
push 1
push ebx
push 0x403742
push eax
push eax
call dword [sym.imp.WINMM.dll_timeSetEvent]
mov edx, dword [esp + 0x30]
push 0
push 0
push edx
mov edx, dword [ebx + 0x394]
mov dword [ebx + 0x3a8], eax
mov eax, dword [ebx + 0x1b8]
push edx
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x40]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
je 0x4814f9
push str.rNetCreatePlayer___Failed_to_create_player.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
test eax, eax
je 0x4814d2
push eax
call fcn.0050ef54
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4814e3
push eax
call fcn.0050ef54
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x24], 0xffffffff
je 0x481516
push eax
call fcn.0050ef54
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x481527
push eax
call fcn.0050ef54
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8