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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x4c0100]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x38], esi
xor ebx, ebx
mov dword [esp + 0xac], 0xf
xorps xmm0, xmm0
mov dword [esp + 0x88], ebx
movlpd qword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x74]
lea edx, [esi + 0x20]
mov eax, dword [esp + 0x70]
mov dword [esi + 4], ecx
lea edi, [esi + 8]
movlpd qword [esp + 0x78], xmm0
mov ecx, dword [esp + 0x7c]
mov dword [edi + 4], ecx
movlpd qword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x14], ecx
movlpd qword [esp + 0x90], xmm0
mov ecx, dword [esp + 0x94]
mov dword [esi], eax
mov eax, dword [esp + 0x78]
mov dword [edx + 4], ecx
lea ecx, [esp + 0x98]
mov dword [edi], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x90]
push ecx
movups xmmword [esp + 0x9c], xmm0
lea ecx, [esi + 0x28]
movups xmmword [esp + 0xb4], xmm0
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], 0xf
mov byte [esp + 0xb4], bl
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
movlpd qword [esp + 0xdc], xmm0
movlpd qword [esp + 0xe4], xmm0
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
mov word [esp + 0x11c], bx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esi + 0x18], ebx
mov dword [esp + 0x28], edx
mov dword [edx], eax
call fcn.00403910
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esi + 0x40]
call fcn.00403910
mov eax, dword [esp + 0xc8]
lea ecx, [esi + 0x60]
mov dword [esi + 0x58], eax
lea edx, [esi + 0x68]
mov eax, dword [esp + 0xcc]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0xd0]
mov dword [ecx], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x44], edx
mov dword [edx], eax
lea ebx, [esi + 0xac]
mov eax, dword [esp + 0xe0]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0xe8]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0xec]
mov dword [edx + 4], ecx
lea edx, [esi + 0x70]
mov ecx, dword [esp + 0xe4]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0xf0]
mov dword [edx + 4], ecx
lea ecx, [esi + 0x78]
mov dword [esp + 0x4c], ecx
lea ecx, [esi + 0x7c]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0xf4]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0xf8]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0xfc]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x100]
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x104]
mov dword [esi + 0x94], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x50], ecx
lea ecx, [esi + 0x94]
mov dword [esi + 0x98], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x54], ecx
lea ecx, [esi + 0x98]
mov dword [esi + 0x9c], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x58], ecx
lea ecx, [esi + 0x9c]
mov dword [esp + 0x5c], ecx
lea ecx, [esi + 0xa0]
mov dword [ecx], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x60], ecx
lea ecx, [esi + 0xa4]
mov dword [ecx], eax
movzx eax, byte [esp + 0x118]
mov byte [esi + 0xa8], al
movzx eax, byte [esp + 0x119]
mov byte [esi + 0xa9], al
lea eax, [esp + 0x11c]
mov dword [esp + 0x64], ecx
mov ecx, ebx
push eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], ebx
call fcn.00409480
lea ecx, [esp + 0x70]
call fcn.004066e0
lea eax, [esp + 0x14]
mov edx, str.SoftwareEasyAntiCheat_EOS
push eax
sub esp, 8
call fcn.00411db0
test eax, eax
jne 0x4066c3
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 4
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x28]
mov edx, str.ErrRpt_ServiceState
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00411f80
test eax, eax
jne 0x40614d
cmp dword [esp + 0x20], 4
jne 0x40614d
cmp dword [esp + 0x18], 4
jne 0x40614d
mov byte [esi + 0xa8], 1
jmp 0x406155
mov dword [esp + 0x34], 0
lea eax, [esp + 0x68]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x6c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x6c]
mov edx, str.ErrRpt_LastInitTime
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xb
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], 8
call fcn.00411f80
test eax, eax
jne 0x406242
cmp dword [esp + 0x18], 0xb
jne 0x406242
cmp dword [esp + 0x10], 8
jne 0x406242
mov ebx, dword [esp + 0x28]
mov edx, 0x3886594b
sub ebx, dword [edi]
mov ecx, dword [esp + 0x20]
mov eax, ebx
sbb ecx, dword [edi + 4]
mov edi, 0x346dc5d6
mul edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
mov esi, edx
mov eax, ebx
mul edi
mov edi, eax
mov dword [esp + 0x28], edx
mov eax, ecx
mov ecx, 0x3886594b
mul ecx
mov ebx, edx
mov ecx, eax
mov eax, dword [esp + 0x20]
mov edx, 0x346dc5d6
mul edx
add ecx, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x28]
adc ecx, 0
mov dword [esp + 0x18], edi
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0x10]
adc eax, eax
add ecx, ebx
mov ebx, dword [esp + 0x3c]
adc edx, eax
shrd ecx, edx, 0xb
shr edx, 0xb
mov dword [esi], ecx
mov dword [esi + 4], edx
jmp 0x40624f
mov dword [edi], 0
mov dword [edi + 4], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0xb
push eax
lea edi, [esi + 0x10]
mov dword [esp + 0x1c], 8
push edi
lea eax, [esp + 0x18]
mov edx, str.ErrRpt_LastInitInfo1
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00411f80
test eax, eax
jne 0x40628e
cmp dword [esp + 0x10], 0xb
jne 0x40628e
cmp dword [esp + 0x18], 8
je 0x40629b
mov dword [edi], 0
mov dword [edi + 4], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 4
push eax
lea edi, [esi + 0x18]
mov dword [esp + 0x1c], 4
push edi
lea eax, [esp + 0x18]
mov edx, str.ErrRpt_LastInitInfo2
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00411f80
test eax, eax
jne 0x4062da
cmp dword [esp + 0x10], 4
jne 0x4062da
cmp dword [esp + 0x18], 4
je 0x4062e0
mov dword [edi], 0
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x28]
push eax
mov edx, str.ErrRpt_LastInitProductId
call fcn.00405bf0
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x40]
add esp, 4
mov edx, str.ErrRpt_LastProductId
push eax
call fcn.00405bf0
add esp, 4
mov dword [esp + 0x10], 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
lea edi, [esi + 0x58]
mov edx, str.ErrRpt_GameState
push eax
push edi
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00411f80
test eax, eax
jne 0x406349
cmp dword [esp + 0x10], 4
jne 0x406349
cmp dword [esp + 0x18], 4
je 0x40634f
mov dword [edi], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 4
push eax
lea edi, [esi + 0x5c]
mov dword [esp + 0x1c], 4
push edi
lea eax, [esp + 0x18]
mov edx, str.ErrRpt_GameCrashProductId
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00411f80
test eax, eax
jne 0x4066b4
cmp dword [esp + 0x10], 4
jne 0x4066b4
cmp dword [esp + 0x18], 4
jne 0x4066b4
lea eax, [esp + 0x18]
mov byte [esi + 0xa9], 1
mov esi, dword [esp + 0x40]
mov edx, str.ErrRpt_GameCrashPID
push eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], 4
call fcn.00411f80
test eax, eax
jne 0x4063e1
cmp dword [esp + 0x10], 4
jne 0x4063e1
cmp dword [esp + 0x18], 4
je 0x4063e7
mov dword [esi], 0
push dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov edx, str.ErrRpt_GameCrashCreateTime
call fcn.00409770
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, str.ErrRpt_GameCrashExitTime
push dword [esp + 0x48]
call fcn.00409770
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x1c]
add esp, 4
mov dword [esp + 0x10], 4
mov edx, str.ErrRpt_GameCrashExitStatus
mov dword [esp + 0x18], 4
push eax
push esi
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00411f80
test eax, eax
jne 0x406451
cmp dword [esp + 0x10], 4
jne 0x406451
cmp dword [esp + 0x18], 4
je 0x406457
mov dword [esi], 0
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov edx, str.ErrRpt_GameCrashInfo01
mov dword [esp + 0x28], 4
call fcn.00411f80
test eax, eax
jne 0x406497
cmp dword [esp + 0x10], 4
jne 0x406497
cmp dword [esp + 0x18], 4
je 0x40649d
mov dword [esi], 0
mov esi, dword [esp + 0x54]
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov edx, str.ErrRpt_GameCrashInfo07
mov dword [esp + 0x28], 4
call fcn.00411f80
test eax, eax
jne 0x4064dd
cmp dword [esp + 0x10], 4
jne 0x4064dd
cmp dword [esp + 0x18], 4
je 0x4064e3
mov dword [esi], 0
mov esi, dword [esp + 0x58]
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov edx, str.ErrRpt_GameCrashInfo08
mov dword [esp + 0x28], 4
call fcn.00411f80
test eax, eax
jne 0x406523
cmp dword [esp + 0x10], 4
jne 0x406523
cmp dword [esp + 0x18], 4
je 0x406529
mov dword [esi], 0
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov edx, str.ErrRpt_GameCrashInfo09
mov dword [esp + 0x28], 4
call fcn.00411f80
test eax, eax
jne 0x406569
cmp dword [esp + 0x10], 4
jne 0x406569
cmp dword [esp + 0x18], 4
je 0x40656f
mov dword [esi], 0
mov esi, dword [esp + 0x60]
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov edx, str.ErrRpt_GameCrashInfo10
mov dword [esp + 0x28], 4
call fcn.00411f80
test eax, eax
jne 0x4065af
cmp dword [esp + 0x10], 4
jne 0x4065af
cmp dword [esp + 0x18], 4
je 0x4065b5
mov dword [esi], 0
mov esi, dword [esp + 0x64]
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 4
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov edx, str.ErrRpt_GameCrashInfo11
mov dword [esp + 0x28], 4
call fcn.00411f80
test eax, eax
jne 0x4065f5
cmp dword [esp + 0x10], 4
jne 0x4065f5
cmp dword [esp + 0x18], 4
je 0x4065fb
mov dword [esi], 0
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, str.ErrRpt_GameCrashInfo12
call fcn.00409770
mov eax, dword [ebx]
add esp, 4
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], 0
cmp eax, dword [ebx + 4]
je 0x406626
mov dword [ebx + 4], eax
lea eax, [esp + 0x20]
mov edx, str.ErrRpt_GameCrashInfo13
push eax
push 0
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00411f80
test eax, eax
jne 0x4066ba
cmp dword [esp + 0x10], 3
jne 0x4066ba
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00409420
lea eax, [esp + 0x20]
mov edx, str.ErrRpt_GameCrashInfo13
push eax
push dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00411f80
test eax, eax
je 0x40667e
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x4066ba
mov dword [ebx + 4], eax
jmp 0x4066ba
push dword [esp + 0x20]
mov ecx, ebx
call fcn.00409420
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x4066ba
mov ecx, dword [ebx]
cmp ecx, eax
jne 0x4066a0
mov ecx, ebx
call fcn.00403630
jmp 0x4066ba
sub eax, ecx
mov ecx, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call fcn.004042e0
jmp 0x4066ba
mov dword [edi], 0
mov ecx, dword [esp + 0x14]
call fcn.00411ea0
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004728e8
mov esp, ebp
pop ebp
ret