Function at 0x50a8d0
Capabilities:
Check for software breakpoints
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
cmp edx, 0xd2
jg 0x50b423
je 0x50b407
lea eax, [edx - 3]
cmp eax, 0xcc
ja case.0x50c645.30118
movzx eax, byte [eax + 0x50c854]
jmp dword [eax*4 + 0x50c744]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jl 0x50b00c
mov dword [edi + 0x8e0], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0xa4c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x1b
xor ecx, dword [edi + 0xa80]
and ecx, 0x8000000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x1c
xor ecx, dword [edi + 0xa80]
and ecx, 0x10000000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x19
xor ecx, dword [edi + 0xa80]
and ecx, 0x2000000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x14
xor ecx, dword [edi + 0xa80]
and ecx, 0x100000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
setne cl
shl ecx, 0xe
xor ecx, dword [edi + 0xa80]
and ecx, 0x4000
xor dword [edi + 0xa80], ecx
test dword [edi + 0xa80], 0x4000
je 0x50aa22
or dword [edi + 0xad4], 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and dword [edi + 0xad4], 0xffffffef
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x17
xor ecx, dword [edi + 0xa80]
and ecx, 0x800000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xf
xor ecx, dword [edi + 0xa80]
and ecx, 0x8000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
setne cl
shl ecx, 0x18
xor ecx, dword [edi + 0xa80]
and ecx, 0x1000000
xor dword [edi + 0xa80], ecx
test dword [edi + 0xa80], 0x1000000
je 0x50aaca
and dword [edi + 0xa80], 0xff7fffff
mov dword [edi + 0x828], 5
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x828], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 9
xor ecx, dword [edi + 0xa80]
and ecx, 0x200
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0x20c49b
ja 0x50b00c
imul eax, eax, 0x3e8
mov dword [edi + 0x648], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 2
ja 0x50b00c
mov dword [edi + 0x90c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xb
xor ecx, dword [edi + 0xa80]
and ecx, 0x800
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 3
ja 0x50b00c
mov dword [edi + 0x81c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cdq
mov dword [edi + 0x820], eax
mov dword [edi + 0x824], edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x16
xor ecx, dword [edi + 0xa80]
and ecx, 0x400000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x12
xor ecx, dword [edi + 0xa80]
and ecx, 0x40000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x11
xor ecx, dword [edi + 0xa80]
and ecx, 0x20000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x13
xor ecx, dword [edi + 0xa80]
and ecx, 0x80000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jl 0x50b00c
mov dword [edi + 0x5c4], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
and eax, 7
mov dword [edi + 0x5c8], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
je 0x50aaca
and dword [edi + 0xa80], 0xff7fffff
mov dword [edi + 0x828], 2
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cdq
mov esi, eax
mov eax, edx
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jg 0x50accd
jl 0x50b00c
cmp esi, 0xffffffff
jb 0x50b00c
cmp dword [edi + 0x5dc], eax
jg 0x50ad07
jl 0x50acdf
cmp dword [edi + 0x5d8], esi
jae 0x50ad07
mov ecx, dword [edi + 0xa14]
cmp dword [edi + 0x5cc], ecx
jne 0x50ad07
push ecx
call dword [0x593c28]
mov eax, dword [esp + 0x10]
mov dword [edi + 0xa14], ebx
add esp, 4
mov dword [edi + 0x5cc], ebx
mov dword [edi + 0x5dc], eax
mov dword [edi + 0x5d8], esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
je case.0x50a907.91
and dword [edi + 0xa80], 0xfe7fffff
mov dword [edi + 0x828], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
cmp eax, 3
jl 0x50ad62
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x82c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test edx, edx
jne 0x50ad89
mov dword [edi + 0x5b4], ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edx
shr eax, 2
xor eax, dword [edi + 0xcf4]
and eax, 4
xor dword [edi + 0xcf4], eax
test dl, 0x10
je 0x50ada8
and edx, 0xffffffef
or edx, 2
and edx, 0xffffffd3
xor ecx, ecx
lea ecx, [ecx]
mov eax, 1
shl eax, cl
inc ecx
and eax, edx
jne 0x50adcd
cmp ecx, 0x1f
jl 0x50adb0
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x5b4], edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xa
xor ecx, dword [edi + 0xa80]
and ecx, 0x400
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffff
ja 0x50b00c
mov dword [edi + 0x59c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test edx, edx
jne 0x50ae3b
mov dword [edi + 0x5b8], ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edx
shr eax, 2
xor eax, dword [edi + 0xd04]
and eax, 4
xor dword [edi + 0xd04], eax
test dl, 0x10
je 0x50ae5a
and edx, 0xffffffef
or edx, 2
and edx, 0xffffffd3
xor ecx, ecx
nop
mov eax, 1
shl eax, cl
inc ecx
and eax, edx
jne 0x50ae7d
cmp ecx, 0x1f
jl 0x50ae60
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x5b8], edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 7
ja 0x50b00c
mov dword [edi + 0x8dc], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0
je 0x50aeca
dec eax
jne case.0x50c645.30118
or dword [edi + 0xa84], 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and dword [edi + 0xa84], 0xfffffff7
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xd
xor ecx, dword [edi + 0xa80]
and ecx, 0x2000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xc
xor ecx, dword [edi + 0xa80]
and ecx, 0x1000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 0
je 0x50af64
dec eax
je 0x50af51
dec eax
jne case.0x50c645.30118
mov dword [edi + 0x900], 2
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x900], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x900], ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jl 0x50b00c
cdq
mov dword [edi + 0x658], eax
mov dword [edi + 0x65c], edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0x660], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0x664], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffff
ja 0x50b00c
mov dword [edi + 0x5b0], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0x20c49b
ja 0x50b00c
imul eax, eax, 0x3e8
mov dword [edi + 0x638], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jns 0x50aff4
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0x20c49b
ja 0x50b00c
imul eax, eax, 0x3e8
mov dword [edi + 0x63c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jns 0x50b02a
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jl 0x50b00c
cdq
mov dword [edi + 0x678], eax
mov dword [edi + 0x67c], edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 0x9cc]
call dword [0x593c28]
mov eax, dword [0x593c34]
add esp, 4
mov dword [edi + 0x9cc], ebx
mov eax, dword [eax + 0x4c]
push edi
call eax
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 6
xor ecx, dword [edi + 0xa80]
and ecx, 0x40
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffff
ja 0x50b00c
mov word [edi + 0x5e0], ax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffff
ja 0x50b00c
and eax, 0x7fffffff
mov dword [edi + 0x5e4], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
setne cl
xor ecx, dword [edi + 0x854]
and ecx, 1
xor dword [edi + 0x854], ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je case.0x50a907.91
mov eax, dword [ecx + 0x268]
xor eax, dword [edi + 0x854]
and eax, 1
xor dword [ecx + 0x268], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 1
jne 0x50b169
push str.CURLOPT_SSL_VERIFYHOST_no_longer_supports_1_as_value_
push edi
call fcn.0051a7e0
add esp, 8
mov eax, 0x2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
test ecx, ecx
mov ecx, dword [edi + 8]
setne al
add eax, eax
xor eax, dword [edi + 0x854]
and eax, 2
xor dword [edi + 0x854], eax
test ecx, ecx
je case.0x50a907.91
mov eax, dword [ecx + 0x268]
xor eax, dword [edi + 0x854]
and eax, 2
xor dword [ecx + 0x268], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
test byte [eax + 8], 2
je case.0x50b44b.244
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
xor ecx, dword [edi + 0x880]
and ecx, 1
xor dword [edi + 0x880], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov esi, dword [eax]
cmp esi, 0x80000
jle 0x50b1ef
mov esi, 0x80000
jmp 0x50b208
cmp esi, 1
jge 0x50b1fb
mov esi, 0x4000
jmp 0x50b208
cmp esi, 0x400
jge 0x50b208
mov esi, 0x400
cmp esi, dword [edi + 0x8e4]
je 0x50b241
lea eax, [esi + 1]
push eax
push dword [edi + 0xc4c]
call dword [0x593c1c]
add esp, 8
test eax, eax
jne 0x50b23b
mov ebx, 0x1b
mov dword [edi + 0x8e4], esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0xc4c], eax
mov dword [edi + 0x8e4], esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x1d
xor ecx, dword [edi + 0xa80]
and ecx, 0x20000000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
cdq
mov dword [edi + 0x8f8], eax
mov dword [edi + 0x8fc], edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 3
ja 0x50b00c
mov dword [edi + 0x910], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 2
ja 0x50b00c
mov dword [edi + 0x8f4], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x1e
xor ecx, dword [edi + 0xa80]
and ecx, 0x40000000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, dword [edi + 0xa80]
setne cl
and eax, 0x7fffffff
shl ecx, 0x1f
or ecx, eax
mov dword [edi + 0xa80], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
xor ecx, dword [edi + 0xa84]
and ecx, 1
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, dword [edi + 0x8a8]
setne cl
shl ecx, 3
xor ecx, dword [edi + 0x854]
and ecx, 8
xor dword [edi + 0x854], ecx
xor eax, dword [edi + 0x854]
and eax, 8
xor dword [edi + 0x8a8], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
sete cl
add ecx, ecx
xor ecx, dword [edi + 0xa84]
and ecx, 2
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
sete cl
shl ecx, 2
xor ecx, dword [edi + 0xa84]
and ecx, 4
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0xa18], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0xa1c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0xa20], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0xa40], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x2711
jg 0x50b8e5
je 0x50b8d1
lea eax, [edx - 0xd4]
cmp eax, 0x4c
ja case.0x50c645.30118
movzx eax, byte [eax + 0x50c99c]
jmp dword [eax*4 + 0x50c924]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x10
xor ecx, dword [edi + 0xa80]
and ecx, 0x10000
xor dword [edi + 0xa80], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x20
jne 0x50b487
add edi, 0x830
jmp 0x50b48d
add edi, 0x884
mov eax, dword [ebp + 8]
mov eax, dword [eax]
movzx ecx, ax
and eax, 0xffff0000
cmp ecx, 7
ja 0x50b00c
cmp eax, 0x7ffff
ja 0x50b00c
mov dword [edi + 4], eax
mov dword [edi], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
shl eax, 4
xor eax, dword [edi + 0xa80]
and eax, 0x10
xor dword [edi + 0xa80], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0xa50], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 1
jg 0x50b00c
xor eax, eax
test ecx, ecx
setne al
shl eax, 0x14
xor eax, dword [edi + 0xa84]
and eax, 0x100000
xor dword [edi + 0xa84], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5bc], eax
test eax, 0xfffffffa
je case.0x50a907.91
mov ebx, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0x640], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xf
xor ecx, dword [edi + 0xa84]
and ecx, 0x8000
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
setne cl
xor ecx, dword [edi + 0x8a8]
and ecx, 1
xor dword [edi + 0x8a8], ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je case.0x50a907.91
mov eax, dword [ecx + 0x290]
xor eax, dword [edi + 0x8a8]
and eax, 1
xor dword [ecx + 0x290], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 1
je 0x50b14f
xor eax, eax
test ecx, ecx
mov ecx, dword [edi + 8]
setne al
add eax, eax
xor eax, dword [edi + 0x8a8]
and eax, 2
xor dword [edi + 0x8a8], eax
test ecx, ecx
je case.0x50a907.91
mov eax, dword [ecx + 0x290]
xor eax, dword [edi + 0x8a8]
and eax, 2
xor dword [ecx + 0x290], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
mov eax, dword [eax + 0x2c]
call eax
test eax, eax
je case.0x50b44b.244
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
setne cl
shl ecx, 2
xor ecx, dword [edi + 0x854]
and ecx, 4
xor dword [edi + 0x854], ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je case.0x50a907.91
mov eax, dword [ecx + 0x268]
xor eax, dword [edi + 0x854]
and eax, 4
xor dword [ecx + 0x268], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
mov eax, dword [eax + 0x54]
call eax
test eax, eax
je case.0x50b44b.244
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
add ecx, ecx
xor ecx, dword [edi + 0x880]
and ecx, 2
xor dword [edi + 0x880], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0x200000
jle 0x50b6c3
mov eax, 0x200000
jmp 0x50b6cf
cmp eax, 0x4000
jge 0x50b6cf
mov eax, 0x4000
push dword [edi + 0xc50]
mov dword [edi + 0x8e8], eax
call dword [0x593c28]
add esp, 4
mov dword [edi + 0xc50], ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
shl eax, 2
xor eax, dword [edi + 0x880]
and eax, 0xc
xor dword [edi + 0x880], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
shl eax, 2
xor eax, dword [edi + 0x8d4]
and eax, 0xc
xor dword [edi + 0x8d4], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 4
xor ecx, dword [edi + 0xa84]
and ecx, 0x10
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 6
xor ecx, dword [edi + 0xa84]
and ecx, 0x40
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0xa44], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0xa48], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xa
xor ecx, dword [edi + 0xa84]
and ecx, 0x400
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xb
xor ecx, dword [edi + 0xa84]
and ecx, 0x800
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xc
xor ecx, dword [edi + 0xa84]
and ecx, 0x1000
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0x644], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0xd
xor ecx, dword [edi + 0xa84]
and ecx, 0x2000
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax], ecx
mov eax, ebx
setne cl
shl ecx, 0x11
xor ecx, dword [edi + 0xa84]
and ecx, 0x20000
xor dword [edi + 0xa84], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0xa68], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
js 0x50b00c
mov dword [edi + 0x64c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5a0], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x27fb
jg 0x50c121
je case.0x50b910.10179
add edx, 0xffffd8ee
cmp edx, 0xe4
ja case.0x50c645.30118
movzx eax, byte [edx + 0x50cad4]
jmp dword [eax*4 + 0x50c9ec]
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9a0]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9b4]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9b0]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x970]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test edx, edx
je 0x50b9c3
cmp byte [edx], bl
jne 0x50b9c3
call fcn.0051d900
mov esi, eax
test esi, esi
jne 0x50b9a1
mov ebx, 0x1b
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0x944]
mov edx, esi
call fcn.0050cee0
push esi
mov ebx, eax
call dword [0x593c28]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0x944]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [esp + 0xc], esi
test esi, esi
je 0x50ba8c
mov edx, dword [edi + 0x5d8]
mov ecx, dword [edi + 0x5dc]
mov eax, edx
and eax, ecx
cmp eax, 0xffffffff
je 0x50ba8c
test ecx, ecx
jl 0x50ba5c
jg 0x50ba5c
test edx, edx
jb 0x50ba5c
test ecx, ecx
jg 0x50ba5c
jl 0x50ba16
cmp edx, 0xffffffff
ja 0x50ba5c
push dword [edi + 0xa14]
call dword [0x593c28]
mov dword [edi + 0xa14], ebx
mov ecx, dword [edi + 0x5d8]
mov edx, dword [edi + 0x5dc]
mov eax, ecx
add esp, 4
or eax, edx
je 0x50ba43
mov dword [esp + 0x14], edx
jmp 0x50ba4c
mov ecx, 1
mov dword [esp + 0x14], ebx
push ecx
call dword [0x593c18]
mov esi, eax
add esp, 4
test esi, esi
jne 0x50ba63
mov ebx, 0x1b
jmp 0x50ba9b
mov eax, dword [edi + 0x5d8]
or eax, dword [edi + 0x5dc]
je 0x50ba84
push dword [edi + 0x5d8]
push dword [esp + 0x10]
push esi
call fcn.004f0080
add esp, 0xc
mov dword [edi + 0xa14], esi
jmp 0x50ba9b
lea ecx, [edi + 0xa14]
mov edx, esi
call fcn.0050cee0
mov ebx, eax
mov eax, dword [edi + 0xa14]
mov dword [edi + 0x5cc], eax
mov dword [edi + 0x828], 2
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5cc], eax
push dword [edi + 0xa14]
call dword [0x593c28]
mov dword [edi + 0xa14], ebx
add esp, 4
mov dword [edi + 0x828], 2
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and dword [edi + 0xa80], 0xff7fffff
mov dword [edi + 0x688], eax
mov dword [edi + 0x828], 3
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 0xa98], 2
je 0x50bb3a
push dword [edi + 0xa8c]
call dword [0x593c28]
add esp, 4
and dword [edi + 0xa98], 0xfffffffd
mov dword [edi + 0xa8c], ebx
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x980]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
mov eax, dword [edi + 0x980]
mov dword [edi + 0xa8c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9b8]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x680], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x684], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x8f0], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x938]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x974]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5a8], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x598], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5a4], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edi + 0xa98], 1
je 0x50bc49
push dword [edi + 0xa88]
call dword [0x593c28]
add esp, 4
and dword [edi + 0xa98], 0xfffffffe
mov dword [edi + 0xa88], ebx
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x984]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
mov eax, dword [edi + 0x984]
mov dword [edi + 0xa88], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x9d4]
mov ecx, dword [ecx]
push eax
lea edx, [edi + 0x9d0]
call fcn.0050ce20
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9d0]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9d4]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9d8]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0xa04]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x7fc], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x800], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x7f8], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x814], eax
mov dword [edi + 0xa94], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x630], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x9e0]
mov ecx, dword [ecx]
push eax
lea edx, [edi + 0x9dc]
call fcn.0050ce20
add esp, 4
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9dc]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9e0]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9e4]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x97c]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x594], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x590], eax
test eax, eax
jne case.0x50a907.91
call fcn.004ee9e3
add eax, 0x40
mov dword [edi + 0x590], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x620], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x634], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x920]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x928]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x954]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x964]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x95c]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je case.0x50a907.91
cmp byte [esi], bl
je case.0x50a907.91
lea ecx, [edi + 0x9cc]
mov edx, esi
call fcn.0050cee0
mov ebx, eax
test ebx, ebx
jne case.0x50a907.91
mov eax, dword [0x593c34]
push esi
mov eax, dword [eax + 0x48]
push edi
call eax
add esp, 8
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x940]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
test byte [eax + 8], 8
je case.0x50b44b.244
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x868], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
test byte [eax + 8], 4
je case.0x50b44b.244
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x998]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x990]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
test byte [eax + 8], 1
je case.0x50b44b.244
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x988]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9bc]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9c4]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov esi, dword [eax]
cmp dword [edi + 0x80], ebx
je 0x50c043
push ecx
mov edx, 1
call fcn.0051d3a0
add esp, 4
cmp dword [edi + 0x74], 2
jne 0x50c00d
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx + 0x68]
cmp eax, dword [edi + 0xc68]
jne 0x50c024
mov dword [edi + 0xc68], ebx
mov ecx, dword [ecx + 4]
mov eax, dword [edi + 0x80]
dec ecx
mov dword [eax + 4], ecx
mov edx, 1
mov ecx, edi
call fcn.0051d3e0
mov dword [edi + 0x80], ebx
mov dword [edi + 0x80], esi
test esi, esi
je case.0x50a907.91
push ecx
mov edx, 1
mov ecx, edi
call fcn.0051d3a0
mov eax, dword [edi + 0x80]
add esp, 4
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x80]
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [edi + 0x80]
test byte [ecx], 8
je 0x50c08c
lea eax, [ecx + 0x50]
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 2
cmp dword [ecx + 0x68], ebx
je 0x50c0a3
mov eax, dword [ecx + 0x6c]
mov dword [edi + 0x8d8], eax
mov eax, dword [ecx + 0x68]
mov dword [edi + 0xc68], eax
mov edx, 1
mov ecx, edi
call fcn.0051d3e0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x8ec], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x60c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x614], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x61c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9f4]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x4e2b
jg 0x50c419
je 0x50c3e0
add edx, 0xffffd804
cmp edx, 0x30
ja case.0x50c645.30118
movzx eax, byte [edx + 0x50cc1c]
jmp dword [eax*4 + 0x50cbbc]
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9a4]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
test byte [eax + 8], 0x20
je case.0x50c149.10240
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9a8]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
test byte [eax + 8], 0x20
je case.0x50c149.10240
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9ac]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0xa08]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push 0
mov edx, dword [edx]
lea ecx, [edi + 0x690]
call fcn.00519bb0
mov ebx, eax
add esp, 4
test ebx, ebx
jne case.0x50a907.91
mov dword [edi + 0x828], 4
and dword [edi + 0xa80], 0xff7fffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x978]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9f8]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0xa74], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x924]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x92c]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x958]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x968]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x960]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
test byte [eax + 8], 4
je case.0x50b44b.244
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x99c]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x994]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
test byte [eax + 8], 1
je case.0x50b44b.244
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x98c]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x9c0]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0xa64], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0x93c]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x818], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [edi + 0xa0c]
mov edx, dword [edx]
call fcn.0050cee0
mov ebx, eax
xor eax, eax
cmp dword [edi + 0xa0c], eax
setne al
shl eax, 0x12
xor eax, dword [edi + 0xa84]
and eax, 0x40000
xor dword [edi + 0xa84], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0xa78], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5e8], eax
test eax, eax
jne 0x50c409
and dword [edi + 0xa80], 0xfffffffd
mov dword [edi + 0x5e8], 0x4ec47b
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or dword [edi + 0xa80], 2
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x4f30
jg 0x50c5d1
je 0x50c5bd
add edx, 0xffffb1d4
cmp edx, 0xcf
ja case.0x50c645.30118
movzx eax, byte [edx + 0x50cc8c]
jmp dword [eax*4 + 0x50cc50]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5f8], eax
test eax, eax
je 0x50c46a
or dword [edi + 0xc24], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and dword [edi + 0xc24], 0xfffffffe
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5fc], eax
test eax, eax
je 0x50c46a
or dword [edi + 0xc24], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x600], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5ec], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5f4], eax
test eax, eax
jne 0x50c4ea
and dword [edi + 0xa80], 0xfffffffe
mov dword [edi + 0x5f4], 0x4ecd47
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or dword [edi + 0xa80], 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x5d0], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x624], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x628], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x62c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x604], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x593c34]
test byte [eax + 8], 8
je case.0x50b44b.244
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x864], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x608], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x610], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0x618], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0xa60], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edx, 0x75a3
jg 0x50c62c
je 0x50c5fb
cmp edx, 0x4f3b
jne case.0x50c645.30118
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 0xa7c], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jg 0x50c617
jl 0x50b00c
cmp ecx, 0xffffffff
jb 0x50b00c
mov dword [edi + 0x65c], eax
mov dword [edi + 0x658], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add edx, 0xffff8a5c
cmp edx, 0x9a
ja case.0x50c645.30118
movzx eax, byte [edx + 0x50cd78]
jmp dword [eax*4 + 0x50cd5c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [edi + 0x820], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x824], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
jmp 0x50acb5
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jg 0x50c690
jl 0x50b00c
test ecx, ecx
jb 0x50b00c
mov dword [edi + 0x66c], eax
mov dword [edi + 0x668], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jg 0x50c6bf
jl 0x50b00c
test ecx, ecx
jb 0x50b00c
mov dword [edi + 0x674], eax
mov dword [edi + 0x670], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jg 0x50c6f0
jl 0x50b00c
cmp ecx, 0xffffffff
jb 0x50b00c
mov dword [edi + 0x67c], eax
mov dword [edi + 0x678], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jg 0x50c71f
jl 0x50b00c
test ecx, ecx
jb 0x50b00c
mov dword [edi + 0x8fc], eax
mov dword [edi + 0x8f8], ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0x30
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret