Function at 0x535480
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 0x536209
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 0x5361dc
nop word [eax + eax]
mov ebp, dword [ecx]
mov dword [esp + 0x40], ebp
test ebp, ebp
je 0x5361bb
test ebp, 0x200010
jne 0x535844
mov edx, ebp
and edx, 0x1ef
je 0x535844
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 0x5355d2
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535569
mov ecx, dword [edx + 8]
jmp 0x535579
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 0x5355c0
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5355b3
cmp edx, 0x8f
jbe 0x5355a6
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5355b9
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x5355be
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 0x535581
jmp 0x535654
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x535658
cmp ebx, ebp
jae 0x5355fb
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535602
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x535647
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x53563a
cmp edx, 0x8f
jbe 0x53562d
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535640
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535645
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 0x535608
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x53583a
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 + 0x601de8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 0x601ce8]
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 0x53574c
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x5356df
mov ecx, dword [edx + 8]
jmp 0x5356ef
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 0x535736
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535729
cmp edx, 0x8f
jbe 0x53571c
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x53572f
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535734
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 0x5356f7
mov edx, dword [esp + 0x1c]
jmp 0x5357d7
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x5357d4
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x535775
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x53577c
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x5357c1
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5357b4
cmp edx, 0x8f
jbe 0x5357a7
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5357ba
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x5357bf
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 0x535782
mov edx, dword [esp + 0x1c]
jmp 0x5357d7
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 0x535b5c
test ebp, 0xf78
je 0x535b5c
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 0x535901
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535898
mov ecx, dword [edx + 8]
jmp 0x5358a8
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 0x5358ef
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5358e2
cmp edx, 0x8f
jbe 0x5358d5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5358e8
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x5358ed
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 0x5358b0
jmp 0x535983
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x535987
cmp ebx, ebp
jae 0x53592a
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535931
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x535976
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535969
cmp edx, 0x8f
jbe 0x53595c
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x53596f
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535974
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 0x535937
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x535b52
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 + 0x601de8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 0x601ce8]
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 0x535a85
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535a15
mov ecx, dword [edx + 8]
jmp 0x535a25
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 0x535a6f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535a62
cmp edx, 0x8f
jbe 0x535a55
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535a68
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535a6d
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 0x535a30
mov edx, dword [esp + 0x1c]
jmp 0x535b15
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x535b12
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x535aac
xor ecx, ecx
cmp dword [edx + 4], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535ab3
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 0x535aff
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535af2
cmp edx, 0x8f
jbe 0x535ae5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535af8
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535afd
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 0x535ac0
mov edx, dword [esp + 0x1c]
jmp 0x535b15
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 0x535e6f
test ebp, 0x7bc0
je 0x535e6f
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 0x535c19
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535bb0
mov ecx, dword [edx + 8]
jmp 0x535bc0
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 0x535c07
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535bfa
cmp edx, 0x8f
jbe 0x535bed
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535c00
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535c05
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 0x535bc8
jmp 0x535c9c
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x535ca0
cmp ebx, ebp
jae 0x535c42
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535c49
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
nop
test esi, esi
jne 0x535c8f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535c82
cmp edx, 0x8f
jbe 0x535c75
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535c88
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535c8d
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 0x535c50
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x535e65
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 + 0x601de8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 0x601ce8]
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 0x535d97
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535d2a
mov ecx, dword [edx + 8]
jmp 0x535d3a
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 0x535d81
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535d74
cmp edx, 0x8f
jbe 0x535d67
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535d7a
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535d7f
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 0x535d42
mov edx, dword [esp + 0x1c]
jmp 0x535e25
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x535e22
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x535dbe
xor ecx, ecx
cmp dword [edx + 4], ecx
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535dc5
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 0x535e0f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535e02
cmp edx, 0x8f
jbe 0x535df5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535e08
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535e0d
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 0x535dd0
mov edx, dword [esp + 0x1c]
jmp 0x535e25
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 0x5361b1
test ebp, 0x3de00
je 0x5361b1
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 0x535f31
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x535ec3
mov ecx, dword [edx + 8]
jmp 0x535ed3
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 0x535f1f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535f12
cmp edx, 0x8f
jbe 0x535f05
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535f18
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535f1d
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 0x535ee0
jmp 0x535fb3
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x535fb7
cmp ebx, ebp
jae 0x535f5a
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x535f61
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x535fa6
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x535f99
cmp edx, 0x8f
jbe 0x535f8c
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x535f9f
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x535fa4
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 0x535f67
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x5361ab
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 + 0x601de8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 0x601ce8]
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 0x5360b5
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp ebx, ebp
jae 0x536045
mov ecx, dword [edx + 8]
jmp 0x536055
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 0x53609f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536092
cmp edx, 0x8f
jbe 0x536085
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536098
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x53609d
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 0x536060
mov edx, dword [esp + 0x1c]
jmp 0x536145
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x536142
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x5360e2
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x5360e9
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
nop
test esi, esi
jne 0x53612f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536122
cmp edx, 0x8f
jbe 0x536115
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536128
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x53612d
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 0x5360f0
mov edx, dword [esp + 0x1c]
jmp 0x536145
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 0x535510
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 0x5354f6
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 0x5366db
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x5366db
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 0x5366c2
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 0x53669f
mov edx, 0x1ef
shl edx, cl
test esi, edx
je 0x53669f
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 0x536349
mov dword [eax + 4], edx
mov ecx, dword [edi]
cmp ebx, edx
jae 0x5362bf
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x5362ca
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 0x536324
mov ecx, dword [eax + 0x10]
movzx edi, byte [ecx + 1]
lea ebp, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536315
cmp edi, 0x8f
jbe 0x536306
inc dword [eax + 0xc]
mov edi, 0xff00
mov ecx, 8
add edx, edi
jmp 0x536324
shl edi, 9
mov ecx, 7
mov dword [eax + 0x10], ebp
add edx, edi
jmp 0x536324
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 0x5362d7
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
jmp 0x5363f7
shl edx, 0x10
sub esi, edx
mov dword [eax], esi
mov ecx, dword [edi]
test ebx, 0x8000
jne 0x5363f4
mov edx, dword [ecx + 4]
cmp ebx, dword [ecx]
jae 0x536375
mov ecx, dword [ecx + 0xc]
xor ebx, ebx
test edx, edx
sete bl
mov dword [esp + 0x3c], ebx
jmp 0x53637c
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 0x5363d2
mov ecx, dword [eax + 0x10]
movzx edi, byte [ecx + 1]
lea ebp, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5363c3
cmp edi, 0x8f
jbe 0x5363b4
inc dword [eax + 0xc]
mov edi, 0xff00
mov ecx, 8
add edx, edi
jmp 0x5363d2
shl edi, 9
mov ecx, 7
mov dword [eax + 0x10], ebp
add edx, edi
jmp 0x5363d2
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 0x536385
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
jmp 0x5363f7
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x53668a
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 0x53644f
shr edx, 0xe
jmp 0x536458
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 + 0x601de8]
mov dword [esp + 0x34], ecx
movzx ecx, byte [ebp + 0x601ce8]
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 0x536535
mov dword [eax + 4], edx
mov esi, dword [edi]
cmp ebx, edx
jae 0x5364af
mov ecx, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 8]
jmp 0x5364be
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 0x536514
mov ecx, dword [eax + 0x10]
movzx esi, byte [ecx + 1]
lea ebx, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536505
cmp esi, 0x8f
jbe 0x5364f6
inc dword [eax + 0xc]
mov esi, 0xff00
mov ecx, 8
add edx, esi
jmp 0x536514
shl esi, 9
mov ecx, 7
mov dword [eax + 0x10], ebx
add edx, esi
jmp 0x536514
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 0x5364c7
mov ebx, dword [esp + 0x3c]
jmp 0x5365e1
shl edx, 0x10
sub esi, edx
mov dword [eax], esi
mov edx, dword [edi]
test ebx, 0x8000
jne 0x5365de
mov esi, dword [edx + 4]
cmp ebx, dword [edx]
jae 0x536561
xor ecx, ecx
test esi, esi
sete cl
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 0xc]
jmp 0x53656a
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 0x5365c0
mov ecx, dword [eax + 0x10]
movzx esi, byte [ecx + 1]
lea ebx, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5365b1
cmp esi, 0x8f
jbe 0x5365a2
inc dword [eax + 0xc]
mov esi, 0xff00
mov ecx, 8
add edx, esi
jmp 0x5365c0
shl esi, 9
mov ecx, 7
mov dword [eax + 0x10], ebx
add edx, esi
jmp 0x5365c0
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 0x536573
mov ebx, dword [esp + 0x3c]
jmp 0x5365e1
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 0x536661
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 0x5366a3
cmp edi, 3
jne 0x536692
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 0x5366a3
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, 0x200000
mov ecx, ebp
shl edx, cl
or dword [esi], edx
jmp 0x5366a3
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 0x536246
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 0x536236
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret