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

Disassembly:
mov eax, dword [0x821094]
sub esp, 0x258
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x4983a1
lea eax, [esp + 0x164]
push 0x104
push eax
push str.D:DevProjectsJMain1SourceVPlayer.cpp
mov dword [0x8210d4], 1
call fcn.004e6240
lea ecx, [esp + 0x164]
push 0x63e
push ecx
push str.Program_runs_to__s__d.
push esi
call fcn.004331c0
add esp, 0x10
mov edx, dword [esi + 0x9c]
mov ecx, dword [esp + 0x26c]
mov edi, dword [0x4f0138]
inc ecx
mov eax, dword [edx + 0x5f47]
lea edx, [esp + 0x64]
push ecx
push edx
mov dword [esp + 0x1c], eax
call edi
lea eax, [esp + 0x64]
push 0x4feeb4
push eax
call dword [0x4f021c]
add esp, 8
test eax, eax
je 0x4983f0
mov byte [eax], 0
inc eax
push eax
call dword [0x4f0200]
add esp, 4
mov ebp, eax
jmp 0x4983f2
xor ebp, ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], ebp
push ecx
call dword [0x4f01d0]
lea edx, [esp + 0x68]
push edx
call fcn.004556e0
mov ebx, eax
add esp, 8
cmp ebx, 0x72ba3c1
mov dword [esp + 0x18], ebx
jne 0x498439
push 1
push 0x186a0
mov ecx, esi
call fcn.00498c30
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x258
ret 4
cmp ebx, 0x5e32d01
je 0x498890
cmp ebx, 0x6f14615
je 0x4988ba
cmp ebx, 0x1ccfa0b
je 0x4987fa
cmp ebx, 0x255da64
je 0x4987fa
mov eax, dword [esi + 0x9c]
cmp ebx, 0x1f82faa
jne 0x4984b8
mov edi, dword [eax + 0x5fb3]
test edi, edi
je 0x49842a
mov ecx, edi
call fcn.004be110
push eax
mov ecx, esi
call fcn.00498cb0
cmp eax, 0xffffffff
jne 0x49849c
mov byte [edi + 0x188f], 1
mov ecx, edi
call fcn.004be220
mov edi, eax
test edi, edi
jne 0x498481
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x258
ret 4
mov ecx, dword [eax + 0x5f33]
test ecx, ecx
jne 0x49851b
cmp ebx, 0x1456b54
jne 0x49851b
push ebp
lea ecx, [esp + 0x68]
push str.gotostage_d
push ecx
call dword [0x4f01fc]
mov eax, dword [esi + 0x24da]
add esp, 0xc
cmp eax, 0x20
jge 0x49842a
shl eax, 8
lea edx, [esp + 0x64]
lea eax, [eax + esi + 0x24de]
push edx
push eax
call edi
mov eax, dword [esi + 0x24da]
pop edi
inc eax
mov dword [esi + 0x24da], eax
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x258
ret 4
cmp ebx, 0x20d44aa
jne 0x498542
mov al, byte [0x9433cc]
pop edi
test al, al
sete cl
pop esi
pop ebp
mov byte [0x9433cc], cl
mov al, 1
pop ebx
add esp, 0x258
ret 4
cmp ebx, 0x264cb3
jne 0x49855f
push 1
mov ecx, esi
call fcn.00498bd0
add eax, ebp
js 0x4985d3
push 1
push ebp
jmp 0x498423
cmp ebx, 0x186367
je 0x4986bb
cmp ebx, 0x237c28
je 0x4986e5
cmp ebx, 0x166c83
je 0x498633
cmp ebx, 0x881378
je 0x498633
cmp ebx, 0xb6e4b9
jne 0x4985d3
mov esi, dword [eax + 0x5fb3]
test esi, esi
je 0x49842a
mov ecx, esi
call fcn.004be110
cmp eax, ebp
jne 0x4985b7
mov byte [esi + 0x188f], 1
mov ecx, esi
call fcn.004be220
mov esi, eax
test esi, esi
jne 0x4985a5
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x258
ret 4
mov edx, dword [esi + 0x9c]
mov eax, dword [edx + 0x5f33]
test eax, eax
jne 0x49842a
cmp ebx, 0x3035b0
jne 0x49842a
mov eax, dword [esi + 0x24da]
cmp eax, 0x20
jge 0x49842a
mov ecx, dword [esp + 0x26c]
shl eax, 8
push ecx
lea edx, [eax + esi + 0x24de]
push edx
call edi
mov eax, dword [esi + 0x24da]
pop edi
inc eax
mov dword [esi + 0x24da], eax
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x258
ret 4
mov eax, dword [esi + 0x68]
xor ebp, ebp
test eax, eax
jle 0x49842a
lea ebx, [esi + 0xa0]
test ebp, ebp
jl 0x498656
cmp ebp, 0x200
jge 0x498656
mov edi, dword [ebx]
jmp 0x498658
xor edi, edi
mov al, byte [esi + ebp + 0x8a0]
test al, al
jne 0x4986a1
mov al, byte [edi + 0x188e]
test al, al
jne 0x4986a1
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x4c]
cmp dword [esp + 0x18], 0x166c83
jne 0x49868d
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
jmp 0x498695
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov edx, dword [edi]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call dword [edx + 0x50]
mov eax, dword [esi + 0x68]
inc ebp
add ebx, 4
cmp ebp, eax
jl 0x498646
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x258
ret 4
mov eax, dword [esi + 0x24da]
mov byte [esp + 0x10], 1
cmp eax, 0x20
jge 0x498701
shl eax, 8
push str._EnableURadar1
lea ecx, [eax + esi + 0x24de]
push ecx
call edi
inc dword [esi + 0x24da]
jmp 0x498701
mov edx, dword [eax + 0x5e2c]
mov ecx, dword [esi + 0x60]
cmp edx, ecx
mov byte [esp + 0x10], 0
jne 0x498701
mov dword [eax + 0x50e3], 0
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x498775
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
xor edi, edi
test ecx, ecx
jle 0x49876b
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x9c]
push ebx
push eax
push edi
push ebp
call fcn.004d2000
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x60]
mov edx, dword [ecx + 0x5e2c]
cmp edx, eax
jne 0x498761
mov al, byte [esp + 0x10]
test al, al
je 0x49874f
push 0xff
jmp 0x498751
push 0
push edi
push ebp
call fcn.004d2140
mov al, byte [esp + 0x10]
mov byte [0x941ee4], al
mov ecx, dword [esp + 0x14]
inc edi
cmp edi, dword [ecx + 0x78]
jl 0x49871b
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, dword [eax + 0x74]
jl 0x498712
mov al, byte [esp + 0x10]
test al, al
jne 0x49842a
mov edx, dword [esi + 0x9c]
mov edi, dword [edx + 0x5fb3]
test edi, edi
je 0x49842a
mov ecx, edi
call fcn.004be110
cmp eax, dword [esi + 0x60]
jne 0x4987de
lea eax, [edi + 0xf9]
mov ebx, dword [edi]
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 8]
push ecx
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004afa10
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
mov edx, dword [eax]
push edx
call dword [ebx + 0xa0]
test al, al
je 0x4989d3
mov ecx, edi
call fcn.004be220
mov edi, eax
test edi, edi
jne 0x498795
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x258
ret 4
mov eax, dword [esi + 0x68]
xor ebp, ebp
test eax, eax
jle 0x49842a
lea eax, [esi + 0xa0]
mov dword [esp + 0x10], eax
test ebp, ebp
jl 0x498825
cmp ebp, 0x200
jge 0x498825
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
jmp 0x498827
xor edi, edi
mov al, byte [esi + ebp + 0x8a0]
test al, al
jne 0x49886e
mov al, byte [edi + 0x188e]
test al, al
jne 0x49886e
mov edx, dword [edi]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call dword [edx + 0x4c]
cmp ebx, 0x1ccfa0b
jne 0x49885a
mov dword [esp + 0x34], 0xf4240
jmp 0x498862
mov dword [esp + 0x3c], 0xf4240
mov edx, dword [edi]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call dword [edx + 0x50]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x68]
inc ebp
add ecx, 4
cmp ebp, eax
mov dword [esp + 0x10], ecx
jl 0x498811
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x258
ret 4
mov eax, dword [esi + 0x24da]
mov byte [esp + 0x10], 1
cmp eax, 0x20
jge 0x4988dc
shl eax, 8
push str._EnableURadar1
lea ecx, [eax + esi + 0x24de]
push ecx
call edi
inc dword [esi + 0x24da]
jmp 0x4988dc
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x60]
mov byte [esp + 0x10], 0
mov edx, dword [eax + 0x5e2c]
cmp edx, ecx
jne 0x4988dc
mov dword [eax + 0x50e3], 0
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x498950
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
xor edi, edi
test ecx, ecx
jle 0x498946
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x9c]
push ebx
push eax
push edi
push ebp
call fcn.004d2000
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x60]
mov edx, dword [ecx + 0x5e2c]
cmp edx, eax
jne 0x49893c
mov al, byte [esp + 0x10]
test al, al
je 0x49892a
push 0xff
jmp 0x49892c
push 0
push edi
push ebp
call fcn.004d2140
mov al, byte [esp + 0x10]
mov byte [0x941ee4], al
mov ecx, dword [esp + 0x14]
inc edi
cmp edi, dword [ecx + 0x78]
jl 0x4988f6
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, dword [eax + 0x74]
jl 0x4988ed
mov al, byte [esp + 0x10]
test al, al
jne 0x49842a
mov edx, dword [esi + 0x9c]
mov edi, dword [edx + 0x5fb3]
test edi, edi
je 0x49842a
mov ebx, dword [esp + 0x14]
mov ecx, edi
call fcn.004be110
cmp eax, dword [esi + 0x60]
jne 0x4989b7
lea eax, [edi + 0xf9]
mov ebp, dword [edi]
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 8]
push ecx
push eax
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.004afa10
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
mov edx, dword [eax]
push edx
call dword [ebp + 0xa0]
test al, al
je 0x4989d3
mov ecx, edi
call fcn.004be220
mov edi, eax
test edi, edi
jne 0x498974
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x258
ret 4
push str.DealCheatCode__:_Error_occurs.
push esi
mov dword [0x8210d4], 1
call fcn.004331c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
invalid