Function at 0x48cbe0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x56c5e4]
mov ecx, dword [0x584c10]
mov edx, dword [0x584c14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
or edi, 0xffffffff
cmp ebx, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x7c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
je 0x48e60e
cmp dword [ebx + 0xc], esi
je 0x48e60e
push 1
call fcn.004b2f40
mov eax, dword [ebx + 0x38]
add esp, 4
cmp eax, 2
mov dword [esp + 0x4c], eax
je 0x48cc72
cmp eax, 4
je 0x48cc72
xor ecx, ecx
jmp 0x48cc77
mov ecx, 1
mov eax, dword [ebx]
mov dword [esp + 0x34], ecx
test al, 0x10
je 0x48ccaa
mov eax, dword [0x585058]
cmp ecx, esi
je 0x48cc9a
or al, 4
mov dword [0x585058], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or al, 8
mov dword [0x585058], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x585004], esi
je 0x48ccc7
test eax, 0xc0000000
jne 0x48e60e
test byte [ebx + 4], 1
jne 0x48e60e
cmp dword [0x584fc8], esi
jne 0x48cce4
call fcn.004b38d0
test eax, eax
je 0x48cce4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x571920]
cmp esi, 0x54
jne 0x48cd0e
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x48cd0e
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0x80], 1
test ecx, ecx
jl 0x48cd19
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48cd76
mov eax, dword [0x584fc8]
test eax, eax
je 0x48cd39
push ebx
call fcn.0048c530
mov esi, dword [0x571920]
add esp, 4
test byte [ebx], 0x40
je 0x48cd4e
push ebx
call fcn.004b25b0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x50
je 0x48cd58
cmp esi, 0x44
jne 0x48cd62
mov eax, dword [0x585008]
mov dword [0x584fa0], eax
cmp esi, 0x50
je 0x48cd76
fld dword [ebx + 0x4c]
fmul qword [0x550f68]
fstp qword [esp + 0x20]
jmp 0x48cd86
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x34]
xor eax, eax
xor ecx, ecx
cmp edx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], eax
je 0x48ce97
cmp esi, 0x54
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 0x3f800000
jne 0x48ce3f
mov ecx, dword [ebx + 0x3c]
cmp ecx, eax
mov dword [esp + 0x14], ecx
je 0x48ce97
cmp dword [ecx + 8], eax
je 0x48ce97
mov eax, dword [ebx + 0xa4]
mov edx, ecx
xor ecx, ecx
mov dword [esp + 0x2c], edx
test eax, eax
mov dword [esp + 0x14], ecx
je 0x48ce97
cmp dword [eax + 0xc0], 0xffffffff
jne 0x48ce97
mov eax, dword [edx]
mov dword [esp + 0x10], 1
test ah, 1
je 0x48ce1a
fld qword [0x550fa8]
jmp 0x48ce20
fld qword [0x550f30]
fstp dword [esp + 0x8c]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
jmp 0x48ce97
cmp esi, 0x52
jne 0x48ce4d
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x14], ecx
jmp 0x48ce97
cmp esi, 0x4d
je 0x48ce5c
cmp esi, 0x47
je 0x48ce5c
cmp esi, 0x43
jne 0x48ce63
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x2c], edx
cmp esi, 0x50
jne 0x48ce71
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x38], eax
jmp 0x48ce97
cmp esi, 0x44
jne 0x48ce7f
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x5c], edx
jmp 0x48ce97
cmp esi, 0x4c
jne 0x48ce97
call fcn.004b25b0
mov esi, dword [0x571920]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [0x583ae8]
mov edx, dword [eax]
test dh, 1
jne 0x48cf5a
mov eax, dword [0x584fe0]
test eax, eax
jne 0x48cf5a
mov edx, dword [0x5835a0]
mov eax, dword [0x583aec]
cmp edx, eax
jne 0x48cf5a
mov eax, dword [ebx + 0xa4]
test eax, eax
jne 0x48cf5a
mov eax, dword [0x584ce8]
test eax, eax
jne 0x48cf5a
test ecx, ecx
je 0x48cefb
mov eax, dword [esp + 0x14]
push eax
push ebx
call fcn.004b25c0
add esp, 8
test eax, eax
jne 0x48cf54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48cf1a
mov ecx, eax
push ecx
push ebx
call fcn.004b25c0
add esp, 8
test eax, eax
jne 0x48cf54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x48cf39
mov edx, eax
push edx
push ebx
call fcn.004b25c0
add esp, 8
test eax, eax
jne 0x48cf54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push ebx
call fcn.0048eb80
add esp, 0xc
test eax, eax
je 0x48e60e
mov esi, dword [0x571920]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
mov eax, ecx
mov ebx, ecx
shr eax, 9
shr ebx, 0xc
and eax, 7
and ebx, 0xf
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0xac]
dec ebx
test eax, eax
mov dword [esp + 0x64], ebx
je 0x48cfaf
cmp ebx, 0xffffffff
jne 0x48cf97
mov ebx, dword [eax + 0x30]
mov dword [esp + 0x74], 0
mov dword [esp + 0x64], ebx
mov edi, dword [eax + 0x2c]
mov eax, dword [0x56c658]
cmp edi, eax
jne 0x48cfaf
sub eax, 0xf
neg eax
sbb eax, eax
and eax, 0xf
mov edi, eax
mov edx, dword [0x584fa8]
test ecx, 0x400000
je 0x48cfd8
mov eax, dword [0x585028]
test eax, eax
je 0x48cfd8
test edx, edx
jne 0x48cfd8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ch, 2
je 0x48e60e
cmp ebx, 0xffffffff
jne 0x48cfe5
mov dword [esp + 0x64], 0
lea ecx, [esp + 0xe8]
mov eax, 0x5836c8
mov ebx, dword [eax]
add eax, 0x108
shr ebx, 0xa
and ebx, 1
mov dword [ecx], ebx
add ecx, 4
cmp eax, 0x583ae8
jl 0x48cff1
mov ecx, dword [0x584ce8]
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x48d02c
cmp dword [ebx + 0xa4], ecx
je 0x48d02c
mov eax, dword [0x5838d8]
or ah, 4
mov dword [0x5838d8], eax
mov eax, dword [0x580b98]
test eax, eax
je 0x48d075
mov eax, dword [ebx + 0xa4]
test eax, eax
jne 0x48d068
mov eax, dword [0x5839e0]
or ah, 4
mov dword [0x5839e0], eax
mov eax, dword [0x5837d0]
or ah, 4
mov dword [0x5837d0], eax
mov eax, dword [0x5836c8]
or ah, 4
mov dword [0x5836c8], eax
jmp 0x48d075
mov eax, dword [0x5838d8]
or ah, 4
mov dword [0x5838d8], eax
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x48d099
fld dword [ebx + 0x64]
sub esp, 8
fstp qword [esp]
call fcn.00457540
mov edx, dword [0x584fa8]
add esp, 8
jmp 0x48d11e
mov eax, dword [0x57acf8]
test eax, eax
jne 0x48d0c5
fld dword [ebx + 0x68]
sub esp, 8
fstp qword [esp]
call fcn.00457540
mov edx, dword [0x584fa8]
mov esi, dword [0x571920]
mov ecx, dword [0x584ce8]
add esp, 8
mov eax, dword [0x584fa4]
test eax, eax
je 0x48d11e
cmp esi, 0x50
jne 0x48d0dd
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x48d0f8
jmp 0x48d0e7
cmp esi, 0x54
je 0x48d0f8
cmp esi, 0x44
je 0x48d0f8
fld qword [esp + 0x20]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
jne 0x48d11e
test edx, edx
jne 0x48d11e
mov eax, dword [0x583ae8]
test byte [eax + 1], 1
jne 0x48d11e
cmp esi, 0x57
je 0x48d11e
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x1c], 1
cmp eax, ecx
je 0x48d126
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48d13f
mov eax, dword [0x584fe0]
mov dword [esp + 0x58], 1
test eax, eax
jne 0x48d147
mov dword [esp + 0x58], 0
mov eax, dword [ebx]
mov ecx, 0xffff
test eax, 0x20000
mov dword [esp + 0x54], ecx
je 0x48d166
test edx, edx
jne 0x48d166
mov ecx, 0x3333
mov dword [esp + 0x54], ecx
test eax, 0x20000000
je 0x48d17a
test edx, edx
jne 0x48d17a
mov ecx, 0xf0f
mov dword [esp + 0x54], ecx
test eax, 0x40000000
jne 0x48d18e
test byte [ebx + 4], 1
je 0x48d19b
test eax, 0x800000
je 0x48d19b
test edx, edx
jne 0x48d19b
mov ecx, 0xf0f
mov dword [esp + 0x54], ecx
push ecx
call fcn.004b2f00
mov eax, dword [0x584fa8]
add esp, 4
test eax, eax
je 0x48d1f8
mov eax, dword [0x56c658]
mov esi, dword [esp + 0x4c]
mov ecx, eax
cmp esi, 4
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], ecx
jne 0x48d1c9
mov dword [esp + 0x30], eax
mov ecx, dword [0x584fa0]
test ecx, ecx
je 0x48d4ce
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x48d4ce
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x48d4ce
mov dword [esp + 0x18], eax
jmp 0x48d4ce
mov eax, dword [ebx]
mov esi, dword [esp + 0x4c]
test ah, 2
je 0x48d231
test esi, esi
je 0x48d231
mov ecx, dword [esp + 0x38]
mov eax, dword [0x56c5f4]
test ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
je 0x48d4ce
mov dword [esp + 0x18], eax
jmp 0x48d4ce
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x48d2fc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48d272
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x25c]
test ecx, ecx
jne 0x48d272
mov ecx, eax
push ecx
call fcn.004b25c0
add esp, 4
test eax, eax
jne 0x48e596
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x48d2a0
xor edx, edx
mov dx, word [ebx + 0x88]
push edx
call fcn.004d1c40
add esp, 4
cmp esi, 4
mov dword [esp + 0x10], eax
jne 0x48d2be
mov eax, dword [0x56c5e4]
mov dword [esp + 0x30], eax
jmp 0x48d2be
mov edx, dword [esp + 0x14]
mov ecx, dword [0x56c658]
push edx
mov dword [esp + 0x14], ecx
call fcn.00438320
fstp qword [esp + 0xac]
add esp, 4
mov eax, dword [0x584fa0]
test eax, eax
je 0x48d4ce
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d2e1
mov eax, dword [0x56c638]
mov dword [esp + 0x18], eax
jmp 0x48d4ce
xor ecx, ecx
mov cx, word [ebx + 0x88]
push ecx
call fcn.004d1c40
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x48d4ce
lea ecx, [esi - 1]
cmp ecx, 0xf
ja case.0x48d310.5
xor edx, edx
mov dl, byte [ecx + 0x48e694]
jmp dword [edx*4 + 0x48e680]
mov ecx, dword [0x578d14]
test ecx, ecx
je 0x48d326
cmp dword [ecx + 0x2c], ebx
je 0x48d39e
cmp dword [0x580080], ebx
je 0x48d39e
mov ecx, dword [0x584fb0]
test ecx, ecx
je 0x48d347
test ah, 1
je 0x48d347
mov eax, dword [0x56c5fc]
jmp 0x48d4ca
test eax, 0x20000800
jne 0x48d38f
test eax, 0x10000000
je 0x48d364
mov ecx, dword [0x56c61c]
mov dword [esp + 0x10], ecx
jmp 0x48d4ce
test al, 0x40
je 0x48d377
mov edx, dword [0x56c62c]
mov dword [esp + 0x10], edx
jmp 0x48d4ce
cmp edi, 0xffffffff
je 0x48d385
mov dword [esp + 0x10], edi
jmp 0x48d4ce
mov eax, dword [0x56c5d8]
jmp 0x48d4ca
mov ecx, dword [0x56c618]
mov dword [esp + 0x10], ecx
jmp 0x48d4ce
mov edx, dword [0x56c610]
mov dword [esp + 0x10], edx
jmp 0x48d4ce
xor eax, eax
mov ax, word [ebx + 0x88]
push eax
call fcn.004d1c40
mov ecx, dword [0x584fa0]
add esp, 4
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x48d3d1
mov dword [esp + 0x18], eax
mov eax, dword [0x56c5e4]
cmp esi, 4
jne 0x48d3fa
mov ecx, dword [0x584fd8]
test ecx, ecx
jne 0x48d3fa
test dword [ebx], 0x800000
jne 0x48d3fa
cmp dword [0x571920], 0x4c
je 0x48d3fa
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], eax
mov eax, dword [0x585018]
test eax, eax
je 0x48d4ce
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x48d4ce
mov eax, dword [0x56c638]
mov dword [esp + 0x18], eax
jmp 0x48d4ca
mov ecx, dword [0x578d14]
test ecx, ecx
je 0x48d445
cmp dword [ecx + 0x2c], ebx
jne 0x48d445
mov ecx, dword [0x56c60c]
mov dword [esp + 0x10], ecx
jmp 0x48d4ce
test eax, 0x20000800
jne 0x48d38f
test eax, 0x10000000
je 0x48d463
mov edx, dword [0x56c61c]
mov dword [esp + 0x10], edx
jmp 0x48d4ce
test eax, 0x40000000
je 0x48d471
mov eax, dword [0x56c620]
jmp 0x48d4ca
test byte [ebx + 4], 1
je 0x48d494
test eax, 0x800000
je 0x48d488
mov dword [esp + 0x10], 4
jmp 0x48d4ce
mov ecx, dword [0x56c624]
mov dword [esp + 0x10], ecx
jmp 0x48d4ce
test eax, 0x80000000
je 0x48d4a7
mov edx, dword [0x56c628]
mov dword [esp + 0x10], edx
jmp 0x48d4ce
cmp edi, 0xffffffff
je 0x48d4b2
mov dword [esp + 0x10], edi
jmp 0x48d4ce
mov eax, dword [0x56c608]
jmp 0x48d4ca
mov edx, dword [0x56c638]
mov dword [esp + 0x10], edx
jmp 0x48d4ce
mov eax, dword [0x56c63c]
mov dword [esp + 0x10], eax
mov eax, dword [0x584fb8]
test eax, eax
jne 0x48d4e9
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x48d4e9
mov dword [esp + 0x4c], 0xffffffff
jmp 0x48d4f1
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
fld qword [esp + 0x20]
fcomp qword [0x550f20]
mov ecx, dword [0x585010]
fnstsw ax
test ah, 0x40
jne 0x48d539
mov eax, dword [ebx]
mov edx, eax
and edx, 3
cmp dl, 2
je 0x48d539
test ecx, ecx
jne 0x48d539
test eax, 0x20000
jne 0x48d539
mov eax, dword [ebx + 0x40]
test ah, 2
jne 0x48d539
and eax, 0x1f
cmp eax, 2
je 0x48d539
cmp eax, 5
je 0x48d539
cmp eax, 4
jne 0x48d541
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [0x571920]
cmp edx, 0x54
je 0x48d581
cmp edx, 0x50
je 0x48d570
cmp edx, 0x44
je 0x48d570
fld qword [esp + 0x20]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x40
je 0x48d581
or edi, 0xffffffff
mov dword [esp + 0x18], edi
jmp 0x48d584
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48d581
or edi, 0xffffffff
mov dword [esp + 0x18], edi
jmp 0x48d584
or edi, 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48d5ea
cmp dword [esp + 0x18], edi
je 0x48d5ea
mov eax, dword [0x584fa8]
test eax, eax
jne 0x48d5ea
mov eax, dword [0x584fec]
test eax, eax
jne 0x48d5ea
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48d5ea
mov eax, dword [0x584fd8]
test eax, eax
je 0x48d5ea
test ecx, ecx
jne 0x48d5ee
mov eax, dword [0x5835ac]
cmp eax, 3
jne 0x48d5d2
cmp edx, 0x54
jne 0x48d5fe
mov dword [esp + 0x78], 1
jmp 0x48d5fa
cmp eax, 2
jne 0x48d5e0
mov eax, dword [0x584fa4]
test eax, eax
jne 0x48d5fe
mov dword [esp + 0x78], 1
jmp 0x48d5fa
test ecx, ecx
je 0x48d5fe
mov eax, dword [0x583ae8]
mov ecx, dword [eax]
test ch, 1
je 0x48d5fe
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa0], 0
cmp eax, edi
mov dword [esp + 0xa4], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
je 0x48d679
mov eax, dword [ebx]
test ah, 0x20
je 0x48d679
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x48d679
not eax
shr eax, 0xe
and eax, 1
push eax
push ecx
call fcn.004d1c20
fld qword [esp + 0x28]
mov eax, dword [ebx]
add esp, 8
fadd st(0), st(0)
test ah, 0x80
fsubp st(1)
jne 0x48d664
fchs
test ah, 0x40
je 0x48d672
fstp qword [esp + 0x98]
jmp 0x48d679
fstp qword [esp + 0xa0]
mov ecx, dword [ebx]
mov edx, ecx
and edx, 0x800
je 0x48d6bc
test ecx, 0x20000000
jne 0x48d6bc
mov eax, dword [0x571920]
cmp eax, 0x4d
jne 0x48d6c1
mov eax, dword [0x584fd8]
test eax, eax
je 0x48d8af
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004b2890
push ebx
call fcn.004af440
add esp, 8
jmp 0x48e596
mov eax, dword [0x571920]
cmp eax, 0x54
jne 0x48d8c6
test cl, 0x40
jne 0x48d8af
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x48d6e9
cmp dword [eax + 0xc0], edi
jne 0x48d8af
mov eax, dword [0x584ce8]
test eax, eax
mov eax, dword [0x5835a0]
je 0x48d700
cmp eax, 3
je 0x48d8af
and ecx, 0x1000
je 0x48d744
cmp eax, 2
jne 0x48d744
mov eax, dword [esp + 0x10]
mov ecx, dword [0x56c5d8]
cmp eax, ecx
jne 0x48d720
mov eax, 2
push eax
call fcn.004b2890
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x28]
push edx
mov edx, dword [ebx + 0x24]
push eax
push ecx
push edx
push ebx
call fcn.00438390
add esp, 0x18
jmp 0x48e596
test ecx, ecx
je 0x48d896
cmp eax, 1
je 0x48d75a
cmp eax, 3
jne 0x48d896
mov esi, dword [esp + 0x10]
mov eax, dword [0x56c5d8]
cmp esi, eax
mov eax, 2
je 0x48d76e
mov eax, esi
push eax
call fcn.004b2890
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x28]
push eax
mov eax, dword [ebx + 0x24]
push ecx
push edx
push eax
push ebx
call fcn.00438390
push 0
push 0
call fcn.00457540
mov eax, dword [ebx + 0xa4]
add esp, 0x20
test eax, eax
je 0x48d7b1
push eax
call fcn.00457cd0
add esp, 4
mov dword [esp + 0x60], 1
mov eax, dword [0x56c5d8]
cmp esi, eax
mov eax, 2
je 0x48d7c1
mov eax, esi
push eax
call fcn.004b2890
fld qword [0x570290]
fcomp qword [0x550f28]
add esp, 4
fnstsw ax
test ah, 0x40
jne 0x48d882
fld qword [0x570290]
mov ecx, dword [0x5835a0]
fst qword [esp + 0x68]
cmp ecx, 3
je 0x48d7fe
fld qword [str.fffffv_]
jmp 0x48d804
fld qword [0x55b2b8]
fxch st(1)
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x48d83f
mov ecx, dword [0x583ae8]
mov edx, dword [0x570294]
mov eax, dword [0x570290]
push ecx
push edx
push eax
call fcn.00457560
push ebx
call fcn.0048ee40
fld qword [0x570290]
fadd qword [esp + 0x78]
add esp, 0x10
jmp 0x48d7e7
cmp ecx, 3
jne 0x48d856
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x40668000
jmp 0x48d86a
mov ecx, dword [0x570290]
mov edx, dword [0x570294]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov eax, dword [0x583ae8]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.00457560
add esp, 0xc
push esi
call fcn.004b2890
push ebx
call fcn.0048ee40
add esp, 8
jmp 0x48e596
test edx, edx
je 0x48d8af
test eax, eax
je 0x48d8af
cmp eax, dword [0x583aec]
jne 0x48d8af
cmp eax, 3
jne 0x48e596
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x48d8e7
cmp dword [eax + 0x28], 4
jne 0x48d8e7
call fcn.005180a0
jmp 0x48d909
cmp eax, 0x50
jne 0x48d8af
test ecx, 0x80000000
je 0x48d8af
cmp dword [0x585000], 2
jne 0x48d8af
push ebx
call fcn.00438390
jmp 0x48e593
cmp esi, 1
je 0x48d904
cmp esi, 0x10
je 0x48d904
cmp esi, 8
jne 0x48d8fd
call fcn.00518070
jmp 0x48d909
mov eax, 1
jmp 0x48d909
call fcn.00518040
push eax
call fcn.004b2f40
mov eax, dword [ebx + 0xa4]
add esp, 4
test eax, eax
je 0x48d943
push eax
call fcn.00457cd0
mov ecx, dword [ebx + 0xa4]
mov eax, 1
add esp, 4
mov dword [esp + 0x60], eax
test byte [ecx + 0xcc], al
je 0x48d943
mov dword [esp + 0x84], eax
test dword [ebx], 0x20000
je 0x48d95a
lea edx, [ebx + 0x90]
push edx
call fcn.004573a0
add esp, 4
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x48e56a
mov ecx, dword [esp + 0x18]
mov dword [0x584e70], 0
cmp ecx, 0xffffffff
je 0x48da04
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d9b4
push 1
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00438390
mov eax, dword [0x584fc8]
add esp, 0xc
test eax, eax
jne 0x48da04
mov eax, dword [0x584e70]
test eax, eax
je 0x48da04
call fcn.0048f3b0
test eax, eax
jne 0x48e617
jmp 0x48da04
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48da04
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x48da04
mov edx, dword [0x584fd8]
test edx, edx
jne 0x48d9d3
cmp esi, dword [ebx + 0xc]
jne 0x48d9e3
mov edx, dword [esi]
test dh, 0x10
je 0x48d9e3
cmp dword [0x571920], 0x54
jne 0x48da04
mov edx, dword [esp + 0x24]
fld dword [ebx + 0x68]
push edx
mov edx, dword [esp + 0x24]
push edx
push ecx
push eax
lea eax, [esi + 0x10]
sub esp, 8
fstp qword [esp]
push eax
call fcn.004b25b0
add esp, 0x1c
mov edi, dword [esp + 0x34]
test edi, edi
je 0x48da43
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48da43
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x48da43
mov eax, dword [esi]
test ah, 0x10
jne 0x48da43
mov ecx, dword [0x584fa8]
push 1
push ecx
push ebx
call fcn.0046def0
add esp, 0xc
mov dword [esp + 0x88], 1
mov edx, dword [esp + 0x10]
push edx
call fcn.004b2890
mov eax, dword [esi]
add esp, 4
test eax, 0x10000
je 0x48da75
test al, 0x20
mov eax, dword [0x56c5f4]
jne 0x48da66
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
push ecx
push eax
push ebx
push esi
call fcn.004dc050
jmp 0x48dac3
cmp dword [0x571920], 0x57
jne 0x48daa3
test edi, edi
je 0x48daa3
test ah, 0x10
jne 0x48daa3
test al, 0x20
mov eax, dword [0x56c5f4]
jne 0x48da94
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x50]
push edx
push eax
push ebx
push esi
call fcn.004da5c0
jmp 0x48dac3
test byte [esi + 4], 0x20
je 0x48daed
test al, 0x20
mov eax, dword [0x56c5f4]
jne 0x48dab6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
push ecx
push eax
push ebx
push esi
call fcn.004b25b0
add esp, 0x10
test eax, eax
jne 0x48e617
mov eax, dword [0x584fc8]
test eax, eax
jne 0x48dfd6
call fcn.004b38d0
test eax, eax
jne 0x48e617
jmp 0x48dfd6
test eax, 0x1000000
je 0x48db0a
mov ecx, dword [0x57acfc]
test ecx, ecx
je 0x48db0a
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x48dfd6
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x48db4c
test ah, 0x10
jne 0x48db4c
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x48db50
fld qword [esp + 0x20]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x41
jne 0x48db50
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea edx, [esi + 0x10]
push edx
push eax
push ecx
call fcn.0048e700
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x48db50
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, eax
and ecx, 0xe00
cmp ecx, 0x400
jne 0x48de0d
test eax, 0x200000
je 0x48db7c
push ebx
push esi
call fcn.00438390
add esp, 8
jmp 0x48df6e
test edi, edi
je 0x48dc41
test ah, 0x10
je 0x48db91
test edx, edx
je 0x48dc41
test al, 0x20
jne 0x48dc41
test edx, edx
je 0x48dbf3
mov ecx, dword [ebx + 0x40]
test ch, 1
je 0x48dbc8
test eax, 0x100000
je 0x48dbc8
mov edx, dword [esp + 0x14]
push ebx
push esi
push edx
call fcn.004b25b0
add esp, 0xc
test eax, eax
jne 0x48e617
jmp 0x48df6e
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x14]
push eax
push ecx
push esi
push edx
call fcn.00438390
add esp, 0x10
test eax, eax
jne 0x48e617
jmp 0x48df6e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48dc0a
mov ecx, dword [esp + 0x10]
push ecx
push 1
push 0
push eax
jmp 0x48de70
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi + 0x28]
push eax
mov eax, dword [esi + 0x24]
push ecx
mov ecx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call fcn.004377e0
add esp, 0x28
jmp 0x48df6e
test ah, 0x10
je 0x48dc83
mov edi, dword [esp + 0x4c]
cmp edi, 0xffffffff
jne 0x48dc57
test al, 0x20
je 0x48dfd6
mov eax, dword [ebx + 0x40]
test ah, 4
jne 0x48dc95
mov eax, dword [0x584fa8]
test eax, eax
jne 0x48dc75
push 0x1f1f
call fcn.004b2f00
add esp, 4
test byte [esi], 0x20
mov eax, dword [0x56c5f4]
jne 0x48dc8c
mov eax, edi
jmp 0x48dc8c
test al, 0x20
je 0x48dc95
mov eax, dword [0x56c5f4]
push eax
call fcn.004b2890
add esp, 4
mov eax, dword [esp + 0x84]
test eax, eax
je 0x48dcb9
mov ecx, dword [ebx + 0xa4]
lea edx, [esi + 0x20]
push ecx
lea eax, [esi + 0x10]
push edx
push eax
call fcn.00438150
add esp, 0xc
jmp 0x48dd32
mov eax, dword [esp + 0x64]
test eax, eax
je 0x48dcd2
mov ecx, dword [esp + 0x74]
push ecx
push eax
push esi
call fcn.004678e0
add esp, 0xc
jmp 0x48dd32
mov eax, dword [esi]
test ah, 0x20
je 0x48dcea
fld dword [esi + 0x40]
sub esp, 8
fstp qword [esp]
call fcn.00457540
add esp, 8
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call fcn.004569e0
mov eax, dword [esi]
add esp, 0x10
test ah, 0x20
je 0x48dd1a
fld dword [esi + 0x44]
sub esp, 8
fstp qword [esp]
call fcn.00457540
add esp, 8
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push eax
mov eax, dword [esi + 0x20]
push ecx
push edx
push eax
call fcn.00456b90
add esp, 0x10
mov edi, dword [esp + 0x30]
cmp edi, 0xffffffff
je 0x48dd94
mov eax, dword [esi]
test al, 0xc0
jne 0x48dd94
test ah, 0x10
jne 0x48dd94
mov eax, dword [ebx]
test ah, 0x20
je 0x48dd5d
lea ecx, [esp + 0x98]
push ecx
call fcn.004573a0
add esp, 4
mov eax, dword [ebx]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
and al, 3
neg al
sbb eax, eax
push edi
inc eax
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push esi
call fcn.00437b30
mov eax, dword [ebx]
add esp, 0x18
test ah, 0x20
mov dword [esp + 0x3c], 0
je 0x48dd94
call fcn.00457470
mov eax, dword [esi]
test ah, 0x10
je 0x48df6e
mov eax, dword [esp + 0x54]
push eax
call fcn.004b2f00
mov eax, dword [0x584fd8]
add esp, 4
test eax, eax
jne 0x48ddc3
mov eax, dword [ebx + 0xa4]
test eax, eax
jne 0x48df6e
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x48ddf8
cmp eax, dword [0x584ce8]
jne 0x48df6e
mov ecx, dword [0x5835a0]
mov eax, 3
cmp ecx, eax
jne 0x48df6e
cmp dword [0x583aec], eax
jne 0x48df6e
lea ecx, [esi + 0x20]
lea edx, [esi + 0x10]
push ecx
push edx
call fcn.0046e0e0
add esp, 8
jmp 0x48df6e
cmp ecx, 0x600
jne 0x48df6e
test edi, edi
je 0x48debd
test al, 0x20
jne 0x48dec1
test edx, edx
je 0x48de5e
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x68]
shr eax, 4
push ecx
and eax, 1
push edx
mov edx, dword [esi + 0x44]
push eax
lea eax, [esi + 0x10]
lea ecx, [esi + 0x30]
push eax
mov eax, dword [esi + 0x40]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.00438390
add esp, 0x20
jmp 0x48df6e
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x48de87
mov edx, dword [esp + 0x10]
push edx
push 1
push 0
push ecx
push ebx
push esi
call fcn.004b25b0
add esp, 0x18
test eax, eax
jne 0x48e617
jmp 0x48df6e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x6c]
push edx
mov edx, dword [esi + 0x68]
shr eax, 4
push ecx
and eax, 1
push edx
mov edx, dword [esi + 0x44]
push eax
lea eax, [esi + 0x10]
lea ecx, [esi + 0x30]
push eax
mov eax, dword [esi + 0x40]
push ecx
push edx
push eax
call fcn.00437590
add esp, 0x24
jmp 0x48df6e
test al, 0x20
je 0x48ded0
mov ecx, dword [0x56c5f4]
push ecx
call fcn.004b2890
add esp, 4
mov eax, dword [esp + 0x64]
test eax, eax
je 0x48dee9
mov edx, dword [esp + 0x74]
push edx
push eax
push esi
call fcn.00467910
add esp, 0xc
jmp 0x48df12
mov edx, dword [esi]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
push eax
shr edx, 4
and edx, 1
push ecx
lea eax, [esi + 0x10]
push edx
mov edx, dword [esi + 0x44]
lea ecx, [esi + 0x30]
push eax
mov eax, dword [esi + 0x40]
push ecx
push edx
push eax
call fcn.00437250
add esp, 0x1c
mov edi, dword [esp + 0x30]
cmp edi, 0xffffffff
je 0x48df6e
test byte [esi], 0xc0
jne 0x48df6e
mov eax, dword [ebx]
test ah, 0x20
je 0x48df37
lea ecx, [esp + 0x98]
push ecx
call fcn.004573a0
add esp, 4
mov eax, dword [ebx]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
and al, 3
neg al
sbb eax, eax
push edi
inc eax
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
push esi
call fcn.00437940
mov eax, dword [ebx]
add esp, 0x18
test ah, 0x20
mov dword [esp + 0x3c], 0
je 0x48df6e
call fcn.00457470
mov eax, dword [esp + 0x58]
test eax, eax
je 0x48dfd6
mov eax, dword [esi]
test ah, 0x10
je 0x48df88
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x48dfd6
test eax, 0x1000000
mov eax, dword [esp + 0x2c]
jne 0x48dfbb
test eax, eax
jne 0x48df9b
mov eax, dword [esp + 0x14]
fld dword [ebx + 0x68]
push ebx
sub esp, 8
fstp qword [esp]
push eax
push 0
push esi
call fcn.004b25b0
add esp, 0x18
test eax, eax
jne 0x48e617
jmp 0x48dfd6
test eax, eax
jne 0x48dfc3
mov eax, dword [esp + 0x14]
push ebx
push eax
push esi
call fcn.004b25b0
add esp, 0xc
test eax, eax
jne 0x48e617
cmp dword [esp + 0x18], 0xffffffff
je 0x48e073
mov eax, dword [0x584fd8]
test eax, eax
je 0x48dffb
mov eax, dword [esi]
test ah, 0x10
je 0x48dffb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48e073
jmp 0x48e003
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48e01a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x48e01a
push 1
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00438390
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48e045
mov ecx, dword [esi]
test ch, 0x10
jne 0x48e045
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0
push eax
push ebx
push esi
call fcn.004b25b0
add esp, 0x18
test eax, eax
jne 0x48e617
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x48e073
mov eax, dword [esi]
test ah, 0x10
jne 0x48e073
test eax, 0x8000000
je 0x48e073
fld dword [esi + 0x40]
push 0
push ecx
sub esp, 8
lea edx, [esi + 0x20]
fstp qword [esp]
push edx
call fcn.00438390
add esp, 0x14
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48e11f
mov edi, dword [esp + 0x30]
cmp edi, 0xffffffff
je 0x48e11f
mov eax, dword [esi]
test al, 0xc0
jne 0x48e11f
test ah, 0x10
jne 0x48e11f
mov eax, dword [ebx]
test ah, 0x20
je 0x48e0b6
lea eax, [esp + 0x98]
push eax
call fcn.004573a0
add esp, 4
mov ecx, dword [esi]
push edi
and ecx, 0xe00
cmp ecx, 0x400
jne 0x48e0e8
mov eax, dword [ebx]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
and al, 3
neg al
sbb eax, eax
push edx
mov edx, dword [esp + 0x28]
inc eax
push eax
push ecx
push edx
push esi
call fcn.00437b30
jmp 0x48e108
mov ecx, dword [ebx]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
and cl, 3
neg cl
sbb ecx, ecx
push eax
mov eax, dword [esp + 0x28]
inc ecx
push ecx
push edx
push eax
push esi
call fcn.00437940
mov eax, dword [ebx]
add esp, 0x18
test ah, 0x20
mov dword [esp + 0x3c], 0
je 0x48e11f
call fcn.00457470
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x48e13e
mov ecx, dword [esp + 0x7c]
mov edi, 0x14
mov eax, ecx
cdq
idiv edi
inc ecx
mov dword [esp + 0x7c], ecx
test edx, edx
jne 0x48e154
mov eax, dword [0x584fc8]
test eax, eax
jne 0x48e154
call fcn.004b38d0
test eax, eax
jne 0x48e617
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48e558
mov eax, dword [esp + 0x78]
test eax, eax
je 0x48e21f
mov eax, dword [esi]
test ah, 0x10
je 0x48e180
cmp dword [0x571920], 0x54
jne 0x48e21f
push 0xffff
call fcn.004b2f00
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xdc], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xe4], eax
push ecx
push 1
lea eax, [esp + 0xd8]
push edx
push eax
call fcn.00438390
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
push edx
call fcn.00457540
mov eax, dword [esp + 0x70]
push eax
call fcn.004b2f00
mov eax, dword [0x584fc8]
add esp, 0x20
test eax, eax
jne 0x48e21f
mov eax, dword [0x584e70]
test eax, eax
je 0x48e21f
call fcn.0048f3b0
test eax, eax
jne 0x48e617
cmp esi, dword [ebx + 0x10]
je 0x48e22e
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
test ah, 0x10
je 0x48e23c
mov eax, dword [esi]
test ah, 0x10
jne 0x48e23c
mov edi, 1
jmp 0x48e23e
xor edi, edi
mov eax, dword [0x584fc8]
test eax, eax
jne 0x48e24f
test edi, edi
je 0x48e4b8
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48e2ae
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
test ah, 0x10
je 0x48e30a
test ecx, ecx
je 0x48e2ae
test eax, 0x100000
jne 0x48e2ae
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x48e293
push eax
call fcn.004b2890
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esi + 0x20]
push ecx
push edx
call fcn.00438390
add esp, 0x10
mov eax, dword [esp + 0x10]
push eax
call fcn.004b2890
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0x20]
push ecx
push edx
call fcn.00438390
add esp, 0xc
cmp dword [esp + 0x18], 0xffffffff
je 0x48e379
mov eax, dword [0x584fd8]
test eax, eax
je 0x48e2d6
mov eax, dword [esi]
test ah, 0x10
je 0x48e2d6
cmp dword [0x571920], 0x54
jne 0x48e379
mov eax, dword [esp + 0x18]
push eax
call fcn.004b2890
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x48e348
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
sete cl
push ecx
lea eax, [esi + 0x20]
push edx
push eax
call fcn.00438390
add esp, 0xc
jmp 0x48e379
test ecx, ecx
jne 0x48e26a
fld qword [esp + 0x20]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x41
jne 0x48e2ae
mov edx, dword [esp + 0x10]
push edx
call fcn.004b2890
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea eax, [esi + 0x20]
push eax
push ecx
push edx
call fcn.0048e700
add esp, 0x10
jmp 0x48e2ae
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48e379
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
push edx
fld dword [ebx + 0x68]
push eax
push ecx
sub esp, 8
lea edx, [esi + 0x20]
fstp qword [esp]
push edx
call fcn.004b25b0
add esp, 0x1c
cmp dword [0x571920], 0x50
jne 0x48e399
cmp dword [esp + 0x18], 0xffffffff
jne 0x48e391
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48e399
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x48e414
mov eax, dword [0x584e70]
test eax, eax
je 0x48e414
mov eax, dword [esi]
test ah, 0x10
je 0x48e3bb
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xbff00000
jmp 0x48e3d7
cmp dword [0x571920], 0x54
jne 0x48e3d0
push ebx
push esi
call fcn.004d1c20
add esp, 8
jmp 0x48e3d3
fld dword [ebx + 0x54]
fstp qword [esp + 0x68]
mov eax, dword [esi]
test ah, 0x10
jne 0x48e3e3
fld dword [ebx + 0x68]
jmp 0x48e3e6
fld dword [ebx + 0x5c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
fld dword [ebx + 0x58]
push ebx
push eax
push ecx
lea edx, [esi + 0x20]
sub esp, 8
fstp qword [esp]
sub esp, 8
fstp qword [esp]
push edx
call fcn.0048edc0
add esp, 0x20
test eax, eax
jne 0x48e617
cmp dword [esp + 0x18], 0xffffffff
je 0x48e456
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48e456
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48e439
mov eax, dword [0x56c658]
push eax
call fcn.004b2890
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
xor ecx, ecx
test eax, eax
sete cl
push ecx
lea eax, [esi + 0x20]
push edx
push eax
call fcn.00438390
add esp, 0xc
test edi, edi
je 0x48e4b8
cmp dword [esp + 0x30], 0xffffffff
je 0x48e49a
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x48e49a
mov eax, dword [ebx]
test ah, 1
jne 0x48e49a
mov ecx, dword [esp + 0x30]
and al, 3
mov edx, dword [esp + 0x24]
push ecx
neg al
sbb eax, eax
inc eax
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
push ebx
call fcn.00463830
add esp, 4
push eax
push esi
call fcn.00437dd0
add esp, 0x18
test edi, edi
je 0x48e4b8
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48e4b8
mov ecx, dword [0x584fa8]
push 0
push ecx
push ebx
call fcn.0046def0
add esp, 0xc
mov eax, dword [esp + 0x78]
test eax, eax
je 0x48e558
mov eax, dword [esi]
test ah, 0x10
je 0x48e4d8
cmp dword [0x571920], 0x54
jne 0x48e558
push 0xffff
call fcn.004b2f00
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0xb8], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc4], edx
lea edx, [esp + 0x90]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xcc], ecx
push edx
push 2
lea ecx, [esp + 0xc0]
push eax
push ecx
call fcn.00438390
mov edx, dword [esp + 0x68]
push edx
call fcn.004b2f00
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
call fcn.00457540
add esp, 0x20
mov esi, dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
cmp esi, eax
je 0x48e56a
test esi, esi
jne 0x48d965
cmp dword [ebx + 0x38], 5
jne 0x48e579
mov eax, dword [0x584fd8]
test eax, eax
je 0x48e58d
mov eax, dword [0x5835a0]
mov ecx, dword [0x583aec]
cmp eax, ecx
jne 0x48e596
cmp eax, 3
jne 0x48e596
push ebx
call fcn.00499ee0
add esp, 4
push 0xffff
call fcn.004b2f00
mov eax, dword [ebx]
add esp, 4
test eax, 0x20000
je 0x48e5b1
call fcn.00457470
mov eax, dword [esp + 0x60]
test eax, eax
je 0x48e5be
call fcn.00457f30
mov eax, 0x5836c8
lea ecx, [esp + 0xe8]
mov edx, dword [ecx]
mov esi, dword [eax]
and edx, 1
and esi, 0xfffffbff
shl edx, 0xa
or edx, esi
add ecx, 4
mov dword [eax], edx
add eax, 0x108
cmp eax, 0x583ae8
jl 0x48e5ca
mov eax, dword [ebx]
test eax, 0x20001000
jne 0x48e5ff
test dword [ebx + 4], 0x8000000
je 0x48e609
test ah, 2
jne 0x48e609
call fcn.00446d40
call fcn.004b2a10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffff
call fcn.004b2f00
mov eax, dword [ebx]
add esp, 4
test eax, 0x20000
je 0x48e632
call fcn.00457470
mov eax, dword [esp + 0x60]
test eax, eax
je 0x48e63f
call fcn.00457f30
mov eax, 0x5836c8
lea ecx, [esp + 0xe8]
mov edx, dword [ecx]
mov esi, dword [eax]
and edx, 1
and esi, 0xfffffbff
shl edx, 0xa
or edx, esi
add ecx, 4
mov dword [eax], edx
add eax, 0x108
cmp eax, 0x583ae8
jl 0x48e64b
call fcn.004b2a10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret