Function at 0x536990
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 + 0x18], 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 0x5376fe
mov ecx, dword [esp + 0x1c]
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 + 0x1c], edx
jbe 0x5376d1
nop word [eax + eax]
mov ebp, dword [ecx]
mov dword [esp + 0x40], ebp
test ebp, ebp
je 0x5376b0
test ebp, 0x200010
jne 0x536d1d
mov edx, ebp
and edx, 0x1ef
je 0x536d1d
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 0x536ae2
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp ebx, ebp
jae 0x536a79
mov ecx, dword [edx + 8]
jmp 0x536a89
xor ecx, ecx
cmp dword [esp + 0x20], ecx
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x536ad0
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536ac3
cmp edx, 0x8f
jbe 0x536ab6
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536ac9
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x536ace
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 0x536a91
jmp 0x536b64
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x536b68
cmp ebx, ebp
jae 0x536b0b
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
jmp 0x536b12
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x536b57
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536b4a
cmp edx, 0x8f
jbe 0x536b3d
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536b50
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x536b55
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 0x536b18
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x536d13
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 0x536c5c
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp ebx, ebp
jae 0x536bef
mov ecx, dword [edx + 8]
jmp 0x536bff
xor ecx, ecx
cmp dword [esp + 0x20], ecx
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x536c46
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536c39
cmp edx, 0x8f
jbe 0x536c2c
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536c3f
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x536c44
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 0x536c07
mov edx, dword [esp + 0x20]
jmp 0x536ce5
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x536ce2
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x536c83
xor ecx, ecx
cmp dword [edx + 4], ecx
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
jmp 0x536c8a
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x536ccf
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536cc2
cmp edx, 0x8f
jbe 0x536cb5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536cc8
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x536ccd
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 0x536c90
mov edx, dword [esp + 0x20]
jmp 0x536ce5
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
neg ecx
xor edx, dword [esp + 0x34]
cmove ecx, dword [esp + 0x24]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
shl edx, 0x13
or edx, 0x10
or dword [ecx - 4], 0x20
or ebp, edx
or dword [ecx + 4], 8
or ebp, 0x200000
mov dword [esp + 0x40], ebp
test ebp, 0x1000080
jne 0x53703c
test ebp, 0xf78
je 0x53703c
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 0x536de1
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp ebx, ebp
jae 0x536d75
mov ecx, dword [edx + 8]
jmp 0x536d85
xor ecx, ecx
cmp dword [esp + 0x20], ecx
sete cl
mov dword [esp + 0x20], 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 0x536dcf
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536dc2
cmp edx, 0x8f
jbe 0x536db5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536dc8
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x536dcd
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 0x536d90
jmp 0x536e63
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x536e67
cmp ebx, ebp
jae 0x536e0a
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
jmp 0x536e11
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x536e56
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536e49
cmp edx, 0x8f
jbe 0x536e3c
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536e4f
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x536e54
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 0x536e17
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x537032
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 0x536f65
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp ebx, ebp
jae 0x536ef5
mov ecx, dword [edx + 8]
jmp 0x536f05
xor ecx, ecx
cmp dword [esp + 0x20], ecx
sete cl
mov dword [esp + 0x20], 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 0x536f4f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536f42
cmp edx, 0x8f
jbe 0x536f35
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536f48
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x536f4d
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 0x536f10
mov edx, dword [esp + 0x20]
jmp 0x536ff5
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x536ff2
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x536f90
xor ecx, ecx
cmp dword [edx + 4], ecx
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
jmp 0x536f97
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
nop dword [eax]
test esi, esi
jne 0x536fdf
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x536fd2
cmp edx, 0x8f
jbe 0x536fc5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x536fd8
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x536fdd
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 0x536fa0
mov edx, dword [esp + 0x20]
jmp 0x536ff5
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 + 0x1c]
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 0x537362
test ebp, 0x7bc0
je 0x537362
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 0x537101
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp ebx, ebp
jae 0x537094
mov ecx, dword [edx + 8]
jmp 0x5370a4
xor ecx, ecx
cmp dword [esp + 0x20], ecx
sete cl
mov dword [esp + 0x20], 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 0x5370ef
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5370e2
cmp edx, 0x8f
jbe 0x5370d5
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5370e8
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x5370ed
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 0x5370b0
jmp 0x53718c
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x537190
cmp ebx, ebp
jae 0x53712e
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
jmp 0x537135
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
nop dword [eax + eax]
test esi, esi
jne 0x53717f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x537172
cmp edx, 0x8f
jbe 0x537165
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x537178
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x53717d
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 0x537140
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x537358
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 0x53728b
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp ebx, ebp
jae 0x53721e
mov ecx, dword [edx + 8]
jmp 0x53722e
xor ecx, ecx
cmp dword [esp + 0x20], ecx
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x537275
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x537268
cmp edx, 0x8f
jbe 0x53725b
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x53726e
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x537273
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 0x537236
mov edx, dword [esp + 0x20]
jmp 0x537318
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x537315
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x5372b6
xor ecx, ecx
cmp dword [edx + 4], ecx
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
jmp 0x5372bd
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x537302
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5372f5
cmp edx, 0x8f
jbe 0x5372e8
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x5372fb
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x537300
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 0x5372c3
mov edx, dword [esp + 0x20]
jmp 0x537318
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 + 0x1c]
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 0x5376a6
test ebp, 0x3de00
je 0x5376a6
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 0x537423
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp ebx, ebp
jae 0x5373ba
mov ecx, dword [edx + 8]
jmp 0x5373ca
xor ecx, ecx
cmp dword [esp + 0x20], ecx
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x537411
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x537404
cmp edx, 0x8f
jbe 0x5373f7
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x53740a
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x53740f
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 0x5373d2
jmp 0x5374ac
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
mov ecx, dword [edx + 4]
test ebx, 0x8000
jne 0x5374b0
cmp ebx, ebp
jae 0x537450
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
jmp 0x537457
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
nop dword [eax]
test esi, esi
jne 0x53749f
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x537492
cmp edx, 0x8f
jbe 0x537485
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x537498
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x53749d
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 0x537460
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x40]
test ecx, ecx
je 0x5376a0
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 0x5375ab
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
cmp ebx, ebp
jae 0x53753e
mov ecx, dword [edx + 8]
jmp 0x53754e
xor ecx, ecx
cmp dword [esp + 0x20], ecx
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ebp
mov dword [edx], ecx
test esi, esi
jne 0x537595
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x537588
cmp edx, 0x8f
jbe 0x53757b
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x53758e
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x537593
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 0x537556
mov edx, dword [esp + 0x20]
jmp 0x53763a
mov ecx, ebp
shl ecx, 0x10
sub edi, ecx
test ebx, 0x8000
jne 0x537637
mov ecx, dword [edx + 4]
cmp ebx, ebp
jae 0x5375d8
test ecx, ecx
mov ecx, 0
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 0xc]
jmp 0x5375df
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
test esi, esi
jne 0x537624
mov ecx, dword [eax + 0x10]
movzx edx, byte [ecx + 1]
lea esi, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x537617
cmp edx, 0x8f
jbe 0x53760a
inc dword [eax + 0xc]
mov edx, 0xff00
jmp 0x53761d
mov dword [eax + 0x10], esi
mov esi, 7
shl edx, 9
jmp 0x537622
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 0x5375e5
mov edx, dword [esp + 0x20]
jmp 0x53763a
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 + 0x1c]
jb 0x536a20
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 0x536a06
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 0x537b9b
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x537b9b
mov esi, dword [esp + 0x14]
mov ebx, ecx
mov dword [esp + 0x30], ebx
nop dword [eax + eax]
xor edi, edi
mov ecx, edx
mov dword [esp + 0x20], edi
sub ecx, ebp
je 0x537b82
mov ecx, dword [eax + 0x7c]
lea ebp, [edi + edi*2]
mov esi, dword [esi]
add ecx, 2
mov dword [esp + 0x2c], ecx
mov edx, 0x200010
mov ecx, ebp
mov dword [esp + 0x40], ebp
shl edx, cl
test esi, edx
jne 0x537b5f
mov edx, 0x1ef
shl edx, cl
test esi, edx
je 0x537b5f
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 0x537843
mov dword [eax + 4], edx
mov ecx, dword [edi]
cmp ebx, edx
jae 0x5377b9
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x5377c4
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 0x53781e
mov ecx, dword [eax + 0x10]
movzx edi, byte [ecx + 1]
lea ebp, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x53780f
cmp edi, 0x8f
jbe 0x537800
inc dword [eax + 0xc]
mov edi, 0xff00
mov ecx, 8
add edx, edi
jmp 0x53781e
shl edi, 9
mov ecx, 7
mov dword [eax + 0x10], ebp
add edx, edi
jmp 0x53781e
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 0x5377d1
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
jmp 0x5378f2
shl edx, 0x10
sub esi, edx
mov dword [eax], esi
mov ecx, dword [edi]
test ebx, 0x8000
jne 0x5378ef
mov edx, dword [ecx + 4]
cmp ebx, dword [ecx]
jae 0x53786f
mov ecx, dword [ecx + 0xc]
xor ebx, ebx
test edx, edx
sete bl
mov dword [esp + 0x3c], ebx
jmp 0x537876
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]
nop
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5378cd
mov ecx, dword [eax + 0x10]
movzx edi, byte [ecx + 1]
lea ebp, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5378be
cmp edi, 0x8f
jbe 0x5378af
inc dword [eax + 0xc]
mov edi, 0xff00
mov ecx, 8
add edx, edi
jmp 0x5378cd
shl edi, 9
mov ecx, 7
mov dword [eax + 0x10], ebp
add edx, edi
jmp 0x5378cd
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 0x537880
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
jmp 0x5378f2
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x537b4a
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
lea ecx, [edx*2 + 0x13]
mov ebp, dword [edi]
add ecx, edx
mov edi, dword [edi - 4]
shr edi, cl
lea ecx, [edx*2 + 0x11]
add ecx, edx
and edi, 1
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 4]
shr edx, cl
mov ecx, dword [esp + 0x40]
and edx, 4
or edi, edx
mov edx, ebp
shr edx, cl
and edx, 0xaa
or edi, edx
cmp dword [esp + 0x20], 0
mov edx, ebp
jne 0x53794a
shr edx, 0xe
jmp 0x537953
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 0x537a2e
mov dword [eax + 4], edx
mov ecx, dword [edi]
cmp ebx, edx
jae 0x5379a6
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x5379b1
xor edx, edx
cmp dword [ecx + 4], edx
mov ecx, dword [ecx + 0xc]
sete dl
mov dword [edi], ecx
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov edx, edi
nop
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x537a0d
mov ecx, dword [eax + 0x10]
movzx esi, byte [ecx + 1]
lea ebx, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x5379fe
cmp esi, 0x8f
jbe 0x5379ef
inc dword [eax + 0xc]
mov esi, 0xff00
mov ecx, 8
add edx, esi
jmp 0x537a0d
shl esi, 9
mov ecx, 7
mov dword [eax + 0x10], ebx
add edx, esi
jmp 0x537a0d
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 0x5379c0
mov ebx, dword [esp + 0x3c]
jmp 0x537ad6
shl edx, 0x10
sub esi, edx
mov dword [eax], esi
mov ecx, dword [edi]
test ebx, 0x8000
jne 0x537ad3
mov esi, dword [ecx + 4]
cmp ebx, dword [ecx]
jae 0x537a56
mov ecx, dword [ecx + 0xc]
xor edx, edx
test esi, esi
sete dl
jmp 0x537a5b
mov ecx, dword [ecx + 8]
mov edx, esi
mov dword [edi], ecx
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov edx, edi
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x537ab5
mov ecx, dword [eax + 0x10]
movzx esi, byte [ecx + 1]
lea ebx, [ecx + 1]
cmp byte [ecx], 0xff
jne 0x537aa6
cmp esi, 0x8f
jbe 0x537a97
inc dword [eax + 0xc]
mov esi, 0xff00
mov ecx, 8
add edx, esi
jmp 0x537ab5
shl esi, 9
mov ecx, 7
mov dword [eax + 0x10], ebx
add edx, esi
jmp 0x537ab5
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 0x537a68
mov ebx, dword [esp + 0x3c]
jmp 0x537ad6
mov ebx, dword [ecx + 4]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
neg edx
xor ebx, dword [esp + 0x34]
mov ecx, edi
mov esi, dword [esp + 0x18]
cmove edx, dword [esp + 0x24]
imul ecx, dword [esp + 0x1c]
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
cmp edi, 3
jne 0x537b52
mov ecx, dword [esp + 0x2c]
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 0x537b63
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov edx, 0x200000
mov ecx, ebp
shl edx, cl
or dword [esi], edx
jmp 0x537b63
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 + 0x20], edi
cmp edi, ecx
jb 0x537740
mov ebx, dword [esp + 0x30]
add dword [esp + 0x18], 4
add esi, 4
sub ebx, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], ebx
jne 0x537730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret