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

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x7c]
mov ebp, dword [eax + 0x68]
mov ebx, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x1c], edx
push edi
mov edi, dword [eax]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x10], ebp
add ecx, 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], ecx
mov edx, 1
mov ecx, dword [esp + 0x40]
shl edx, cl
mov ecx, edx
sar ecx, 1
or ecx, edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x24], ecx
test edx, 0xfffffffc
jbe 0x5364a9
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
lea ecx, [ecx + ecx*2]
shl ecx, 2
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x20], edx
jbe 0x53647c
nop word [eax + eax]
mov ebp, dword [ecx]
mov dword [esp + 0x40], ebp
test ebp, ebp
je 0x53645b
test ebp, 0x200010
jne 0x535ae4
mov edx, ebp
and edx, 0x1ef
je 0x535ae4
mov ecx, dword [eax + 0x6c]
movzx ecx, byte [ecx + edx]
add ecx, 7
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x10], ecx
mov ecx, edi
shr ecx, 0x10
mov ebp, dword [edx]
sub ebx, ebp
cmp ecx, ebp
jae 0x535872
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535809
mov ecx, dword [edx + 8]
jmp 0x535819
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x535860
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535853
cmp edx, 0x8f
jbe 0x535846
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535859
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x53585e
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535821
jmp 0x5358f4
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x5358f8
cmp ebx, ebp
jae 0x53589b
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x5358a2
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x5358e7
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5358da
cmp edx, 0x8f
jbe 0x5358cd
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5358e0
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x5358e5
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x5358a8
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x535ada
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 4]
mov ecx, dword [ecx + 4]
shr edx, 2
and ecx, 0x80000
and edx, 0x20000
or edx, ecx
mov ecx, ebp
and ecx, 0x400000
shr edx, 1
or edx, ecx
mov ecx, ebp
and ecx, 0x40000
shr edx, 2
or edx, ecx
and ebp, 0xaa
shr edx, 0xe
or edx, ebp
movzx ecx, byte [edx + 0x601dd8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 0x601cd8]
add ecx, 7
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x10], ecx
mov ecx, edi
shr ecx, 0x10
mov ebp, dword [edx]
sub ebx, ebp
cmp ecx, ebp
jae 0x5359ec
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x53597f
mov ecx, dword [edx + 8]
jmp 0x53598f
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x5359d6
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5359c9
cmp edx, 0x8f
jbe 0x5359bc
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5359cf
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x5359d4
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535997
mov edx, dword [esp + 0x1c]
jmp 0x535a77
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x535a74
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x535a15
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535a1c
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x535a61
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535a54
cmp edx, 0x8f
jbe 0x535a47
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535a5a
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535a5f
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535a22
mov edx, dword [esp + 0x1c]
jmp 0x535a77
mov edx, dword [edx + 4]
xor edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
neg ecx
test edx, edx
mov dword [esp + 0x1c], edx
cmove ecx, dword [esp + 0x24]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
or dword [ecx - 4], 0x20
mov ecx, edx
mov edx, dword [esp + 0x14]
shl ecx, 0x13
or ecx, 0x10
or ebp, ecx
or dword [edx + 4], 8
mov ecx, dword [eax + 0x7c]
lea ecx, [ecx*4 + 8]
sub edx, ecx
mov ecx, dword [esp + 0x1c]
shl ecx, 0x1f
or ecx, 0x10000
or dword [edx], ecx
or dword [edx - 4], 0x20000
or dword [edx + 4], 0x8000
or ebp, 0x200000
mov dword [esp + 0x40], ebp
test ebp, 0x1000080
jne 0x535dfc
test ebp, 0xf78
je 0x535dfc
mov ecx, dword [eax + 0x6c]
mov edx, ebp
shr edx, 3
and edx, 0x1ef
movzx ecx, byte [edx + ecx]
add ecx, 7
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x10], ecx
mov ecx, edi
shr ecx, 0x10
mov ebp, dword [edx]
sub ebx, ebp
cmp ecx, ebp
jae 0x535ba1
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535b38
mov ecx, dword [edx + 8]
jmp 0x535b48
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x535b8f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535b82
cmp edx, 0x8f
jbe 0x535b75
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535b88
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535b8d
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535b50
jmp 0x535c23
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x535c27
cmp ebx, ebp
jae 0x535bca
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535bd1
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x535c16
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535c09
cmp edx, 0x8f
jbe 0x535bfc
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535c0f
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535c14
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535bd7
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x535df2
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 4]
mov ecx, dword [ecx + 4]
shr edx, 2
and ecx, 0x400000
and edx, 0x100000
or edx, ecx
mov ecx, ebp
and ecx, 0x2000000
shr edx, 1
or edx, ecx
mov ecx, ebp
and ecx, 0x80000
shr edx, 4
or edx, ecx
and ebp, 0x550
shr edx, 0xc
or edx, ebp
shr edx, 3
movzx ecx, byte [edx + 0x601dd8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 0x601cd8]
add ecx, 7
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x10], ecx
mov ecx, edi
shr ecx, 0x10
mov ebp, dword [edx]
sub ebx, ebp
cmp ecx, ebp
jae 0x535d25
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535cb5
mov ecx, dword [edx + 8]
jmp 0x535cc5
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
nop dword [eax]
test esi, esi
jne 0x535d0f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535d02
cmp edx, 0x8f
jbe 0x535cf5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535d08
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535d0d
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535cd0
mov edx, dword [esp + 0x1c]
jmp 0x535db5
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x535db2
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x535d4c
xor ecx, ecx
cmp dword [edx + 4], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535d53
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
nop dword [eax]
test esi, esi
jne 0x535d9f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535d92
cmp edx, 0x8f
jbe 0x535d85
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535d98
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535d9d
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535d60
mov edx, dword [esp + 0x1c]
jmp 0x535db5
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
neg ecx
xor edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmove ecx, dword [esp + 0x24]
shl edx, 0x16
or edx, 0x80
mov dword [ebp + eax*4], ecx
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
or ebp, edx
or dword [ecx - 4], 0x100
or dword [ecx + 4], 0x40
or ebp, 0x1000000
mov dword [esp + 0x40], ebp
test ebp, 0x8000400
jne 0x53610f
test ebp, 0x7bc0
je 0x53610f
mov ecx, dword [eax + 0x6c]
mov edx, ebp
shr edx, 6
and edx, 0x1ef
movzx ecx, byte [edx + ecx]
add ecx, 7
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x10], ecx
mov ecx, edi
shr ecx, 0x10
mov ebp, dword [edx]
sub ebx, ebp
cmp ecx, ebp
jae 0x535eb9
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535e50
mov ecx, dword [edx + 8]
jmp 0x535e60
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x535ea7
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535e9a
cmp edx, 0x8f
jbe 0x535e8d
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535ea0
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535ea5
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535e68
jmp 0x535f3c
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x535f40
cmp ebx, ebp
jae 0x535ee2
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535ee9
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
nop
test esi, esi
jne 0x535f2f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535f22
cmp edx, 0x8f
jbe 0x535f15
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535f28
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535f2d
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535ef0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x536105
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 4]
mov ecx, dword [ecx + 4]
shr edx, 2
and ecx, 0x2000000
and edx, 0x800000
or edx, ecx
mov ecx, ebp
and ecx, 0x10000000
shr edx, 1
or edx, ecx
mov ecx, ebp
and ecx, 0x400000
shr edx, 4
or edx, ecx
and ebp, 0x2a80
shr edx, 0xc
or edx, ebp
shr edx, 6
movzx ecx, byte [edx + 0x601dd8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 0x601cd8]
add ecx, 7
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x10], ecx
mov ecx, edi
shr ecx, 0x10
mov ebp, dword [edx]
sub ebx, ebp
cmp ecx, ebp
jae 0x536037
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535fca
mov ecx, dword [edx + 8]
jmp 0x535fda
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x536021
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536014
cmp edx, 0x8f
jbe 0x536007
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x53601a
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x53601f
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x535fe2
mov edx, dword [esp + 0x1c]
jmp 0x5360c5
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x5360c2
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x53605e
xor ecx, ecx
cmp dword [edx + 4], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x536065
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
nop dword [eax + eax]
test esi, esi
jne 0x5360af
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5360a2
cmp edx, 0x8f
jbe 0x536095
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5360a8
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x5360ad
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x536070
mov edx, dword [esp + 0x1c]
jmp 0x5360c5
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
neg ecx
xor edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmove ecx, dword [esp + 0x24]
shl edx, 0x19
or edx, 0x400
mov dword [ebp + eax*8], ecx
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
or ebp, edx
or dword [ecx - 4], 0x800
or dword [ecx + 4], 0x200
or ebp, 0x8000000
mov dword [esp + 0x40], ebp
test ebp, 0x40002000
jne 0x536451
test ebp, 0x3de00
je 0x536451
mov ecx, dword [eax + 0x6c]
mov edx, ebp
shr edx, 9
and edx, 0x1ef
movzx ecx, byte [edx + ecx]
add ecx, 7
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x10], ecx
mov ecx, edi
shr ecx, 0x10
mov ebp, dword [edx]
sub ebx, ebp
cmp ecx, ebp
jae 0x5361d1
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x536163
mov ecx, dword [edx + 8]
jmp 0x536173
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
nop dword [eax + eax]
test esi, esi
jne 0x5361bf
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5361b2
cmp edx, 0x8f
jbe 0x5361a5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5361b8
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x5361bd
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x536180
jmp 0x536253
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x536257
cmp ebx, ebp
jae 0x5361fa
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x536201
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x536246
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536239
cmp edx, 0x8f
jbe 0x53622c
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x53623f
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x536244
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x536207
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x53644b
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 4]
mov ecx, dword [ecx + 4]
shr edx, 2
and ecx, 0x10000000
and edx, 0x4000000
or edx, ecx
mov ecx, ebp
and ecx, 0x81ffffff
shr edx, 1
or edx, ecx
mov ecx, ebp
and ecx, 0x2000000
shr edx, 4
or edx, ecx
and ebp, 0x15400
shr edx, 0xc
or edx, ebp
shr edx, 9
movzx ecx, byte [edx + 0x601dd8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 0x601cd8]
add ecx, 7
mov edx, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x10], ecx
mov ecx, edi
shr ecx, 0x10
mov ebp, dword [edx]
sub ebx, ebp
cmp ecx, ebp
jae 0x536355
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x5362e5
mov ecx, dword [edx + 8]
jmp 0x5362f5
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
nop dword [eax]
test esi, esi
jne 0x53633f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536332
cmp edx, 0x8f
jbe 0x536325
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536338
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x53633d
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x536300
mov edx, dword [esp + 0x1c]
jmp 0x5363e5
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x5363e2
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x536382
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x536389
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
nop
test esi, esi
jne 0x5363cf
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5363c2
cmp edx, 0x8f
jbe 0x5363b5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5363c8
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x5363cd
mov dword [eax + 0x10], esi
shl edx, 8
mov esi, 8
add edi, edx
add ebx, ebx
add edi, edi
dec esi
cmp ebx, 0x8000
jb 0x536390
mov edx, dword [esp + 0x1c]
jmp 0x5363e5
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
neg ecx
xor edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
cmove ecx, dword [esp + 0x24]
mov dword [eax + ebp], ecx
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
or dword [ecx - 4], 0x4000
mov ecx, edx
shl ecx, 0x1c
or ecx, 0x2000
shl edx, 0x12
or ebp, ecx
or edx, 2
mov ecx, dword [esp + 0x14]
or dword [ecx + 4], 0x1000
mov ecx, dword [eax + 0x7c]
mov eax, dword [esp + 0x14]
or dword [eax + ecx*4 + 8], edx
mov edx, eax
mov eax, dword [esp + 0x3c]
or dword [edx + ecx*4 + 4], 4
or dword [edx + ecx*4 + 0xc], 1
or ebp, 0x40000000
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [ecx], ebp
mov ebp, dword [esp + 0x18]
inc edx
add ebp, 4
mov dword [esp + 0x2c], edx
add ecx, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ecx
cmp edx, dword [esp + 0x20]
jb 0x5357b0
mov edx, dword [eax + 0x80]
add ecx, 8
add dword [esp + 0x28], 4
add ebp, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, edx
and ecx, 0xfffffffc
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x28], ecx
jb 0x535796
mov ebp, dword [esp + 0x10]
mov dword [eax + 0x68], ebp
mov ebp, dword [esp + 0x28]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
cmp ebp, edx
jae 0x53697b
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x53697b
mov esi, dword [esp + 0x14]
mov ebx, ecx
mov dword [esp + 0x2c], ebx
xor edi, edi
mov ecx, edx
mov dword [esp + 0x1c], edi
sub ecx, ebp
je 0x536962
mov ecx, dword [eax + 0x7c]
lea ebp, [edi + edi*2]
mov esi, dword [esi]
add ecx, 2
mov dword [esp + 0x30], ecx
mov edx, 0x200010
mov ecx, ebp
mov dword [esp + 0x40], ebp
shl edx, cl
test esi, edx
jne 0x53693f
mov edx, 0x1ef
shl edx, cl
test esi, edx
je 0x53693f
mov ebx, dword [eax + 4]
shr esi, cl
mov ecx, dword [eax + 0x6c]
and esi, 0x1ef
movzx ecx, byte [esi + ecx]
mov esi, dword [eax]
add ecx, 7
lea edi, [eax + ecx*4]
mov dword [eax + 0x68], edi
mov ecx, dword [edi]
sub ebx, dword [ecx]
mov dword [eax + 4], ebx
mov ecx, dword [edi]
mov edx, dword [ecx]
mov ecx, esi
shr ecx, 0x10
cmp ecx, edx
jae 0x5365e9
mov dword [eax + 4], edx
mov ecx, dword [edi]
cmp ebx, edx
jae 0x53655f
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x53656a
xor edx, edx
cmp dword [ecx + 4], edx
mov ecx, dword [ecx + 0xc]
sete dl
mov dword [edi], ecx
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov edx, esi
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5365c4
mov ecx, dword [eax + 0x10]
movzx edi, byte [ecx + 1]
lea ebp, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5365b5
cmp edi, 0x8f
jbe 0x5365a6
inc dword [eax + 0xc]
mov edi, 0xff00
mov ecx, 8
add edx, edi
jmp 0x5365c4
shl edi, 9
mov ecx, 7
mov dword [eax + 0x10], ebp
add edx, edi
jmp 0x5365c4
mov edx, edi
mov dword [eax + 0x10], ebp
shl edx, 8
mov ecx, 8
add edx, esi
add ebx, ebx
lea esi, [edx + edx]
dec ecx
mov dword [eax + 4], ebx
mov dword [eax], esi
mov edx, esi
mov dword [eax + 8], ecx
cmp ebx, 0x8000
jb 0x536577
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
jmp 0x536697
shl edx, 0x10
sub esi, edx
mov dword [eax], esi
mov ecx, dword [edi]
test ebx, 0x8000
jne 0x536694
mov edx, dword [ecx + 4]
cmp ebx, dword [ecx]
jae 0x536615
mov ecx, dword [ecx + 0xc]
xor ebx, ebx
test edx, edx
sete bl
mov dword [esp + 0x3c], ebx
jmp 0x53661c
mov ecx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov dword [edi], ecx
mov esi, dword [eax]
mov edx, esi
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x536672
mov ecx, dword [eax + 0x10]
movzx edi, byte [ecx + 1]
lea ebp, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536663
cmp edi, 0x8f
jbe 0x536654
inc dword [eax + 0xc]
mov edi, 0xff00
mov ecx, 8
add edx, edi
jmp 0x536672
shl edi, 9
mov ecx, 7
mov dword [eax + 0x10], ebp
add edx, edi
jmp 0x536672
mov edx, edi
mov dword [eax + 0x10], ebp
shl edx, 8
mov ecx, 8
add edx, esi
add ebx, ebx
lea esi, [edx + edx]
dec ecx
mov dword [eax + 4], ebx
mov dword [eax], esi
mov edx, esi
mov dword [eax + 8], ecx
cmp ebx, 0x8000
jb 0x536625
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
jmp 0x536697
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x53692a
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
lea ecx, [edx*2 + 0x11]
mov ebp, dword [edi]
add ecx, edx
mov edi, dword [edi + 4]
shr edi, cl
lea ecx, [edx*2 + 0x13]
add ecx, edx
and edi, 4
mov edx, dword [esp + 0x14]
mov edx, dword [edx - 4]
shr edx, cl
mov ecx, dword [esp + 0x40]
and edx, 1
or edi, edx
mov edx, ebp
shr edx, cl
and edx, 0xaa
or edi, edx
cmp dword [esp + 0x1c], 0
mov edx, ebp
jne 0x5366ef
shr edx, 0xe
jmp 0x5366f8
add ecx, 0xc
shr edx, cl
mov ecx, dword [esp + 0x40]
add ecx, 0x10
and edx, 0x10
shr ebp, cl
and ebp, 0x40
or ebp, edx
or ebp, edi
movzx ecx, byte [ebp + 0x601dd8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [ebp + 0x601cd8]
add ecx, 7
lea edi, [eax + ecx*4]
mov dword [eax + 0x68], edi
mov ecx, dword [edi]
sub ebx, dword [ecx]
mov dword [eax + 4], ebx
mov ecx, dword [edi]
mov edx, dword [ecx]
mov ecx, esi
shr ecx, 0x10
cmp ecx, edx
jae 0x5367d5
mov dword [eax + 4], edx
mov esi, dword [edi]
cmp ebx, edx
jae 0x53674f
mov ecx, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 8]
jmp 0x53675e
xor ecx, ecx
cmp dword [esi + 4], ecx
sete cl
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xc]
mov dword [edi], ecx
mov edi, dword [eax]
mov edx, edi
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5367b4
mov ecx, dword [eax + 0x10]
movzx esi, byte [ecx + 1]
lea ebx, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5367a5
cmp esi, 0x8f
jbe 0x536796
inc dword [eax + 0xc]
mov esi, 0xff00
mov ecx, 8
add edx, esi
jmp 0x5367b4
shl esi, 9
mov ecx, 7
mov dword [eax + 0x10], ebx
add edx, esi
jmp 0x5367b4
mov edx, esi
mov dword [eax + 0x10], ebx
shl edx, 8
mov ecx, 8
add edx, edi
add ebp, ebp
lea edi, [edx + edx]
dec ecx
mov dword [eax + 4], ebp
mov dword [eax], edi
mov edx, edi
mov dword [eax + 8], ecx
cmp ebp, 0x8000
jb 0x536767
mov ebx, dword [esp + 0x3c]
jmp 0x536881
shl edx, 0x10
sub esi, edx
mov dword [eax], esi
mov edx, dword [edi]
test ebx, 0x8000
jne 0x53687e
mov esi, dword [edx + 4]
cmp ebx, dword [edx]
jae 0x536801
xor ecx, ecx
test esi, esi
sete cl
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x53680a
mov ecx, esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 8]
mov dword [edi], ecx
mov edi, dword [eax]
mov edx, edi
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x536860
mov ecx, dword [eax + 0x10]
movzx esi, byte [ecx + 1]
lea ebx, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536851
cmp esi, 0x8f
jbe 0x536842
inc dword [eax + 0xc]
mov esi, 0xff00
mov ecx, 8
add edx, esi
jmp 0x536860
shl esi, 9
mov ecx, 7
mov dword [eax + 0x10], ebx
add edx, esi
jmp 0x536860
mov edx, esi
mov dword [eax + 0x10], ebx
shl edx, 8
mov ecx, 8
add edx, edi
add ebp, ebp
lea edi, [edx + edx]
dec ecx
mov dword [eax + 4], ebp
mov dword [eax], edi
mov edx, edi
mov dword [eax + 8], ecx
cmp ebp, 0x8000
jb 0x536813
mov ebx, dword [esp + 0x3c]
jmp 0x536881
mov ebx, dword [edx + 4]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
neg edx
xor ebx, dword [esp + 0x34]
mov ecx, edi
mov esi, dword [esp + 0x18]
cmove edx, dword [esp + 0x24]
imul ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
mov dword [esi + ecx*4], edx
mov ecx, ebp
mov esi, dword [esp + 0x14]
mov edx, 0x20
shl edx, cl
or dword [esi - 4], edx
mov edx, ebx
shl edx, 0x13
or edx, 0x10
shl edx, cl
or dword [esi], edx
mov edx, 8
shl edx, cl
or dword [esi + 4], edx
test edi, edi
jne 0x536901
mov ecx, dword [esp + 0x30]
mov edx, esi
shl ecx, 2
sub edx, ecx
shl ebx, 0x1f
or ebx, 0x10000
mov ecx, ebp
or dword [edx], ebx
or dword [edx - 4], 0x20000
or dword [edx + 4], 0x8000
mov edx, 0x200000
shl edx, cl
or dword [esi], edx
jmp 0x536943
cmp edi, 3
jne 0x536932
mov ecx, dword [esp + 0x30]
mov edx, 0x200000
shl ebx, 0x12
or ebx, 2
or dword [esi + ecx*4], ebx
or dword [esi + ecx*4 - 4], 4
or dword [esi + ecx*4 + 4], 1
mov ecx, ebp
shl edx, cl
or dword [esi], edx
jmp 0x536943
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, 0x200000
mov ecx, ebp
shl edx, cl
or dword [esi], edx
jmp 0x536943
mov esi, dword [esp + 0x14]
mov edx, dword [eax + 0x80]
inc edi
mov ebp, dword [esp + 0x28]
mov ecx, edx
sub ecx, ebp
mov dword [esp + 0x1c], edi
cmp edi, ecx
jb 0x5364e6
mov ebx, dword [esp + 0x2c]
add dword [esp + 0x18], 4
add esi, 4
sub ebx, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], ebx
jne 0x5364d6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret