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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xec
cmp byte [edx + 0x24], 0
mov edi, edx
mov esi, ecx
jne 0x496117
lea edx, [edi + 8]
lea ecx, [esp + 4]
push 4
push str.Pos2Loading_app_state_from_
call fcn.00690910
add esp, 8
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x496484
lea ebx, [edi + 8]
lea ecx, [esp + 4]
mov edx, ebx
call fcn.0068dc50
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x4967cb
cmp byte [edi + 0x24], 0
mov byte [esp + 3], 1
je 0x4964bf
mov byte [edi + 0x24], 0
cmp dword [edi], 0
je 0x496159
mov eax, dword [edi + 4]
test eax, eax
je 0x4964ee
dec eax
mov dword [edi + 4], eax
mov dword [esp + 0x4c], ebx
mov ebx, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x64], edi
mov word [esp + 0x30], 0x129
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea edx, [ebx + 8]
lea ecx, [esp + 4]
call fcn.0068dc50
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x496512
cmp dword [ebx + 0xc], 0
je 0x496554
mov eax, dword [ebx + 8]
test eax, eax
je 0x496554
movzx ebx, byte [eax]
mov bh, byte [esp + 0x31]
lea ecx, [esp + 4]
mov dword [esp + 4], 3
call fcn.00575e70
movzx eax, byte [esp + 0x30]
test bh, bh
je 0x496581
cmp bl, al
setne cl
je 0x4965ce
mov ebx, dword [esp + 0x2c]
cmp al, 0x29
mov byte [esp + 0x2b], cl
mov eax, dword [ebx]
jne 0x4962d0
test eax, eax
je 0x496205
mov eax, dword [ebx + 4]
test eax, eax
je 0x496609
dec eax
mov dword [ebx + 4], eax
lea ecx, [esp + 4]
mov edx, ebx
call fcn.00496850
mov eax, dword [esp + 4]
movzx edx, byte [esp + 8]
cmp eax, 0x2c
je 0x496279
movzx ecx, byte [esp + 0xb]
movzx esi, word [esp + 9]
movss xmm0, dword [esp + 0xc]
shl ecx, 0x10
movss dword [esp + 0x8c], xmm0
or esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x1c]
movsd xmm0, qword [ecx]
mov ecx, dword [ecx + 8]
movsd qword [esp + 0x90], xmm0
mov dword [esp + 0x98], ecx
cmp dword [ebx], 0
je 0x496296
mov ecx, dword [ebx + 4]
mov byte [esp + 2], dl
mov edx, 0xffffffff
inc ecx
cmove ecx, edx
movzx edx, byte [esp + 2]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x98]
movq xmm0, qword [esp + 0x90]
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x84]
movss xmm2, dword [esp + 0x8c]
mov ebx, dword [esp + 0x80]
jmp 0x496397
test eax, eax
je 0x4962e3
mov eax, dword [ebx + 4]
test eax, eax
je 0x496609
dec eax
mov dword [ebx + 4], eax
lea ecx, [esp + 4]
mov edx, ebx
call fcn.00496850
mov eax, dword [esp + 4]
movzx edx, byte [esp + 8]
cmp eax, 0x2c
je 0x496351
movzx ecx, byte [esp + 0xb]
movzx esi, word [esp + 9]
movss xmm0, dword [esp + 0xc]
shl ecx, 0x10
movss dword [esp + 0x88], xmm0
or esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x1c]
movsd xmm0, qword [ecx]
mov ecx, dword [ecx + 8]
movsd qword [esp + 0x90], xmm0
mov dword [esp + 0x98], ecx
cmp dword [ebx], 0
je 0x49636e
mov ecx, dword [ebx + 4]
mov byte [esp + 2], dl
mov edx, 0xffffffff
inc ecx
cmove ecx, edx
movzx edx, byte [esp + 2]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x98]
movq xmm0, qword [esp + 0x90]
mov esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
movss xmm2, dword [esp + 0x88]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x60], ecx
movq qword [esp + 0x58], xmm0
cmp eax, 0x2c
jne 0x4965a9
test dl, dl
movss dword [esp + 0x54], xmm2
mov byte [esp + 2], dl
mov dword [esp + 0x50], ebx
je 0x4963f0
movzx eax, dl
cmp eax, 1
je 0x496440
cmp eax, 3
je 0x4965ce
lea ecx, [esp + 4]
lea edx, [esp + 0x2c]
call fcn.00482a40
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x496651
mov ebx, dword [esp + 0x2c]
jmp 0x496182
cmp dword [esp + 0x3c], 1
je 0x49667f
lea ecx, [esp + 4]
lea edx, [esp + 0x2c]
call fcn.00490890
mov eax, dword [esp + 4]
movss xmm1, dword [esp + 8]
cmp eax, 0x2c
jne 0x49661f
mov ebx, dword [esp + 0x2c]
movups xmmword [esp + 0xb4], xmm1
mov dword [esp + 0x3c], 1
jmp 0x496182
cmp dword [esp + 0x38], 1
je 0x496686
lea ecx, [esp + 4]
lea edx, [esp + 0x2c]
call fcn.00490890
mov eax, dword [esp + 4]
movss xmm1, dword [esp + 8]
cmp eax, 0x2c
jne 0x49661f
mov ebx, dword [esp + 0x2c]
movups xmmword [esp + 0xdc], xmm1
mov dword [esp + 0x38], 1
jmp 0x496182
movq xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x19]
movsd xmm2, qword [esp + 0x11]
movzx ecx, byte [esp + 8]
movq qword [esi + 0x1c], xmm0
movsd qword [esi + 0x15], xmm1
movsd xmm1, qword [esp + 9]
movsd qword [esi + 0xd], xmm2
movsd qword [esi + 5], xmm1
mov dword [esi], eax
mov byte [esi + 4], cl
jmp 0x4967f9
mov ecx, ebx
mov edx, 0x8c735d
push 1
call fcn.0068e530
add esp, 4
test al, al
je 0x4964f9
movzx eax, byte [edi + 0x24]
mov byte [esp + 3], al
mov byte [edi + 0x24], 0
cmp dword [edi], 0
jne 0x49614a
jmp 0x496159
mov dword [esi], 0x2b
jmp 0x4967f9
mov dword [esi], 0x15
mov dword [esi + 4], str.Pos2Loading_app_state_from_
mov dword [esi + 8], 4
jmp 0x4967f9
movzx ecx, byte [esp + 0xb]
movzx ebx, word [esp + 9]
movsd xmm0, qword [esp + 0x1c]
movzx edx, byte [esp + 8]
movss xmm2, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
shl ecx, 0x10
movsd qword [esp + 0x90], xmm0
or ebx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x98], ecx
jmp 0x49658f
movzx eax, byte [esp + 0xb]
movzx ebx, word [esp + 9]
movzx edx, byte [esp + 8]
movss xmm2, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
shl eax, 0x10
or ebx, eax
mov eax, 3
jmp 0x49658f
cmp bl, al
je 0x4965ce
movzx edx, byte [esp + 0x2b]
mov eax, 9
mov ecx, dword [esp + 0x98]
movq xmm0, qword [esp + 0x90]
mov dword [esp + 0x60], ecx
movq qword [esp + 0x58], xmm0
mov ecx, dword [esp + 0x60]
movsd xmm0, qword [esp + 0x58]
shl ebx, 8
movzx edx, dl
or edx, ebx
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x48], ecx
movd xmm0, edx
jmp 0x496699
cmp dword [esp + 0x3c], 0
movups xmm2, xmmword [esp + 0xb4]
mov eax, 0x27
pxor xmm0, xmm0
mov esi, 1
je 0x4965ff
cmp dword [esp + 0x38], 0
mov edi, dword [esp + 0x4c]
je 0x49664a
mov esi, dword [esp + 0x34]
jmp 0x496754
mov ebp, 0x8f6f40
jmp 0x496699
movss xmm2, dword [esp + 0x54]
movzx edx, byte [esp + 2]
mov ebx, dword [esp + 0x50]
mov eax, 0x2b
jmp 0x4965a9
movsd xmm0, qword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
movss xmm2, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x48], ecx
movaps xmm0, xmm1
jmp 0x496699
mov ebp, 0x8f6f54
jmp 0x496699
movsd xmm1, qword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
movss xmm0, dword [esp + 8]
movss xmm2, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movsd qword [esp + 0x40], xmm1
mov dword [esp + 0x48], ecx
jmp 0x496699
mov ebp, 0x8f6f40
jmp 0x49668b
mov ebp, 0x8f6f54
pxor xmm0, xmm0
mov eax, 0x28
mov esi, 1
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], eax
movd dword [esp + 8], xmm0
movss dword [esp + 0xc], xmm2
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
movsd xmm0, qword [esp + 0x40]
mov ebx, str.Pos2Loading_app_state_from_
lea edx, [esp + 4]
mov dword [esp + 0x24], ecx
xor ecx, ecx
cmp byte [esp + 3], 0
movsd qword [esp + 0x1c], xmm0
cmovne ebx, ecx
lea ecx, [esp + 0x90]
push 4
push ebx
call fcn.006934f0
add esp, 8
mov eax, dword [esp + 0x90]
movsd xmm0, qword [esp + 0x9c]
movsd xmm3, qword [esp + 0xa4]
movsd xmm1, qword [esp + 0xac]
movsd xmm2, qword [esp + 0x94]
cmp eax, 0x2c
movsd qword [esp + 0xc4], xmm0
movsd qword [esp + 0xcc], xmm3
movsd qword [esp + 0xd4], xmm1
jne 0x496804
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0x55
movups xmmword [esp + 0xdc], xmm0
mov edx, dword [esp + 0x64]
movups xmmword [esp + 0xb4], xmm2
cmp dword [edx], 0
je 0x496774
mov eax, dword [edx + 4]
mov ecx, 0xffffffff
inc eax
cmovne ecx, eax
mov dword [edx + 4], ecx
lea ecx, [esp + 4]
mov edx, edi
call fcn.0068dc50
mov eax, dword [esp + 4]
cmp eax, 0x2c
jne 0x4967cb
cmp byte [esp + 3], 0
jne 0x4967a8
mov ecx, edi
mov edx, 0x8cdbc6
push 1
call fcn.0068e530
add esp, 4
test al, al
je 0x49683a
movups xmm0, xmmword [esp + 0xb4]
movss dword [esi + 4], xmm0
movdqu xmm0, xmmword [esp + 0xdc]
movd dword [esi + 8], xmm0
mov dword [esi], 0x2c
jmp 0x4967f9
movq xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x18]
movsd xmm2, qword [esp + 8]
movq qword [esi + 0x1c], xmm0
movsd qword [esi + 0x14], xmm1
movsd xmm1, qword [esp + 0x10]
movsd qword [esi + 0xc], xmm1
movsd qword [esi + 4], xmm2
mov dword [esi], eax
add esp, 0xec
pop esi
pop edi
pop ebx
pop ebp
ret
movq xmm0, qword [esp + 0xd4]
mov ecx, dword [esp + 0x34]
movsd xmm3, qword [esp + 0xc4]
movsd xmm1, qword [esp + 0xcc]
movq qword [ecx + 0x1c], xmm0
movsd qword [ecx + 0x14], xmm1
movsd qword [ecx + 0xc], xmm3
mov dword [ecx], eax
movlps qword [ecx + 4], xmm2
jmp 0x4967f9
mov dword [esi], 0x16
jmp 0x4967f9