Function at 0x438d50
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0xd70
mov eax, str.SoftwareWestwoodRenegade
push ebx
push ebp
xor ebx, ebx
push esi
test eax, eax
push edi
je 0x438d92
cmp byte [str.SoftwareWestwoodRenegade], bl
je 0x438d92
mov edi, str.SoftwareWestwoodRenegade
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x81e90c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x856094
test eax, eax
je 0x438dfb
cmp byte [0x856094], bl
je 0x438dfb
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x856094
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, str.Debug
test eax, eax
je 0x438e64
cmp byte [str.Debug], bl
je 0x438e64
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Debug
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
push 0x81e90c
lea ecx, [esp + 0x18]
call fcn.005dbcb0
cmp byte [esp + 0x14], bl
je 0x438ea8
push 1
push str.GameInitInProgress
lea ecx, [esp + 0x18]
call fcn.005dbdb0
push ebx
push str.ApplicationCrashVersion
lea ecx, [esp + 0x18]
call fcn.005dbd50
push ebx
push str.ApplicationCrashVersion
lea ecx, [esp + 0x18]
call fcn.005dbdb0
call fcn.00438020
call fcn.00671de0
mov eax, str.SoftwareWestwoodRenegade
test eax, eax
je 0x438ee8
cmp byte [str.SoftwareWestwoodRenegade], bl
je 0x438ee8
mov edi, str.SoftwareWestwoodRenegade
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x81e90c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x856094
test eax, eax
je 0x438f51
cmp byte [0x856094], bl
je 0x438f51
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x856094
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, str.Debug
test eax, eax
je 0x438fba
cmp byte [str.Debug], bl
je 0x438fba
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Debug
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x81e90c
call fcn.00671f10
push 0x437b60
call fcn.005daaa0
call fcn.004350d0
push ebx
push ebx
call fcn.00438c80
mov eax, dword [str.DATA_]
add esp, 0x10
mov ecx, 0x81e878
push eax
call fcn.005e3e50
mov ecx, dword [str.DATA_]
mov dword [0x809e7c], 0x81e878
push ecx
mov ecx, 0x81ed60
call fcn.005e3e50
mov edx, dword [str.DATASAVE_]
mov ecx, 0x81ed60
push edx
call fcn.005e4090
mov eax, dword [str.DATACONFIG_]
mov ecx, 0x81ed60
push eax
call fcn.005e4090
mov ecx, dword [str.DATA_]
push ecx
mov ecx, dword [0x809e78]
call fcn.005e3e50
mov edx, dword [str.DATASAVE_]
mov ecx, dword [0x809e78]
push edx
call fcn.005e4090
mov eax, dword [str.DATACONFIG_]
mov ecx, dword [0x809e78]
push eax
call fcn.005e4090
mov ecx, dword [0x809e78]
push 0x81c668
push 0x81ed60
mov byte [ecx + 8], 1
mov ecx, 0x81ed28
call fcn.006ec310
push 0x68
call fcn.00672b70
add esp, 4
cmp eax, ebx
je 0x43909d
push 0x81ed60
push str.Always2.dat
mov ecx, eax
call fcn.005e7d20
jmp 0x43909f
xor eax, eax
push str.Always2.dat
push eax
mov ecx, 0x81ed28
call fcn.006ec310
push 0x68
call fcn.00672b70
add esp, 4
cmp eax, ebx
je 0x4390d0
push 0x81ed60
push str.Always.dbs
mov ecx, eax
call fcn.005e7d20
jmp 0x4390d2
xor eax, eax
push str.Always.dbs
push eax
mov ecx, 0x81ed28
call fcn.006ec310
push 0x68
call fcn.00672b70
add esp, 4
cmp eax, ebx
je 0x439103
push 0x81ed60
push str.Always.dat
mov ecx, eax
call fcn.005e7d20
jmp 0x439105
xor eax, eax
push str.Always.dat
push eax
mov ecx, 0x81ed28
call fcn.006ec310
lea edx, [esp + 0x2c]
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebx
push edx
rep stosd dword es:[edi], eax
push str.data.mix
mov esi, 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x439192
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, ebx
je 0x43918b
push 0x68
call fcn.00672b70
add esp, 4
cmp eax, ebx
je 0x43916d
lea ecx, [esp + 0x58]
push 0x81ed60
push ecx
mov ecx, eax
call fcn.005e7d20
jmp 0x43916f
xor eax, eax
lea edx, [esp + 0x58]
mov ecx, 0x81ed28
push edx
push eax
call fcn.006ec310
lea eax, [esp + 0x2c]
push eax
push edi
call ebp
mov esi, eax
jmp 0x439148
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov cl, byte [0x856070]
mov eax, 0x81ed28
cmp cl, bl
mov dword [0x809e74], eax
je 0x4391b5
mov dword [0x81ed24], eax
mov eax, 0x81ed10
mov dword [0x809e74], eax
mov dword [0x81e904], eax
mov al, byte [0x81c644]
cmp al, bl
jne 0x4391d4
mov ecx, 0x83f450
call fcn.005ddd50
mov byte [0x81c644], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x83f450]
cmp eax, ecx
jbe 0x4391e8
sub eax, ecx
jmp 0x4391f0
mov ecx, dword [0x83f454]
add eax, ecx
and eax, 0xff
mov edx, eax
dec eax
test edx, edx
jle 0x43920c
lea esi, [eax + 1]
mov ecx, 0x85cb40
call fcn.005e6780
dec esi
jne 0x4391ff
push 0x19a8
call fcn.00672b70
add esp, 4
cmp eax, ebx
je 0x43922b
mov cl, byte [0x81e33c]
push ecx
mov ecx, eax
call fcn.00511750
mov edx, str.SoftwareWestwoodRenegade
test edx, edx
je 0x43925e
cmp byte [str.SoftwareWestwoodRenegade], bl
je 0x43925e
mov edi, edx
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, 0x81e90c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x856094
test ecx, ecx
je 0x4392c7
cmp byte [0x856094], bl
je 0x4392c7
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x856094
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x7f8400
test eax, eax
je 0x439330
cmp byte [0x7f8400], bl
je 0x439330
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x7f8400
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x830294]
push 0x81e90c
call fcn.00515250
mov eax, dword [0x830294]
push ebx
push 0x437ce0
mov dword [eax + 0x44], 0x81e8f0
mov ecx, dword [0x830294]
call fcn.005157a0
call fcn.004401e0
push 0x408c
call fcn.00672b70
add esp, 4
cmp eax, ebx
je 0x43937e
mov ecx, eax
call fcn.00541d70
mov esi, eax
jmp 0x439380
xor esi, esi
mov edx, dword [esi]
push 0x836758
mov ecx, esi
mov byte [esi + 0x4074], 1
call dword [edx + 0x58]
mov eax, dword [esi]
push 0x836750
mov ecx, esi
call dword [eax + 0x58]
mov edx, dword [esi]
push 0x8360d0
mov ecx, esi
call dword [edx + 0x58]
mov eax, dword [esi]
push 0x8360c8
mov ecx, esi
call dword [eax + 0x58]
mov byte [esi + 0x4075], 1
call fcn.005f5090
call fcn.0062e7a0
mov al, byte [0x81e33c]
mov edx, dword [0x83dbb8]
cmp al, bl
setne cl
push ecx
push ebx
push edx
call fcn.00529620
add esp, 0xc
test eax, eax
je 0x43940f
push ebx
push str.Renegade_Graphics_Initialization_Error.
push str.DirectX_8.0_or_later_is_required_to_play_CC:Renegade.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
call fcn.005dbd30
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xd70
ret
cmp byte [0x81e33c], bl
je 0x439434
mov ecx, dword [0x855444]
push ebx
mov byte [0x7fd64d], bl
call fcn.00627ea0
mov byte [0x7fd7b0], bl
jmp 0x43969b
mov eax, str.SoftwareWestwoodRenegade
test eax, eax
je 0x43946a
cmp byte [str.SoftwareWestwoodRenegade], bl
je 0x43946a
mov edi, str.SoftwareWestwoodRenegade
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x81e90c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x856094
test eax, eax
je 0x4394d3
cmp byte [0x856094], bl
je 0x4394d3
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x856094
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, str.Render
test eax, eax
je 0x43953c
cmp byte [str.Render], bl
je 0x43953c
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Render
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
push 0x81e90c
call fcn.00529a40
add esp, 8
test eax, eax
je 0x439565
lea ecx, [esp + 0x10]
call fcn.005dbd30
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xd70
ret
mov eax, str.SoftwareWestwoodRenegade
test eax, eax
je 0x43959b
cmp byte [str.SoftwareWestwoodRenegade], bl
je 0x43959b
mov edi, str.SoftwareWestwoodRenegade
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x81e90c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 0x856094
test eax, eax
je 0x439604
cmp byte [0x856094], bl
je 0x439604
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x856094
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, str.Render
test eax, eax
je 0x43966d
cmp byte [str.Render], bl
je 0x43966d
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Render
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x81e90c
call fcn.005299e0
add esp, 4
test eax, eax
je 0x439694
lea ecx, [esp + 0x10]
call fcn.005dbd30
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xd70
ret
mov byte [0x830488], 1
mov ecx, 0x81dff8
call fcn.00434c80
test al, al
mov al, byte [0x81e33c]
jne 0x4396ca
cmp byte [0x81f5ec], bl
jne 0x4396ca
cmp al, bl
jne 0x4396dd
mov eax, dword [0x83dbb8]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4396e7
cmp al, bl
jne 0x4396dd
mov ecx, dword [0x83dbb8]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x81e228
call fcn.00435500
mov esi, 3
mov ebp, 1
lea edx, [esp + 0x20]
push ebx
push edx
push ebp
push ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.00529b80
push ebp
call fcn.0052a310
add esp, 0x14
dec esi
jne 0x4396f1
mov byte [0x7ff170], bl
xor edi, edi
mov esi, 0x7ce714
mov eax, dword [esi]
push eax
push edi
call fcn.00560f90
add esp, 8
add esi, 4
inc edi
cmp esi, 0x7ce758
jl 0x43972f
cmp dword [0x82d958], ebp
jne 0x43975c
cmp byte [0x856071], bl
je 0x43975c
call fcn.0069d7a0
call fcn.0062e640
call fcn.00527cc0
call fcn.0076b110
mov ecx, dword [0x809e74]
push str.STRINGS.TDB
mov edx, dword [ecx]
call dword [edx + 4]
mov esi, eax
cmp esi, ebx
je 0x4397c6
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x14]
test al, al
je 0x4397b3
push esi
lea ecx, [esp + 0x170]
call fcn.005de290
lea eax, [esp + 0x16c]
push ebp
push eax
call fcn.00525800
add esp, 8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [0x809e74]
push esi
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [0x81e33c], bl
sete cl
push ecx
call fcn.00675770
mov edx, str.SoftwareWestwoodRenegade
add esp, 4
test edx, edx
je 0x43980b
cmp byte [str.SoftwareWestwoodRenegade], bl
je 0x43980b
mov edi, edx
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, 0x81e90c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x856094
test ecx, ecx
je 0x439874
cmp byte [0x856094], bl
je 0x439874
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x856094
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, str.Controls
test eax, eax
je 0x4398dd
cmp byte [str.Controls], bl
je 0x4398dd
mov edi, 0x7f7618
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Controls
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x81e90c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x81e90c
call fcn.00675870
add esp, 4
call fcn.00408d10
call fcn.004b1f00
call fcn.004e6880
call fcn.004e68e0
mov ecx, dword [0x809e74]
push str.CONV10.CDB
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
cmp esi, ebx
je 0x439959
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x14]
test al, al
je 0x439946
push esi
lea ecx, [esp + 0x170]
call fcn.005de290
lea ecx, [esp + 0x16c]
push ebp
push ecx
call fcn.00525800
add esp, 8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [0x809e74]
push esi
mov eax, dword [ecx]
call dword [eax + 8]
call fcn.0076cd10
cmp eax, 0x91
je 0x43997b
push 0x10030
push str.Version_Error
push str.This_build_of_Renegade_is_out_of_sync_with_the_strings_database__strings.tdb_.__Strings_will_be_incorrect_and_may_cause_the_game_to_crash.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00670260
cmp byte [0x81e33c], bl
jne 0x43998d
call fcn.0041b020
call fcn.004b0f20
call fcn.00457700
call fcn.004e2670
call fcn.004156f0
call fcn.0041d8c0
call fcn.00471720
call fcn.00455ff0
call fcn.0061f570
cmp byte [0x81e33c], bl
sete cl
push ecx
call fcn.00670080
call fcn.0041f2d0
push 8
call fcn.00672b70
add esp, 8
cmp eax, ebx
je 0x4399e2
mov dword [eax + 4], ebp
mov dword [eax], 0x7ce9d8
jmp 0x4399e4
xor eax, eax
push eax
call fcn.00436d00
push 8
call fcn.00672b70
add esp, 8
cmp eax, ebx
je 0x439a03
mov dword [eax + 4], ebp
mov dword [eax], 0x7ce9a0
jmp 0x439a05
xor eax, eax
push eax
call fcn.00436d00
push 0x158
call fcn.00672b70
add esp, 8
cmp eax, ebx
je 0x439a25
mov ecx, eax
call fcn.0042d500
jmp 0x439a27
xor eax, eax
push eax
call fcn.00436d00
push 8
call fcn.00672b70
add esp, 8
cmp eax, ebx
je 0x439a46
mov dword [eax + 4], ebp
mov dword [eax], 0x7ce968
jmp 0x439a48
xor eax, eax
push eax
call fcn.00436d00
push 0xc
call fcn.00672b70
add esp, 8
cmp eax, ebx
je 0x439a65
mov ecx, eax
call fcn.00429690
jmp 0x439a67
xor eax, eax
push eax
call fcn.00436d00
push 0x38
call fcn.00672b70
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x439ae5
lea edx, [esp + 0x1a]
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
lea ecx, [esi + 0xc]
mov dword [esi + 4], ebp
mov dword [esi], 0x7ce930
mov dword [esp + 0x28], ebx
call fcn.0043a820
lea ecx, [esp + 0x1b]
mov dword [esi + 8], 0x7ce920
push ecx
lea ecx, [esi + 0x20]
call fcn.0043a7d0
mov dword [esi + 0x1c], 0x7ce90c
mov edx, dword [0x809d38]
lea edi, [esi + 0x30]
push ebx
push ebx
mov ecx, edi
mov dword [edi], edx
call fcn.005dcfa0
mov eax, dword [edi]
mov cl, byte [0x83ec0c]
mov byte [eax], cl
mov dword [esi], 0x7ce8d4
mov dword [esi + 8], 0x7ce8c4
jmp 0x439ae7
xor esi, esi
push esi
call fcn.00436d00
push 0x16c
call fcn.00672b70
add esp, 8
cmp eax, ebx
je 0x439b09
mov dword [eax + 4], ebp
mov dword [eax], 0x7ce88c
jmp 0x439b0b
xor eax, eax
push eax
call fcn.00436d00
push 8
call fcn.00672b70
add esp, 8
cmp eax, ebx
je 0x439b2a
mov dword [eax + 4], ebp
mov dword [eax], 0x7ce854
jmp 0x439b2c
xor eax, eax
push eax
call fcn.00436d00
push 0x78
call fcn.00672b70
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x439bfc
lea edi, [esi + 0x1c]
push ebx
push ebx
mov ecx, edi
mov dword [esi], 0x7ce264
mov dword [esi + 4], 1
call fcn.0043b7b0
mov ebp, 0xa
mov dword [edi], 0x7ce83c
mov dword [edi + 0x14], ebp
mov dword [edi + 0x10], ebx
lea edi, [esi + 0x34]
push ebx
push ebx
mov ecx, edi
call fcn.004336e0
mov dword [edi], 0x7ce49c
mov dword [edi + 0x14], ebp
mov dword [edi + 0x10], ebx
mov dword [esi + 0x50], 0x7ce808
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov edx, dword [0x809d38]
lea edi, [esi + 0x5c]
push ebx
push ebx
mov ecx, edi
mov dword [edi], edx
call fcn.005dcfa0
mov eax, dword [edi]
mov cl, byte [0x83ec0c]
lea edi, [esi + 0x60]
push ebx
mov byte [eax], cl
mov edx, dword [0x809d38]
push ebx
mov ecx, edi
mov dword [edi], edx
call fcn.005dcfa0
mov eax, dword [edi]
mov cl, byte [0x83ec0c]
lea edi, [esi + 0x64]
push ebx
mov byte [eax], cl
mov edx, dword [0x809d38]
push ebx
mov ecx, edi
mov dword [edi], edx
call fcn.005dcfa0
mov eax, dword [edi]
mov cl, byte [0x83ec0c]
mov ebp, 1
mov byte [eax], cl
mov dword [esi], 0x7ce7d0
jmp 0x439bfe
xor esi, esi
push esi
call fcn.00436d00
push 8
call fcn.00672b70
add esp, 8
cmp eax, ebx
je 0x439c1d
mov dword [eax + 4], ebp
mov dword [eax], 0x7ce798
jmp 0x439c1f
xor eax, eax
push eax
call fcn.00436d00
push str.Overlay3D
call fcn.004372b0
mov edx, dword [eax]
add esp, 8
mov ecx, eax
call dword [edx + 4]
push str.Overlay
call fcn.004372b0
mov edx, dword [eax]
add esp, 4
mov ecx, eax
call dword [edx + 4]
push str.Console
call fcn.004372b0
mov edx, dword [eax]
add esp, 4
mov ecx, eax
call dword [edx + 4]
push 0x7f5060
call fcn.004372b0
mov edx, dword [eax]
add esp, 4
mov ecx, eax
call dword [edx + 4]
push str.TextDisplay
call fcn.004372b0
mov edx, dword [eax]
add esp, 4
mov ecx, eax
call dword [edx + 4]
push 0x70
push ebx
mov dword [0x856090], 0x81ed0c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
cmp eax, ebx
je 0x439cb6
push eax
mov eax, dword [0x83dbb8]
push eax
call fcn.005db420
add esp, 8
call fcn.006c5f30
call fcn.00460010
call fcn.0046e1c0
cmp byte [esp + 0x14], bl
je 0x439cef
push ebx
push str.GameInitInProgress
lea ecx, [esp + 0x18]
call fcn.005dbdb0
mov ecx, dword [0x856088]
push ecx
push str.ApplicationCrashVersion
lea ecx, [esp + 0x18]
call fcn.005dbdb0
cmp byte [0x81f5ec], bl
je 0x439d2a
push ebx
call fcn.00451b60
add esp, 4
test al, al
jne 0x439d2a
push ebx
mov ecx, 0x81dff8
call fcn.00434a60
call fcn.0043bf70
lea ecx, [esp + 0x10]
call fcn.005dbd30
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xd70
ret
mov ecx, 0x81dff8
call fcn.00434c80
test al, al
je 0x439d44
mov ecx, 0x81dff8
call fcn.00433b70
jmp 0x439d82
call fcn.004e42e0
test al, al
je 0x439d61
cmp byte [0x81e33c], bl
jne 0x439d82
push 0xb
call fcn.004b10e0
add esp, 4
jmp 0x439d82
push str.Movie
call fcn.004372b0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x439d82
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, esi
call fcn.0042a0c0
mov ecx, 0x82fd40
call fcn.004e3150
lea ecx, [esp + 0x10]
call fcn.005dbd30
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xd70
ret